Skip to content

Commit 0bf21da

Browse files
mohamedasifs123sandersms
authored andcommitted
fix(grafana): removing hardcoded values
Signed-off-by: mohamedasifs123 <asifabu272@gmail.com>
1 parent 0049aae commit 0bf21da

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

grafana/grafana-dashboard-switches.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
"mode": "absolute",
8383
"steps": [
8484
{
85-
"color": "green"
85+
"color": "green",
86+
"value": null
8687
},
8788
{
8889
"color": "red",
@@ -198,7 +199,8 @@
198199
"mode": "absolute",
199200
"steps": [
200201
{
201-
"color": "green"
202+
"color": "green",
203+
"value": null
202204
},
203205
{
204206
"color": "red",
@@ -314,7 +316,8 @@
314316
"mode": "absolute",
315317
"steps": [
316318
{
317-
"color": "green"
319+
"color": "green",
320+
"value": null
318321
},
319322
{
320323
"color": "red",
@@ -430,7 +433,8 @@
430433
"mode": "absolute",
431434
"steps": [
432435
{
433-
"color": "green"
436+
"color": "green",
437+
"value": null
434438
},
435439
{
436440
"color": "red",
@@ -1283,15 +1287,15 @@
12831287
"list": [
12841288
{
12851289
"current": {
1286-
"selected": false,
1290+
"selected": true,
12871291
"text": "172.22.0.5",
12881292
"value": "172.22.0.5"
12891293
},
12901294
"datasource": {
12911295
"type": "prometheus",
12921296
"uid": "PBFA97CFB590B2093"
12931297
},
1294-
"definition": "label_values({source=~\"172.22.1.250|172.22.0.5\"},source)",
1298+
"definition": "label_values(interfaces_counters_in_broadcast_pkts,source)",
12951299
"hide": 0,
12961300
"includeAll": false,
12971301
"label": "source",
@@ -1300,7 +1304,7 @@
13001304
"options": [],
13011305
"query": {
13021306
"qryType": 1,
1303-
"query": "label_values({source=~\"172.22.1.250|172.22.0.5\"},source)",
1307+
"query": "label_values(interfaces_counters_in_broadcast_pkts,source)",
13041308
"refId": "PrometheusVariableQueryEditor-VariableQuery"
13051309
},
13061310
"refresh": 1,
@@ -1311,7 +1315,7 @@
13111315
},
13121316
{
13131317
"current": {
1314-
"selected": false,
1318+
"selected": true,
13151319
"text": "Ethernet1",
13161320
"value": "Ethernet1"
13171321
},
@@ -1346,6 +1350,6 @@
13461350
"timezone": "",
13471351
"title": "ARISTA Switch Metrics",
13481352
"uid": "de09c77e-6492-499a-9695-8f8abcba6423",
1349-
"version": 34,
1353+
"version": 35,
13501354
"weekStart": ""
13511355
}

0 commit comments

Comments
 (0)