mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 06:53:25 +00:00
Update text (#5039)
The `rule_files` section is not inside the `global` configuration section Signed-off-by: Eyal Levin <eyalev@gmail.com>
This commit is contained in:
parent
9f903fb3f7
commit
d304269ac4
@ -222,8 +222,7 @@ groups:
|
|||||||
expr: avg(rate(rpc_durations_seconds_count[5m])) by (job, service)
|
expr: avg(rate(rpc_durations_seconds_count[5m])) by (job, service)
|
||||||
```
|
```
|
||||||
|
|
||||||
To make Prometheus pick up this new rule, add a `rule_files` statement to the
|
To make Prometheus pick up this new rule, add a `rule_files` statement in your `prometheus.yml`. The config should now
|
||||||
`global` configuration section in your `prometheus.yml`. The config should now
|
|
||||||
look like this:
|
look like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user