From 0e7e0b5f29cf7a99a6c6e3f05649ac53e23402b1 Mon Sep 17 00:00:00 2001 From: cristian-caloghera <33933948+cristian-caloghera@users.noreply.github.com> Date: Fri, 9 May 2025 18:48:35 +0200 Subject: [PATCH] Prometheus: Add example field for setting the scrape interval in provisioning docs (#105186) provision Prometheus: added example field how to set the scrape interval When using Prometheus as a datasource Grafana can optionally know the scrape interval of Prometheus. In the GUI it is easy to spot, however when provisioning the datasource the example was lacking this information. This commit adds this missing field as an example. --- docs/sources/datasources/prometheus/configure/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sources/datasources/prometheus/configure/_index.md b/docs/sources/datasources/prometheus/configure/_index.md index 1426107b934..a1b3b641061 100644 --- a/docs/sources/datasources/prometheus/configure/_index.md +++ b/docs/sources/datasources/prometheus/configure/_index.md @@ -258,6 +258,7 @@ After you have provisioned a data source you cannot edit it. prometheusVersion: 3.3.0 cacheLevel: 'High' disableRecordingRules: false + timeInterval: 10s # Prometheus scrape interval incrementalQueryOverlapWindow: 10m exemplarTraceIdDestinations: # Field with internal link pointing to data source in Grafana.