Skip to content

Commit cd52cc0

Browse files
feat: set datasource for trivy dashboard to default (#1796)
Co-authored-by: jeho <[email protected]>
1 parent 4d28234 commit cd52cc0

File tree

1 file changed

+46
-36
lines changed

1 file changed

+46
-36
lines changed

charts/grafana-dashboards/trivy-teams/trivy-teams.json

+46-36
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,19 @@
9595
"graphMode": "area",
9696
"justifyMode": "auto",
9797
"orientation": "auto",
98+
"percentChangeColorMode": "standard",
9899
"reduceOptions": {
99100
"calcs": [
100101
"last"
101102
],
102103
"fields": "",
103104
"values": false
104105
},
105-
"textMode": "auto"
106+
"showPercentChange": false,
107+
"textMode": "auto",
108+
"wideLayout": true
106109
},
107-
"pluginVersion": "9.5.2",
110+
"pluginVersion": "11.2.2",
108111
"targets": [
109112
{
110113
"datasource": {
@@ -163,16 +166,19 @@
163166
"graphMode": "area",
164167
"justifyMode": "auto",
165168
"orientation": "auto",
169+
"percentChangeColorMode": "standard",
166170
"reduceOptions": {
167171
"calcs": [
168172
"last"
169173
],
170174
"fields": "",
171175
"values": false
172176
},
173-
"textMode": "auto"
177+
"showPercentChange": false,
178+
"textMode": "auto",
179+
"wideLayout": true
174180
},
175-
"pluginVersion": "9.5.2",
181+
"pluginVersion": "11.2.2",
176182
"targets": [
177183
{
178184
"datasource": {
@@ -231,16 +237,19 @@
231237
"graphMode": "area",
232238
"justifyMode": "auto",
233239
"orientation": "auto",
240+
"percentChangeColorMode": "standard",
234241
"reduceOptions": {
235242
"calcs": [
236243
"last"
237244
],
238245
"fields": "",
239246
"values": false
240247
},
241-
"textMode": "auto"
248+
"showPercentChange": false,
249+
"textMode": "auto",
250+
"wideLayout": true
242251
},
243-
"pluginVersion": "9.5.2",
252+
"pluginVersion": "11.2.2",
244253
"targets": [
245254
{
246255
"datasource": {
@@ -299,16 +308,19 @@
299308
"graphMode": "area",
300309
"justifyMode": "auto",
301310
"orientation": "auto",
311+
"percentChangeColorMode": "standard",
302312
"reduceOptions": {
303313
"calcs": [
304314
"last"
305315
],
306316
"fields": "",
307317
"values": false
308318
},
309-
"textMode": "auto"
319+
"showPercentChange": false,
320+
"textMode": "auto",
321+
"wideLayout": true
310322
},
311-
"pluginVersion": "9.5.2",
323+
"pluginVersion": "11.2.2",
312324
"targets": [
313325
{
314326
"datasource": {
@@ -367,16 +379,19 @@
367379
"graphMode": "area",
368380
"justifyMode": "auto",
369381
"orientation": "auto",
382+
"percentChangeColorMode": "standard",
370383
"reduceOptions": {
371384
"calcs": [
372385
"last"
373386
],
374387
"fields": "",
375388
"values": false
376389
},
377-
"textMode": "auto"
390+
"showPercentChange": false,
391+
"textMode": "auto",
392+
"wideLayout": true
378393
},
379-
"pluginVersion": "9.5.2",
394+
"pluginVersion": "11.2.2",
380395
"targets": [
381396
{
382397
"datasource": {
@@ -435,16 +450,19 @@
435450
"graphMode": "area",
436451
"justifyMode": "auto",
437452
"orientation": "auto",
453+
"percentChangeColorMode": "standard",
438454
"reduceOptions": {
439455
"calcs": [
440456
"last"
441457
],
442458
"fields": "",
443459
"values": false
444460
},
445-
"textMode": "auto"
461+
"showPercentChange": false,
462+
"textMode": "auto",
463+
"wideLayout": true
446464
},
447-
"pluginVersion": "9.5.2",
465+
"pluginVersion": "11.2.2",
448466
"targets": [
449467
{
450468
"datasource": {
@@ -549,7 +567,7 @@
549567
}
550568
]
551569
},
552-
"pluginVersion": "9.5.2",
570+
"pluginVersion": "11.2.2",
553571
"targets": [
554572
{
555573
"datasource": {
@@ -730,7 +748,7 @@
730748
"showHeader": true,
731749
"sortBy": []
732750
},
733-
"pluginVersion": "9.5.2",
751+
"pluginVersion": "11.2.2",
734752
"targets": [
735753
{
736754
"datasource": {
@@ -854,11 +872,13 @@
854872
"mode": "palette-classic"
855873
},
856874
"custom": {
875+
"axisBorderShow": false,
857876
"axisCenteredZero": false,
858877
"axisColorMode": "text",
859878
"axisLabel": "",
860879
"axisPlacement": "auto",
861880
"barAlignment": 0,
881+
"barWidthFactor": 0.6,
862882
"drawStyle": "line",
863883
"fillOpacity": 15,
864884
"gradientMode": "opacity",
@@ -867,6 +887,7 @@
867887
"tooltip": false,
868888
"viz": false
869889
},
890+
"insertNulls": false,
870891
"lineInterpolation": "linear",
871892
"lineWidth": 2,
872893
"pointSize": 5,
@@ -969,8 +990,7 @@
969990
"mode": "absolute",
970991
"steps": [
971992
{
972-
"color": "green",
973-
"value": null
993+
"color": "green"
974994
},
975995
{
976996
"color": "blue",
@@ -1037,8 +1057,7 @@
10371057
"mode": "absolute",
10381058
"steps": [
10391059
{
1040-
"color": "green",
1041-
"value": null
1060+
"color": "green"
10421061
},
10431062
{
10441063
"color": "yellow",
@@ -1105,8 +1124,7 @@
11051124
"mode": "absolute",
11061125
"steps": [
11071126
{
1108-
"color": "green",
1109-
"value": null
1127+
"color": "green"
11101128
},
11111129
{
11121130
"color": "orange",
@@ -1173,8 +1191,7 @@
11731191
"mode": "absolute",
11741192
"steps": [
11751193
{
1176-
"color": "green",
1177-
"value": null
1194+
"color": "green"
11781195
},
11791196
{
11801197
"color": "red",
@@ -1241,8 +1258,7 @@
12411258
"mode": "absolute",
12421259
"steps": [
12431260
{
1244-
"color": "green",
1245-
"value": null
1261+
"color": "green"
12461262
},
12471263
{
12481264
"color": "text",
@@ -1339,8 +1355,7 @@
13391355
"mode": "absolute",
13401356
"steps": [
13411357
{
1342-
"color": "green",
1343-
"value": null
1358+
"color": "green"
13441359
},
13451360
{
13461361
"color": "blue",
@@ -1406,8 +1421,7 @@
14061421
}
14071422
],
14081423
"refresh": "30s",
1409-
"schemaVersion": 38,
1410-
"style": "dark",
1424+
"schemaVersion": 39,
14111425
"tags": [
14121426
"Prometheus",
14131427
"Trivy"
@@ -1417,8 +1431,8 @@
14171431
{
14181432
"current": {
14191433
"selected": false,
1420-
"text": "Prometheus-platform",
1421-
"value": "Prometheus-platform"
1434+
"text": "default",
1435+
"value": "default"
14221436
},
14231437
"hide": 0,
14241438
"includeAll": false,
@@ -1428,16 +1442,12 @@
14281442
"query": "prometheus",
14291443
"queryValue": "",
14301444
"refresh": 1,
1431-
"regex": "Prometheus-platform",
1445+
"regex": "default",
14321446
"skipUrlSync": false,
14331447
"type": "datasource"
14341448
},
14351449
{
1436-
"current": {
1437-
"selected": false,
1438-
"text": "team-orange",
1439-
"value": "team-orange"
1440-
},
1450+
"current": {},
14411451
"datasource": {
14421452
"type": "prometheus",
14431453
"uid": "$datasource"

0 commit comments

Comments
 (0)