mirror of
https://github.com/Unleash/unleash.git
synced 2026-10-14 00:10:28 +00:00
chore: Fix formatting all the things
This commit is contained in:
committed by
Ivar Conradi Østhus
parent
b24a7b06f3
commit
8a53d8dca2
@@ -7,18 +7,16 @@ title: /internal-backstage/prometheus
|
||||
|
||||
`GET http://unleash.host.com/internal-backstage/prometheus`
|
||||
|
||||
Unleash uses prometheus internally to collect metrics. These are
|
||||
available on the given url if the `serverMetrics` option is enabled (default=true).
|
||||
Unleash uses prometheus internally to collect metrics. These are available on the given url if the `serverMetrics` option is enabled (default=true).
|
||||
|
||||
[Read more about Prometheus](https://prometheus.io/)
|
||||
[Read more about Prometheus](https://prometheus.io/)
|
||||
|
||||
## Annotations
|
||||
|
||||
Unleash will automatically count all updates for all toggles under the metric name `feature_toggle_update_total`, and the toggle name is will be set as a label value. This information can be used to create annotations in grafana for everytime a feature toggle is changed.
|
||||
Unleash will automatically count all updates for all toggles under the metric name `feature_toggle_update_total`, and the toggle name is will be set as a label value. This information can be used to create annotations in grafana for everytime a feature toggle is changed.
|
||||
|
||||
You can use this query in grafana to achive this:
|
||||
|
||||
```
|
||||
delta(feature_toggle_update_total{toggle="Demo"}[1m]) != bool 0?
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user