Skip to content

Commit 2af64b0

Browse files
authored
Update Grafana federation dashboards to include additional partition metrics (#784)
1 parent 3a86b21 commit 2af64b0

File tree

1 file changed

+72
-6
lines changed

1 file changed

+72
-6
lines changed

dashboards/grafana/services-summary-dashboard.json

Lines changed: 72 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"editable": true,
4545
"fiscalYearStartMonth": 0,
4646
"graphTooltip": 0,
47-
"id": 3,
47+
"id": 13,
4848
"links": [
4949
{
5050
"icon": "dashboard",
@@ -113,10 +113,6 @@
113113
{
114114
"color": "green",
115115
"value": null
116-
},
117-
{
118-
"color": "red",
119-
"value": 80
120116
}
121117
]
122118
},
@@ -276,6 +272,46 @@
276272
]
277273
}
278274
]
275+
},
276+
{
277+
"matcher": {
278+
"id": "byName",
279+
"options": "Value #C"
280+
},
281+
"properties": [
282+
{
283+
"id": "displayName",
284+
"value": "Avg Partition Size"
285+
},
286+
{
287+
"id": "unit",
288+
"value": "deckbytes"
289+
},
290+
{
291+
"id": "decimals",
292+
"value": 1
293+
}
294+
]
295+
},
296+
{
297+
"matcher": {
298+
"id": "byName",
299+
"options": "Value #D"
300+
},
301+
"properties": [
302+
{
303+
"id": "displayName",
304+
"value": "Max Partition Size"
305+
},
306+
{
307+
"id": "unit",
308+
"value": "deckbytes"
309+
},
310+
{
311+
"id": "decimals",
312+
"value": 1
313+
}
314+
]
279315
}
280316
]
281317
},
@@ -310,6 +346,30 @@
310346
"refId": "A"
311347
},
312348
{
349+
"datasource": "prometheus",
350+
"editorMode": "code",
351+
"expr": "sum(coherence_partition_assignment_average_partition_size_kb{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service)",
352+
"format": "table",
353+
"hide": false,
354+
"instant": true,
355+
"intervalFactor": 1,
356+
"legendFormat": "",
357+
"refId": "C"
358+
},
359+
{
360+
"datasource": "prometheus",
361+
"editorMode": "code",
362+
"expr": "sum(coherence_partition_assignment_max_partition_size_kb{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service)",
363+
"format": "table",
364+
"hide": false,
365+
"instant": true,
366+
"intervalFactor": 1,
367+
"legendFormat": "",
368+
"refId": "D"
369+
},
370+
{
371+
"datasource": "prometheus",
372+
"editorMode": "code",
313373
"expr": "avg(coherence_partition_assignment_ha_status_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service)",
314374
"format": "table",
315375
"instant": true,
@@ -337,6 +397,7 @@
337397
"mode": "thresholds"
338398
},
339399
"custom": {
400+
"align": "auto",
340401
"cellOptions": {
341402
"type": "auto"
342403
},
@@ -715,6 +776,7 @@
715776
"mode": "thresholds"
716777
},
717778
"custom": {
779+
"align": "auto",
718780
"cellOptions": {
719781
"type": "auto"
720782
},
@@ -907,6 +969,7 @@
907969
"mode": "thresholds"
908970
},
909971
"custom": {
972+
"align": "auto",
910973
"cellOptions": {
911974
"type": "auto"
912975
},
@@ -1082,6 +1145,7 @@
10821145
"mode": "thresholds"
10831146
},
10841147
"custom": {
1148+
"align": "auto",
10851149
"cellOptions": {
10861150
"type": "auto"
10871151
},
@@ -1260,6 +1324,7 @@
12601324
"mode": "thresholds"
12611325
},
12621326
"custom": {
1327+
"align": "auto",
12631328
"cellOptions": {
12641329
"type": "auto"
12651330
},
@@ -1473,6 +1538,7 @@
14731538
"mode": "thresholds"
14741539
},
14751540
"custom": {
1541+
"align": "auto",
14761542
"cellOptions": {
14771543
"type": "auto"
14781544
},
@@ -1897,6 +1963,6 @@
18971963
"timezone": "",
18981964
"title": "Coherence Services Summary Dashboard",
18991965
"uid": "coh-services-summary",
1900-
"version": 12,
1966+
"version": 2,
19011967
"weekStart": ""
19021968
}

0 commit comments

Comments
 (0)