Add the Prometheus data source

In this milestone, you add the Prometheus data source and give it a name.

Grafana provides built-in support for a Prometheus data source.

To add the Prometheus data source, complete the following steps:

  1. In the Grafana side menu, expand Connections and click Data sources.
  2. Click Add new data source.
  3. Select Prometheus from the list of data sources.
  4. In the Name field, enter a descriptive name for your data source.

    For example: My Prometheus Server

💡 Did you know? The name of the data source is displayed on dashboard panels, so it’s important to choose a meaningful name.

You may see a validation message about the URL field — don’t worry! In the next milestone, you’ll enter the Prometheus server URL.

More to explore (optional)

At this point in your journey, you can explore the following paths:

Adding data sources to Grafana (video)

Data source plugins for Grafana


page 5 of 10