[release-11.2.10] Docs: Fix extra whitespace in Prometheus configs on Grafana Monitoring setup (#104940)

Docs: Fix extra whitespace in Prometheus configs on Grafana Monitoring setup (#104916)

Co-authored-by: danielkenlee <115471695+danielkenlee@users.noreply.github.com>
(cherry picked from commit 7900a53e05)
This commit is contained in:
Matheus Macabu
2025-05-05 16:19:52 +02:00
committed by GitHub
parent 28a8245bb4
commit 8297260bbf
@@ -73,11 +73,11 @@ These instructions assume you have already added Prometheus as a data source in
```
- job_name: 'grafana_metrics'
scrape_interval: 15s
scrape_timeout: 5s
scrape_interval: 15s
scrape_timeout: 5s
static_configs:
- targets: ['localhost:3000']
static_configs:
- targets: ['localhost:3000']
```
1. Restart Prometheus. Your new job should appear on the Targets tab.
@@ -145,12 +145,12 @@ These instructions assume you have already added Prometheus as a data source in
```
- job_name: 'grafana_github_datasource'
scrape_interval: 15s
scrape_timeout: 5s
metrics_path: /metrics/plugins/grafana-test-datasource
scrape_interval: 15s
scrape_timeout: 5s
metrics_path: /metrics/plugins/grafana-test-datasource
static_configs:
- targets: ['localhost:3000']
static_configs:
- targets: ['localhost:3000']
```
1. Restart Prometheus. Your new job should appear on the Targets tab.