AutoMerge is generally available

Last updated:

Import Dashboards

Import Grafana and Perses dashboards into Dash0 using the built-in conversion utility.

Dash0 provides the capability to import existing dashboards into Dash0 using the built-in conversion utility.

This feature, available through the Edit as JSON functionality, automatically converts dashboard JSON or YAML into Perses' Custom Resource Definition (CRD) format.

Identify Supported Import Formats

Dash0 supports importing dashboards from these sources:

SourceFormatNotes
Dash0 (Perses)Perses JSONNative format. Used when exporting and re-importing Dash0 dashboards or migrating between environments.
GrafanaGrafana JSONConverts Grafana dashboard definitions to Perses format. Originally supported via a CLI tool; now handled by custom conversion code.
Perses (external)Perses JSONDashboards created in external Perses-compatible tools can be imported directly.

Import a Grafana Dashboard

To import a Grafana dashboard into Dash0:

  1. Navigate to Dashboards in Dash0.

  2. Click Create, then New dashboard.

    Dashboard Create menu showing New dashboard and New folder

  3. In the dashboard toolbar, click Edit as JSON.

  4. In the JSON editor dialog, click browse to select a Grafana dashboard file from your computer, or drag and drop the file.

  5. Review the converted dashboard in the editor.

  6. Click Apply to update the unsaved dashboard preview. Save the dashboard when you are ready to persist it.

Understand the Conversion Process

When you import a Grafana dashboard, Dash0 performs the following conversions:

  • Dashboard metadata (name, description, etc.) is mapped to the corresponding fields in the Perses CRD
  • Grafana panels are converted to equivalent Perses panel types where possible
  • Grafana variables are translated to Perses variables with similar functionality
  • Layout information is converted to maintain a similar visual appearance (including rows that are translated to panel groups)

Supported Panel Types

The following Grafana panel types are supported for conversion:

  • Time series
  • Stat
  • Gauge
  • Pie
  • Table
  • Text/Markdown

Limitations

When importing Grafana dashboards, be aware of these limitations:

  • Panel Types: Not all Grafana panel types are supported. Specialized panels like heatmaps, and custom panels may not convert properly. In those cases, the migrator will show a placeholder in the dashboard.
  • Panel Options: Some panel visualization options and advanced settings in Grafana may not have direct equivalents in Dash0 and might be omitted during conversion.
  • Query Types: Only Prometheus queries can be translated from Grafana dashboards. Other data sources like Elasticsearch, InfluxDB, or custom data sources are not supported.
  • Variable Types: Only variables that have equivalents in the Perses specification are supported. Some advanced Grafana variable types and configurations may not convert correctly. Unsupported variables are translated into text variables.
  • Row Repetitions: Grafana's row repetition feature is not supported in the conversion process.

Further Reading