From 0bbc7221f32828c6b250b0ec18aa4007ea750820 Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Fri, 22 Apr 2022 16:25:53 +0200 Subject: [PATCH] dashboards: add adhoc filter to dasbhoard variables The adhoc filter allows to quickly apply global filters without modifying the panels. Signed-off-by: hagen1778 --- dashboards/victoriametrics.json | 43 +++++++++++++++++---------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/dashboards/victoriametrics.json b/dashboards/victoriametrics.json index 9dc3eff3e3..b9c722f848 100644 --- a/dashboards/victoriametrics.json +++ b/dashboards/victoriametrics.json @@ -57,7 +57,7 @@ "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, - "iteration": 1650637429337, + "iteration": 1650637504927, "links": [ { "icon": "doc", @@ -111,8 +111,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -175,8 +174,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -240,8 +238,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -304,8 +301,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -368,8 +364,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -433,8 +428,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -501,8 +495,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -565,8 +558,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -635,8 +627,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -674,8 +665,7 @@ "mode": "absolute", "steps": [ { - "color": "rgba(245, 54, 54, 0.9)", - "value": null + "color": "rgba(245, 54, 54, 0.9)" }, { "color": "rgba(237, 129, 40, 0.89)", @@ -6575,6 +6565,17 @@ "skipUrlSync": false, "sort": 0, "type": "query" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${ds}" + }, + "filters": [], + "hide": 0, + "name": "adhoc", + "skipUrlSync": false, + "type": "adhoc" } ] },