Skip to content

Upgrade Grafana dashboards with new metrics and Grafana 10+ support #657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,454 changes: 0 additions & 1,454 deletions dashboards/grafana/alerts-dashboard.json

This file was deleted.

2,699 changes: 1,717 additions & 982 deletions dashboards/grafana/cache-details-dashboard.json

Large diffs are not rendered by default.

673 changes: 424 additions & 249 deletions dashboards/grafana/cache-store-details-dashboard.json

Large diffs are not rendered by default.

704 changes: 456 additions & 248 deletions dashboards/grafana/caches-summary-dashboard.json

Large diffs are not rendered by default.

3,797 changes: 2,348 additions & 1,449 deletions dashboards/grafana/coherence-dashboard-main.json

Large diffs are not rendered by default.

102 changes: 73 additions & 29 deletions dashboards/grafana/elastic-data-summary-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 21,
"iteration": 1715656073465,
"id": 8,
"links": [
{
"icon": "dashboard",
Expand Down Expand Up @@ -53,10 +52,15 @@
"id": 2,
"links": [],
"options": {
"content": "<center><h3>Elastic Data Summary - $ClusterName</h3></center>",
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<center><h3>Elastic Data Summary</h3></center>",
"mode": "html"
},
"pluginVersion": "8.5.27",
"pluginVersion": "10.0.13",
"type": "text"
},
{
Expand Down Expand Up @@ -118,13 +122,16 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.27",
"pluginVersion": "10.0.13",
"targets": [
{
"expr": "sum(vendor:coherence_journal_file_count{cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"})",
"datasource": "prometheus",
"editorMode": "code",
"expr": "sum(coherence_journal_file_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"range": true,
"refId": "A"
}
],
Expand Down Expand Up @@ -189,10 +196,10 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.27",
"pluginVersion": "10.0.13",
"targets": [
{
"expr": "sum(vendor:coherence_journal_total_data_size{cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"})",
"expr": "sum(coherence_journal_total_data_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
Expand Down Expand Up @@ -261,10 +268,10 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.27",
"pluginVersion": "10.0.13",
"targets": [
{
"expr": "sum(vendor:coherence_journal_file_count{cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"})",
"expr": "sum(coherence_journal_file_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
Expand Down Expand Up @@ -332,10 +339,10 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.27",
"pluginVersion": "10.0.13",
"targets": [
{
"expr": "sum(vendor:coherence_journal_total_data_size{cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"})",
"expr": "sum(coherence_journal_total_data_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
Expand All @@ -353,6 +360,8 @@
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
Expand Down Expand Up @@ -414,7 +423,8 @@
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom"
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
Expand All @@ -424,7 +434,7 @@
"pluginVersion": "8.5.27",
"targets": [
{
"expr": "sum(vendor:coherence_journal_total_data_size{cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"}) by (name)",
"expr": "sum(coherence_journal_total_data_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"}) by (name)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand All @@ -443,6 +453,8 @@
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
Expand Down Expand Up @@ -504,7 +516,8 @@
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom"
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
Expand All @@ -514,7 +527,7 @@
"pluginVersion": "8.5.27",
"targets": [
{
"expr": "sum(vendor:coherence_journal_total_data_size{cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"}) by (name)",
"expr": "sum(coherence_journal_total_data_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"}) by (name)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand All @@ -533,6 +546,8 @@
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
Expand All @@ -545,7 +560,7 @@
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
Expand All @@ -564,6 +579,7 @@
"links": [],
"mappings": [],
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
Expand Down Expand Up @@ -596,7 +612,8 @@
"max"
],
"displayMode": "list",
"placement": "bottom"
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
Expand All @@ -607,7 +624,7 @@
"targets": [
{
"datasource": "prometheus",
"expr": "vendor:coherence_journal_compaction_count{cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"} - vendor:coherence_journal_compaction_count{cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"} offset $__interval > 0",
"expr": "coherence_journal_compaction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"} - coherence_journal_compaction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"} offset $__interval > 0",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand All @@ -616,7 +633,7 @@
},
{
"datasource": "prometheus",
"expr": "vendor:coherence_journal_exhaustive_compaction_count{cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"} - vendor:coherence_journal_exhaustive_compaction_count{cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"} offset $__interval > 0",
"expr": "coherence_journal_exhaustive_compaction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"} - coherence_journal_exhaustive_compaction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"RamJournalRM\"} offset $__interval > 0",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand All @@ -635,6 +652,8 @@
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
Expand Down Expand Up @@ -666,6 +685,7 @@
"links": [],
"mappings": [],
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
Expand Down Expand Up @@ -698,7 +718,8 @@
"max"
],
"displayMode": "list",
"placement": "bottom"
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
Expand All @@ -709,7 +730,7 @@
"targets": [
{
"datasource": "prometheus",
"expr": "vendor:coherence_journal_compaction_count{cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"} - vendor:coherence_journal_compaction_count{cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"} offset $__interval > 0",
"expr": "coherence_journal_compaction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"} - coherence_journal_compaction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"} offset $__interval > 0",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand All @@ -718,7 +739,7 @@
},
{
"datasource": "prometheus",
"expr": "vendor:coherence_journal_exhaustive_compaction_count{cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"} - vendor:coherence_journal_exhaustive_compaction_count{cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"} offset $__interval > 0",
"expr": "coherence_journal_exhaustive_compaction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"} - coherence_journal_exhaustive_compaction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=~\"FlashJournalRM\"} offset $__interval > 0",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand All @@ -731,13 +752,34 @@
}
],
"refresh": "30s",
"schemaVersion": 36,
"schemaVersion": 38,
"style": "dark",
"tags": [
"dashboard"
],
"templating": {
"list": [
{
"current": {
},
"datasource": "prometheus",
"definition": "label_values(coherence_cluster_size,namespace)",
"hide": 0,
"includeAll": false,
"label": "Namespace",
"multi": false,
"name": "Namespace",
"options": [],
"query": {
"query": "label_values(coherence_cluster_size,namespace)",
"refId": "prometheus-Namespace-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {
"selected": false
Expand All @@ -751,7 +793,7 @@
"name": "ClusterName",
"options": [],
"query": {
"query": "label_values(vendor:coherence_cluster_size, cluster)",
"query": "label_values(coherence_cluster_size{namespace=~\"${Namespace:.*}\"}, cluster)",
"refId": "prometheus-ClusterName-Variable-Query"
},
"refresh": 1,
Expand All @@ -765,7 +807,9 @@
},
{
"current": {
"selected": false
"selected": false,
"text": "14.1.1.2206.8",
"value": "14.1.1.2206.8"
},
"datasource": "prometheus",
"definition": "",
Expand All @@ -776,7 +820,7 @@
"name": "CoherenceVersion",
"options": [],
"query": {
"query": "label_values(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}, version)",
"query": "label_values(coherence_cluster_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, version)",
"refId": "prometheus-CoherenceVersion-Variable-Query"
},
"refresh": 1,
Expand All @@ -791,7 +835,7 @@
]
},
"time": {
"from": "now-15m",
"from": "now-30m",
"to": "now"
},
"timepicker": {
Expand Down Expand Up @@ -822,6 +866,6 @@
"timezone": "",
"title": "Coherence Elastic Data Summary Dashboard",
"uid": "coh-elastic-data-summary",
"version": 1,
"version": 3,
"weekStart": ""
}
Loading
Loading