3.11 Adding data sources to Grafana - MartinWong06/grafana GitHub Wiki

Add Prometheus data source

Version 10

  1. Click on Toggle Menu Button -> Home -> Connection -> Data Sources

  2. In the data sources list, select prometheus image

  3. In the settings tab, set your Prometheus data source name (show in panel)
    Provide Promtheus URL For the lab, enter http://prometheus:9090

  4. Scroll down to the end of the page, click on "Save & Test" button. Grafana will test the data sources connection base on your configuration. image

  5. In the dashboard tab, Grafana will provide dashboard recommendation for that data sources.

Version 9

  1. Go to Configuration -> Select Data sources then click "Add new data source" button

  2. In the data sources list, select prometheus

  3. In the settings tab, set your Prometheus data source name (show in panel)
    Provide Promtheus URL For the lab, enter http://prometheus:9090

  4. Scroll down to the end of the page, click on "Save & Test" button. Grafana will test the data sources connection base on your configuration.

  5. In the dashboard tab, Grafana will provide dashboard recommendation for that data sources.

Add Graphite data source

  1. Repeat step 1, in step 2 select "Graphite" data source

  2. In the settings tab, set your Graphite data source name (show in panel)
    Provide Graphite URL For the lab, enter http://graphite

  3. Scroll down to the end of the page, click on "Save & Test" button. Grafana will test the data sources connection base on your configuration.

  4. In the dashboard tab, Grafana will provide dashboard recommendation for that data sources.

⚠️ **GitHub.com Fallback** ⚠️