Skip to content

Commit 7070f3a

Browse files
authored
Minor federation dashboard updates (#778)
1 parent 6305baa commit 7070f3a

File tree

3 files changed

+102
-10
lines changed

3 files changed

+102
-10
lines changed

dashboards/grafana/coherence-dashboard-main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,8 +1128,8 @@
11281128
"tooltip": false,
11291129
"viz": false
11301130
},
1131-
"lineInterpolation": "linear",
1132-
"lineWidth": 1,
1131+
"lineInterpolation": "smooth",
1132+
"lineWidth": 2,
11331133
"pointSize": 5,
11341134
"scaleDistribution": {
11351135
"type": "linear"

dashboards/grafana/federation-details-dashboard.json

Lines changed: 96 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"editable": true,
1717
"fiscalYearStartMonth": 0,
1818
"graphTooltip": 0,
19-
"id": 17,
19+
"id": 4,
2020
"links": [
2121
{
2222
"icon": "dashboard",
@@ -699,7 +699,7 @@
699699
},
700700
"gridPos": {
701701
"h": 9,
702-
"w": 24,
702+
"w": 12,
703703
"x": 0,
704704
"y": 8
705705
},
@@ -717,6 +717,98 @@
717717
}
718718
},
719719
"pluginVersion": "8.5.27",
720+
"targets": [
721+
{
722+
"datasource": "prometheus",
723+
"editorMode": "code",
724+
"expr": "sum(irate(coherence_federation_destination_total_bytes_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName', name='$Destination'}[1m]) * 8 / 1000000)",
725+
"interval": "",
726+
"legendFormat": "Total Rate",
727+
"range": true,
728+
"refId": "A"
729+
}
730+
],
731+
"title": "Total Outgoing Data Rate - All Members",
732+
"type": "timeseries"
733+
},
734+
{
735+
"datasource": {
736+
"type": "prometheus"
737+
},
738+
"description": "",
739+
"fieldConfig": {
740+
"defaults": {
741+
"color": {
742+
"mode": "palette-classic"
743+
},
744+
"custom": {
745+
"axisCenteredZero": false,
746+
"axisColorMode": "text",
747+
"axisLabel": "",
748+
"axisPlacement": "auto",
749+
"barAlignment": 0,
750+
"drawStyle": "line",
751+
"fillOpacity": 0,
752+
"gradientMode": "none",
753+
"hideFrom": {
754+
"legend": false,
755+
"tooltip": false,
756+
"viz": false
757+
},
758+
"lineInterpolation": "smooth",
759+
"lineWidth": 2,
760+
"pointSize": 5,
761+
"scaleDistribution": {
762+
"type": "linear"
763+
},
764+
"showPoints": "never",
765+
"spanNulls": false,
766+
"stacking": {
767+
"group": "A",
768+
"mode": "none"
769+
},
770+
"thresholdsStyle": {
771+
"mode": "off"
772+
}
773+
},
774+
"mappings": [],
775+
"thresholds": {
776+
"mode": "absolute",
777+
"steps": [
778+
{
779+
"color": "green",
780+
"value": null
781+
},
782+
{
783+
"color": "red",
784+
"value": 80
785+
}
786+
]
787+
},
788+
"unit": "Mibits"
789+
},
790+
"overrides": []
791+
},
792+
"gridPos": {
793+
"h": 9,
794+
"w": 12,
795+
"x": 12,
796+
"y": 8
797+
},
798+
"id": 31,
799+
"options": {
800+
"legend": {
801+
"calcs": [],
802+
"displayMode": "list",
803+
"placement": "bottom",
804+
"showLegend": true
805+
},
806+
"tooltip": {
807+
"mode": "multi",
808+
"sort": "none"
809+
}
810+
},
811+
"pluginVersion": "8.5.27",
720812
"targets": [
721813
{
722814
"datasource": "prometheus",
@@ -728,7 +820,7 @@
728820
"refId": "A"
729821
}
730822
],
731-
"title": "Outgoing Data Rate - All Members",
823+
"title": "Outgoing Data Rate - Per Member",
732824
"type": "timeseries"
733825
},
734826
{
@@ -2809,6 +2901,6 @@
28092901
"timezone": "",
28102902
"title": "Coherence Federation Details Dashboard",
28112903
"uid": "coh-federation-details",
2812-
"version": 9,
2904+
"version": 4,
28132905
"weekStart": ""
28142906
}

dashboards/grafana/federation-summary-dashboard.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"editable": true,
4545
"fiscalYearStartMonth": 0,
4646
"graphTooltip": 0,
47-
"id": 23,
47+
"id": 2,
4848
"links": [
4949
{
5050
"icon": "dashboard",
@@ -625,7 +625,7 @@
625625
"tooltip": false,
626626
"viz": false
627627
},
628-
"lineInterpolation": "linear",
628+
"lineInterpolation": "smooth",
629629
"lineWidth": 2,
630630
"pointSize": 5,
631631
"scaleDistribution": {
@@ -725,7 +725,7 @@
725725
"tooltip": false,
726726
"viz": false
727727
},
728-
"lineInterpolation": "linear",
728+
"lineInterpolation": "smooth",
729729
"lineWidth": 2,
730730
"pointSize": 5,
731731
"scaleDistribution": {
@@ -2290,6 +2290,6 @@
22902290
"timezone": "",
22912291
"title": "Coherence Federation Summary Dashboard",
22922292
"uid": "coh-federation-summary",
2293-
"version": 11,
2293+
"version": 2,
22942294
"weekStart": ""
22952295
}

0 commit comments

Comments
 (0)