Skip to content

Commit 955e7ee

Browse files
authored
Add scrape_interval to node_exporter guide (prometheus#1658)
Document the use of scrape_interval in the node_exporter guide. Signed-off-by: Ben Kochie <superq@gmail.com>
1 parent 341db7c commit 955e7ee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

content/docs/guides/node-exporter.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,16 @@ curl http://localhost:9100/metrics | grep "node_"
6262

6363
## Configuring your Prometheus instances
6464

65-
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`:
65+
Your locally running Prometheus instance needs to be properly configured in order to access Node Exporter metrics. The following [`prometheus.yml`](../../prometheus/latest/configuration/configuration/) example configuration file will tell the Prometheus instance to scrape, and how frequently, from the Node Exporter via `localhost:9100`:
6666

6767
<a id="config"></a>
6868

6969
```yaml
70+
global:
71+
scrape_interval: 15s
72+
7073
scrape_configs:
71-
- job_name: 'node'
74+
- job_name: node
7275
static_configs:
7376
- targets: ['localhost:9100']
7477
```

0 commit comments

Comments
 (0)