From 76532c1f27a12128a65dbe1e17e0087e2d234f3e Mon Sep 17 00:00:00 2001 From: Alexander Komarov Date: Thu, 3 Nov 2022 12:44:14 +0300 Subject: [PATCH] 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" --- .../sources/getting-started/get-started-grafana-prometheus.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/getting-started/get-started-grafana-prometheus.md b/docs/sources/getting-started/get-started-grafana-prometheus.md index 15b7849f947..637cf6eee18 100644 --- a/docs/sources/getting-started/get-started-grafana-prometheus.md +++ b/docs/sources/getting-started/get-started-grafana-prometheus.md @@ -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: [':9100'] + static_configs: + - targets: [':9100'] ``` 1. Start the Prometheus service: