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:
Eyal Levin 2018-12-25 15:28:56 +02:00 committed by Brian Brazil
parent 9f903fb3f7
commit d304269ac4
1 changed files with 1 additions and 2 deletions

View File

@ -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