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