Skip to content

Commit

Permalink
Update custom-prometheus.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nevalla authored Dec 3, 2019
1 parent 08abfbb commit 936cbd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions troubleshooting/custom-prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ When using custom prometheus with Lens app, Lens expects certain things for prom

relabeling to `node-exporter` servicemonitor crd (for example `kubectl edit -n monitoring servicemonitors node-exporter`).

2. To see cluster's pod usage on cluster overview properly, please add `metricsRelabeling` to `kubelet` service monitor (`kubectl edit -n monitoring servicemonitors node-exporter`)
2. To see cluster's pod usage on cluster overview properly, please add `metricsRelabeling` to `kubelet` service monitor (`kubectl edit -n monitoring servicemonitors kubelet`)

```
metricRelabelings:
Expand All @@ -32,6 +32,6 @@ metricRelabelings:
1. To see cpu metrics properly, please set value of `server.global.scrape_timeout` less than 1 minute, for example

```
helm upgrade --set server.global.scrape_timeout=30s prometheus stable/prometheus
helm upgrade --set server.global.scrape_interval=30s prometheus stable/prometheus
```

0 comments on commit 936cbd5

Please # to comment.