The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/panels/working-with-panels/add-panel.md

2.7 KiB

aliases title weight
[/docs/grafana/latest/panels/working-with-panels/add-panel/ /docs/sources/panels/working-with-panels/add-panel/] Add a panel to a dashboard 20

Add a panel to a dashboard

Panels allow you to show your data in visual form. Each panel needs at least one query to display a visualization.

Before you begin

  • Ensure that you have the proper permissions. For more information about permissions, refer to [About users and permissions]({{< relref "../../administration/manage-users-and-permissions/about-users-and-permissions/" >}}).
  • Identify the dashboard to which you want to add the panel.
  • Understand the query language of the target data source.
  • Ensure that data source for which you are writing a query has been added. For more information about adding a data source, refer to [Add a data source]({{< relref "../../datasources/add-a-data-source/" >}}) if you need instructions.

To add a panel to a dashboard:

  1. Navigate to the dashboard to which you want to add a panel.

  2. Click the Add panel icon.

  3. Click Add an empty panel.

    Grafana creates an empty time-series panel and selects the default data source.

  4. In the first line of the Query tab, click the drop-down list and select a data source.

  5. Write or construct a query in the query language of your data source.

    For more information about data sources, refer to [Data sources]({{< relref "../../datasources/" >}}) for specific guidelines.

  6. In the Visualization list, select a visualization type.

    Grafana displays a preview of your query results with the visualization applied.

    For more information about individual visualizations, refer to [Visualizations options]({{< relref "../../visualizations/" >}}).

  7. Refer to the following documentation for ways you adjust panel settings.

    While not required, most visualizations need some adjustment before they properly display the information that you need.

    • [Format data using value mapping]({{< relref "../format-data/about-value-mapping/" >}})
    • [Visualization-specific options]({{< relref "../../visualizations/" >}})
    • [Override field values]({{< relref "../override-field-values/about-field-overrides/" >}})
    • [Configure thresholds]({{< relref "../configure-thresholds/" >}})
    • [Apply color to series and fields]({{< relref "apply-color-to-series/" >}})
  8. Add a note to describe the visualization (or describe your changes) and then click Save in the upper-right corner of the page.

    Notes can be helpful if you need to revert the dashboard to a previous version.