Skip to content

Commit

Permalink
Add federation retries to federation details dahsboard. Other minor u…
Browse files Browse the repository at this point in the history
…pdates (#638)
  • Loading branch information
tmiddlet2666 authored Jan 25, 2024
1 parent 31d9761 commit 7e85ff0
Show file tree
Hide file tree
Showing 4 changed files with 577 additions and 81 deletions.
178 changes: 145 additions & 33 deletions dashboards/grafana/cache-details-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 41,
"iteration": 1688089834119,
"id": 23,
"iteration": 1701654161004,
"links": [
{
"icon": "dashboard",
Expand Down Expand Up @@ -54,7 +54,8 @@
"liveNow": false,
"panels": [
{
"datasource": "prometheus", "gridPos": {
"datasource": "prometheus",
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
Expand All @@ -66,11 +67,11 @@
"content": "<center><h3>Cache Details - $ServiceName / $CacheName</h3></center>",
"mode": "html"
},
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"type": "text"
},
{
"datasource": {},
"datasource": "prometheus",
"description": "The size of number of entries in the cache.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -128,7 +129,7 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"targets": [
{
"expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})",
Expand All @@ -142,7 +143,7 @@
"type": "stat"
},
{
"datasource": {},
"datasource": "prometheus",
"description": "Indicates memory utilized by the cache entries. \nNote: If the unit-calculator is not BINARY or the service is not a DistributedCache service, then the details may be incorrect.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -200,7 +201,7 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"targets": [
{
"expr": "sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})",
Expand All @@ -214,7 +215,8 @@
"type": "stat"
},
{
"datasource": "prometheus", "fieldConfig": {
"datasource": "prometheus",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
Expand Down Expand Up @@ -270,7 +272,7 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"targets": [
{
"expr": "sum(vendor:coherence_storage_manager_index_total_units{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})",
Expand All @@ -284,7 +286,8 @@
"type": "stat"
},
{
"datasource": "prometheus", "fieldConfig": {
"datasource": "prometheus",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
Expand Down Expand Up @@ -344,7 +347,7 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"targets": [
{
"expr": "sum(vendor:coherence_storage_manager_non_optimized_query_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})",
Expand All @@ -358,7 +361,8 @@
"type": "stat"
},
{
"datasource": "prometheus", "fieldConfig": {
"datasource": "prometheus",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
Expand Down Expand Up @@ -418,7 +422,7 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"targets": [
{
"datasource": "prometheus",
Expand All @@ -433,7 +437,8 @@
"type": "stat"
},
{
"datasource": "prometheus", "fieldConfig": {
"datasource": "prometheus",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
Expand Down Expand Up @@ -493,7 +498,7 @@
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"targets": [
{
"datasource": "prometheus",
Expand All @@ -512,7 +517,8 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus", "fill": 1,
"datasource": "prometheus",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
Expand All @@ -539,7 +545,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -602,7 +608,8 @@
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus", "description": "",
"datasource": "prometheus",
"description": "",
"fieldConfig": {
"defaults": {
"links": []
Expand Down Expand Up @@ -636,7 +643,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -688,7 +695,8 @@
}
},
{
"datasource": "prometheus", "description": "Shows the total listener count across all members for this cache",
"datasource": "prometheus",
"description": "Shows the total listener count across all members for this cache",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -791,6 +799,107 @@
"title": "Current Listeners for $CacheName",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus"
},
"decimals": 0,
"description": "",
"fieldConfig": {
"defaults": {
"links": [],
"unit": "ops"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 24
},
"hiddenSeries": false,
"id": 48,
"legend": {
"avg": false,
"current": true,
"hideZero": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.13",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus"
},
"editorMode": "code",
"expr": "sum(vendor:coherence_storage_manager_events_dispatched{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) - sum(vendor:coherence_storage_manager_events_dispatched{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"} offset $__interval) > 0",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Events",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Events Dispatched for $CacheName",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "ops",
"label": "",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": "0",
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": true,
Expand All @@ -811,7 +920,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 24
"y": 33
},
"hiddenSeries": false,
"id": 44,
Expand All @@ -832,7 +941,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -891,7 +1000,8 @@
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus", "description": "",
"datasource": "prometheus",
"description": "",
"fieldConfig": {
"defaults": {
"links": [],
Expand All @@ -905,7 +1015,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 24
"y": 33
},
"hiddenSeries": false,
"id": 45,
Expand All @@ -926,7 +1036,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.3",
"pluginVersion": "8.5.13",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -982,12 +1092,13 @@
},
{
"columns": [],
"datasource": "prometheus", "fontSize": "100%",
"datasource": "prometheus",
"fontSize": "100%",
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 32
"y": 41
},
"id": 27,
"links": [],
Expand Down Expand Up @@ -1253,7 +1364,7 @@
"h": 7,
"w": 24,
"x": 0,
"y": 39
"y": 48
},
"id": 36,
"links": [],
Expand Down Expand Up @@ -1468,12 +1579,13 @@
},
{
"columns": [],
"datasource": "prometheus", "fontSize": "100%",
"datasource": "prometheus",
"fontSize": "100%",
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 46
"y": 55
},
"id": 33,
"links": [],
Expand Down Expand Up @@ -1896,7 +2008,7 @@
"h": 7,
"w": 24,
"x": 0,
"y": 54
"y": 63
},
"id": 39,
"links": [],
Expand Down Expand Up @@ -2235,6 +2347,6 @@
"timezone": "",
"title": "Coherence Cache Details Dashboard",
"uid": "coh-cache-details",
"version": 1,
"version": 4,
"weekStart": ""
}
Loading

0 comments on commit 7e85ff0

Please sign in to comment.