Quellcode durchsuchen

Merge branch 'master' of github.com:grafana/grafana

Torkel Ödegaard vor 8 Jahren
Ursprung
Commit
3ff2dc2850
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      docs/sources/features/datasources/prometheus.md

+ 4 - 0
docs/sources/features/datasources/prometheus.md

@@ -95,3 +95,7 @@ Prometheus supports two ways to query annotations.
 - A Prometheus query for pending and firing alerts (for details see [Inspecting alerts during runtime](https://prometheus.io/docs/alerting/rules/#inspecting-alerts-during-runtime))
 
 The step option is useful to limit the number of events returned from your query.
+
+## Getting Grafana metrics into Prometheus
+
+Since 4.6.0 Grafana exposes metrics for Prometheus on the `/metrics` endpoint. We also bundle a dashboard within Grafana so you can get started viewing your metrics faster. You can import the bundled dashboard by going to the data source edit page and click the dashboard tab. There you can find a dashboard for Grafana and one for Prometheus. Import and start viewing all the metrics!