Unverified Commit 0219fb2e authored by Ben Kochie's avatar Ben Kochie Committed by GitHub

Merge pull request #1167 from splattael/patch-1

Fix YAML display in node exporter's guide
parents a2bf63bd b85d5a5f
...@@ -65,6 +65,7 @@ curl http://localhost:9100/metrics | grep "node_" ...@@ -65,6 +65,7 @@ curl http://localhost:9100/metrics | grep "node_"
Your locally running Prometheus instance needs to be properly configured in order to access Node Exporter metrics. The following [`scrape_config`](../prometheus/latest/configuration/configuration/#<scrape_config>) block (in a `prometheus.yml` configuration file) will tell the Prometheus instance to scrape from the Node Exporter via `localhost:9100`: Your locally running Prometheus instance needs to be properly configured in order to access Node Exporter metrics. The following [`scrape_config`](../prometheus/latest/configuration/configuration/#<scrape_config>) block (in a `prometheus.yml` configuration file) will tell the Prometheus instance to scrape from the Node Exporter via `localhost:9100`:
<a id="config"></a> <a id="config"></a>
```yaml ```yaml
scrape_configs: scrape_configs:
- job_name: 'node' - job_name: 'node'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment