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

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)
pull/104904/head
Matheus Macabu 2 months ago committed by GitHub
parent 74099d4ba9
commit e30143305f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 18
      docs/sources/setup-grafana/set-up-grafana-monitoring.md

@ -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.

Loading…
Cancel
Save