Create Your First Dashboard
This guide walks you through creating a custom dashboard in OpenSearch Dashboards to visualize your observability data.
Prerequisites
Section titled “Prerequisites”- The Observability Stack is running
- You have trace or metric data flowing (see Ingest Your First Traces)
Step 1: Open Dashboards
Section titled “Step 1: Open Dashboards”Navigate to http://localhost:5601 and go to Dashboards > Create new.
Step 2: Add a visualization
Section titled “Step 2: Add a visualization”- Select Add > Create new visualization.
- Choose a visualization type (line chart, bar chart, data table, etc.).
- Select your data source:
- For trace data: use the
otel-v1-apm-span-*index pattern - For metrics: use a Prometheus data source with PromQL
- For trace data: use the
- Configure your query and axes.
- Select Save and return.
Step 3: Add more panels
Section titled “Step 3: Add more panels”Common panels for an observability dashboard:
- Request rate: Count of spans over time
- Error rate: Spans where
status.code = 2over time - P99 latency: 99th percentile of
durationInNanos - Service map: Embedded service map visualization
Step 4: Save the dashboard
Section titled “Step 4: Save the dashboard”Select Save, give your dashboard a name, and optionally add it to an Observability workspace.
Next steps
Section titled “Next steps”- Dashboards — advanced dashboard features
- Discover Metrics — PromQL-based metric exploration