docs/CHANGELOG.md: fix formatting for scrape_configs example

This commit is contained in:
Aliaksandr Valialkin 2022-01-14 01:02:24 +02:00
parent 1d05444b33
commit d7d83d6d93
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -10,8 +10,8 @@ sort: 15
* It can contain arbitrary expression. For example, `foo @ (end() - 1h)` would return `foo` value at `end - 1 hour` timestamp on the selected time range `[start ... end]`. Another example: `foo @ now() - 10m` would return `foo` value 10 minutes ago from the current time.
* It can be put everywhere in the query. For example, `sum(foo) @ start()` would calculate `sum(foo)` at `start` timestamp on the selected time range `[start ... end]`.
* FEATURE: [vmagent](https://docs.victoriametrics.com/vmagent.html): add support for Kubernetes service discovery in the current namespace in the same way as [Prometheus does](https://github.com/prometheus/prometheus/pull/9881). For example, the following config limits pod discovery to the namespace where vmagent runs:
```
scrape_configs:
```yml
scrape_configs:
- job_name: 'kubernetes-pods'
kubernetes_sd_configs:
- role: pod