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

Co-authored-by: danielkenlee <115471695+danielkenlee@users.noreply.github.com>
This commit is contained in:
Matheus Macabu
2025-05-05 15:25:06 +02:00
committed by GitHub
parent 0d50efe198
commit 7900a53e05

View File

@ -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.
@ -147,12 +147,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.