From cceb360b3ae40bd2db65d5bf1016a161f0f41df6 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Mon, 14 Jun 2021 15:43:57 +0200 Subject: [PATCH] docs: fix wrong grafana query --- websitev2/docs/api/internal/internal-backstage-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websitev2/docs/api/internal/internal-backstage-api.md b/websitev2/docs/api/internal/internal-backstage-api.md index 8daf57ebaa..4e1fb9de92 100644 --- a/websitev2/docs/api/internal/internal-backstage-api.md +++ b/websitev2/docs/api/internal/internal-backstage-api.md @@ -18,7 +18,7 @@ Unleash will automatically count all updates for all toggles under the metric na You can use this query in grafana to achieve this: ``` -delta(feature_toggle_update_total{toggle="Demo"}[1m]) != bool 0? +delta(feature_toggle_update_total{toggle="Demo"}[1m]) != bool 0 ``` Another useful counter is the `feature_toggle_usage_total` which will give you the numbers for how many times a feature toggle has been evaluated to `active` or not.