Fix an indentation issue in example config in doc (#57814)

Fix this issue:
"Error loading config (--config.file=/etc/prometheus/prometheus.yml)" file=/etc/prometheus/prometheus.yml err="parsing YAML file /etc/prometheus/prometheus.yml: yaml: line 8: did not find expected '-' indicator"
This commit is contained in:
Alexander Komarov 2022-11-03 12:44:14 +03:00 committed by GitHub
parent ba15d675e7
commit 76532c1f27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,8 +43,8 @@ Prometheus node_exporter is a widely used tool that exposes system metrics. Inst
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['<hostname>:9100']
static_configs:
- targets: ['<hostname>:9100']
```
1. Start the Prometheus service: