Skip to content

Commit 4588a48

Browse files
author
Tim Middleton
authored
Add backup persistence space, fix datasource issues (#615)
1 parent 7b4400a commit 4588a48

9 files changed

+651
-910
lines changed

dashboards/grafana/cache-details-dashboard.json

Lines changed: 46 additions & 166 deletions
Large diffs are not rendered by default.

dashboards/grafana/caches-summary-dashboard.json

Lines changed: 15 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"list": [
44
{
55
"builtIn": 1,
6-
"datasource": {
7-
"type": "prometheus"
8-
},
6+
"datasource": "prometheus",
97
"enable": true,
108
"hide": true,
119
"iconColor": "rgba(0, 211, 255, 1)",
@@ -44,10 +42,7 @@
4442
"liveNow": false,
4543
"panels": [
4644
{
47-
"datasource": {
48-
"type": "prometheus"
49-
},
50-
"gridPos": {
45+
"datasource": "prometheus", "gridPos": {
5146
"h": 2,
5247
"w": 24,
5348
"x": 0,
@@ -64,10 +59,7 @@
6459
},
6560
{
6661
"columns": [],
67-
"datasource": {
68-
"type": "prometheus"
69-
},
70-
"fontSize": "100%",
62+
"datasource": "prometheus", "fontSize": "100%",
7163
"gridPos": {
7264
"h": 7,
7365
"w": 24,
@@ -218,10 +210,7 @@
218210
"bars": false,
219211
"dashLength": 10,
220212
"dashes": false,
221-
"datasource": {
222-
"type": "prometheus"
223-
},
224-
"description": "Shows a graph of cache related memory used.",
213+
"datasource": "prometheus", "description": "Shows a graph of cache related memory used.",
225214
"fill": 1,
226215
"fillGradient": 0,
227216
"gridPos": {
@@ -311,10 +300,7 @@
311300
},
312301
{
313302
"columns": [],
314-
"datasource": {
315-
"type": "prometheus"
316-
},
317-
"fontSize": "100%",
303+
"datasource": "prometheus", "fontSize": "100%",
318304
"gridPos": {
319305
"h": 10,
320306
"w": 12,
@@ -443,10 +429,7 @@
443429
"bars": true,
444430
"dashLength": 10,
445431
"dashes": false,
446-
"datasource": {
447-
"type": "prometheus"
448-
},
449-
"description": "Shows a graph of total cache evictions across all caches and members.",
432+
"datasource": "prometheus", "description": "Shows a graph of total cache evictions across all caches and members.",
450433
"fieldConfig": {
451434
"defaults": {
452435
"links": []
@@ -539,10 +522,7 @@
539522
"bars": true,
540523
"dashLength": 10,
541524
"dashes": false,
542-
"datasource": {
543-
"type": "prometheus"
544-
},
545-
"description": "Shows a graph of total cache evictions across all caches and members.",
525+
"datasource": "prometheus", "description": "Shows a graph of total cache evictions across all caches and members.",
546526
"fieldConfig": {
547527
"defaults": {
548528
"links": []
@@ -588,9 +568,7 @@
588568
"steppedLine": false,
589569
"targets": [
590570
{
591-
"datasource": {
592-
"type": "prometheus"
593-
},
571+
"datasource": "prometheus",
594572
"editorMode": "code",
595573
"expr": "sum(vendor:coherence_cache_prunes{cluster=\"${ClusterName:raw}\",tier=\"back\"}) - sum(vendor:coherence_cache_prunes{cluster=\"${ClusterName:raw}\", tier=\"back\"} offset $__interval)",
596574
"format": "time_series",
@@ -639,9 +617,7 @@
639617
"bars": true,
640618
"dashLength": 10,
641619
"dashes": false,
642-
"datasource": {
643-
"type": "prometheus"
644-
},
620+
"datasource": "prometheus",
645621
"description": "Shows a graph of total cache evictions across all caches and members.",
646622
"fieldConfig": {
647623
"defaults": {
@@ -689,9 +665,7 @@
689665
"steppedLine": false,
690666
"targets": [
691667
{
692-
"datasource": {
693-
"type": "prometheus"
694-
},
668+
"datasource": "prometheus",
695669
"editorMode": "code",
696670
"expr": "sum(vendor:coherence_cache_prunes_millis{cluster=\"${ClusterName:raw}\",tier=\"back\"}) - sum(vendor:coherence_cache_prunes_millis{cluster=\"${ClusterName:raw}\", tier=\"back\"} offset $__interval)",
697671
"format": "time_series",
@@ -746,13 +720,9 @@
746720
"list": [
747721
{
748722
"current": {
749-
"selected": false,
750-
"text": "ocnadd-cluster",
751-
"value": "ocnadd-cluster"
752-
},
753-
"datasource": {
754-
"type": "prometheus"
723+
"selected": false
755724
},
725+
"datasource": "prometheus",
756726
"definition": "",
757727
"hide": 0,
758728
"includeAll": false,
@@ -779,9 +749,7 @@
779749
"text": "14.1.1.2206.5",
780750
"value": "14.1.1.2206.5"
781751
},
782-
"datasource": {
783-
"type": "prometheus"
784-
},
752+
"datasource": "prometheus",
785753
"definition": "",
786754
"hide": 2,
787755
"includeAll": false,
@@ -808,9 +776,7 @@
808776
"text": "All",
809777
"value": "$__all"
810778
},
811-
"datasource": {
812-
"type": "prometheus"
813-
},
779+
"datasource": "prometheus",
814780
"definition": "",
815781
"hide": 2,
816782
"includeAll": true,
@@ -837,9 +803,7 @@
837803
"text": "All",
838804
"value": "$__all"
839805
},
840-
"datasource": {
841-
"type": "prometheus"
842-
},
806+
"datasource": "prometheus",
843807
"definition": "",
844808
"hide": 2,
845809
"includeAll": true,

0 commit comments

Comments
 (0)