Skip to content

Commit

Permalink
OM150
Browse files Browse the repository at this point in the history
fixed bug while showing cluster-size in, modified the label and text-mode option to show label-name
1. cluster-view
2. rolling-restart
3. multi-cluster view
  • Loading branch information
mphanias committed Nov 20, 2023
1 parent 4e275f0 commit ca8b2b0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 25 deletions.
17 changes: 9 additions & 8 deletions config/grafana/dashboards/cluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
"values": false
},
"text": {},
"textMode": "auto"
"textMode": "name"
},
"pluginVersion": "9.3.2",
"targets": [
Expand All @@ -570,6 +570,7 @@
"format": "time_series",
"instant": true,
"intervalFactor": 1,
"legendFormat": "{{size}}",
"refId": "A"
}
],
Expand Down Expand Up @@ -1151,7 +1152,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -1259,7 +1261,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -1394,8 +1397,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1503,8 +1505,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2592,6 +2593,6 @@
"timezone": "",
"title": "Cluster Overview",
"uid": "dR0dDRHWz",
"version": 8,
"version": 5,
"weekStart": ""
}
4 changes: 2 additions & 2 deletions config/grafana/dashboards/geoview.json
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
"fields": "",
"values": false
},
"textMode": "value"
"textMode": "name"
},
"pluginVersion": "9.3.2",
"targets": [
Expand All @@ -534,7 +534,7 @@
"exemplar": false,
"expr": "count_values (\"size\", (aerospike_node_stats_cluster_size{cluster_name=\"$cluster\"}) )",
"instant": true,
"legendFormat": "Cluster Size",
"legendFormat": "{{label_name}}",
"range": false,
"refId": "cluster_size"
}
Expand Down
24 changes: 9 additions & 15 deletions config/grafana/dashboards/usecases/rolling_restart.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
"fields": "",
"values": false
},
"textMode": "value"
"textMode": "name"
},
"pluginVersion": "9.3.2",
"targets": [
Expand All @@ -222,7 +222,7 @@
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "cluster",
"legendFormat": "{{label_name}}",
"range": false,
"refId": "C"
}
Expand Down Expand Up @@ -3658,8 +3658,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3794,8 +3793,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3906,8 +3904,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4159,8 +4156,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4308,8 +4304,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4436,8 +4431,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -5283,6 +5277,6 @@
"timezone": "",
"title": "Rolling Restarts",
"uid": "9p1Tc1uVz",
"version": 4,
"version": 2,
"weekStart": ""
}

0 comments on commit ca8b2b0

Please sign in to comment.