diff --git a/dashboards/grafana/caches-summary-dashboard.json b/dashboards/grafana/caches-summary-dashboard.json index 075db0478..3a3338620 100644 --- a/dashboards/grafana/caches-summary-dashboard.json +++ b/dashboards/grafana/caches-summary-dashboard.json @@ -110,7 +110,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "coherence_service", "thresholds": [], @@ -336,7 +336,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "coherence_service", "thresholds": [], diff --git a/dashboards/grafana/coherence-dashboard-main.json b/dashboards/grafana/coherence-dashboard-main.json index 5468575a7..30d70b429 100644 --- a/dashboards/grafana/coherence-dashboard-main.json +++ b/dashboards/grafana/coherence-dashboard-main.json @@ -1760,7 +1760,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], @@ -2180,7 +2180,7 @@ "link": true, "linkTargetBlank": false, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], @@ -2408,7 +2408,7 @@ "decimals": 2, "link": true, "linkTooltip": "", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "coherence_service", "thresholds": [], @@ -2543,7 +2543,7 @@ "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "link": true, - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "coherence_service", "thresholds": [], diff --git a/dashboards/grafana/coherence-executor-detail.json b/dashboards/grafana/coherence-executor-detail.json new file mode 100644 index 000000000..b48158566 --- /dev/null +++ b/dashboards/grafana/coherence-executor-detail.json @@ -0,0 +1,550 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "prometheus", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": 19, + "iteration": 1641538562880, + "links": [ + { + "icon": "external link", + "includeVars": true, + "keepTime": true, + "tags": [], + "title": "Back to Executors Summary Dashboard", + "type": "link", + "url": "/d/coh-executors-summary/executors-summary-dashboard" + }, + { + "icon": "dashboard", + "includeVars": true, + "keepTime": true, + "tags": [], + "title": "Back to Main Dashboard", + "type": "link", + "url": "/d/coh-main/coherence-dashboard-main" + }, + { + "asDropdown": true, + "icon": "external link", + "includeVars": true, + "keepTime": true, + "tags": [ + "dashboard" + ], + "title": "Available Dashboards", + "type": "dashboards" + } + ], + "panels": [ + { + "content": "

Executor Detail - $ExecutorName

", + "datasource": "prometheus", + "gridPos": { + "h": 2, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 35, + "links": [], + "mode": "html", + "title": "", + "type": "text" + }, + { + "columns": [], + "datasource": "prometheus", + "fontSize": "100%", + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 2 + }, + "id": 33, + "links": [], + "pageSize": null, + "scroll": true, + "showHeader": true, + "sort": { + "col": 1, + "desc": false + }, + "styles": [ + { + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Machine", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "link": true, + "linkTooltip": "Drill down to machines summary", + "linkUrl": "/d/coh-machines-summary?var-ClusterName=$ClusterName", + "mappingType": 1, + "pattern": "machine", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "alias": "Member Name", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down to member details for ${__cell}", + "linkUrl": "/d/coh-member-details?var-ClusterName=$ClusterName&var-MemberName=${__cell}", + "mappingType": 1, + "pattern": "member", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "alias": "Member Id", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "mappingType": 1, + "pattern": "member_id", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "alias": "Executor Name", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "mappingType": 1, + "pattern": "name", + "thresholds": [ + "" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "State", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Value", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [ + { + "text": "JOINING", + "value": "1" + }, + { + "text": "RUNNING", + "value": "2" + }, + { + "text": "CLOSING GRACEFULLY", + "value": "3" + }, + { + "text": "CLOSING", + "value": "4" + }, + { + "text": "CLOSED", + "value": "5" + }, + { + "text": "REJECTING TASKS", + "value": "6" + } + ] + } + ], + "targets": [ + { + "expr": "avg(vendor:coherence_executor_state_code{cluster=~\"$ClusterName\",name=\"$ExecutorName\"}) by (machine, member, member_id, name)", + "format": "table", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } + ], + "title": "Executor Members", + "transform": "table", + "type": "table" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "prometheus", + "decimals": 0, + "description": "Total tasks in progress for this executor", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 37, + "legend": { + "avg": false, + "current": true, + "max": true, + "min": false, + "show": false, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null as zero", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(vendor:coherence_executor_tasks_in_progress_count{cluster=~\"$ClusterName\",name=\"$ExecutorName\"})", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "In Progress", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Tasks In Progress", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "label": "Task Count", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "prometheus", + "decimals": 0, + "description": "Total completed and rejected tasks for this executor", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 8 + }, + "hiddenSeries": false, + "id": 39, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, + "show": false, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(vendor:coherence_executor_tasks_completed_count{cluster=~\"$ClusterName\",name=\"$ExecutorName\"}) - sum(vendor:coherence_executor_tasks_completed_count{cluster=~\"$ClusterName\",name=\"$ExecutorName\"} offset $__interval)", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "Completed", + "refId": "A" + }, + { + "expr": "sum(vendor:coherence_executor_tasks_rejected_count{cluster=~\"$ClusterName\",name=\"$ExecutorName\"}) -sum(vendor:cohence_executor_tasks_rejected_count{cluster=~\"$ClusterName\",name=\"$ExecutorName\"} offset $__interval)", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rejected", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Completed/ Rejected Tasks", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "label": "Task Count", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "refresh": "5s", + "schemaVersion": 22, + "style": "dark", + "tags": [ + "dashboard" + ], + "templating": { + "list": [ + { + "allValue": null, + "current": { + }, + "datasource": "prometheus", + "definition": "", + "hide": 0, + "includeAll": false, + "index": -1, + "label": "Cluster Name", + "multi": false, + "name": "ClusterName", + "options": [], + "query": "label_values(vendor:coherence_cluster_size, cluster)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "prometheus", + "definition": "", + "hide": 2, + "includeAll": false, + "index": -1, + "label": "Coherence Version", + "multi": false, + "name": "CoherenceVersion", + "options": [], + "query": "label_values(vendor:coherence_cluster_size{cluster=~\"$ClusterName\"}, version)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "prometheus", + "definition": "label_values(vendor:coherence_executor_state_code{cluster=~\"$ClusterName\"}, name)", + "hide": 0, + "includeAll": false, + "index": -1, + "label": "Executor Name", + "multi": false, + "name": "ExecutorName", + "options": [ + { + } + ], + "query": "label_values(vendor:coherence_executor_state_code{cluster=~\"$ClusterName\"}, name)", + "refresh": 0, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Coherence Executor Detail", + "uid": "coh-executor-detail", + "variables": { + "list": [] + }, + "version": 3 +} \ No newline at end of file diff --git a/dashboards/grafana/coherence-executors-summary.json b/dashboards/grafana/coherence-executors-summary.json new file mode 100644 index 000000000..a6229b3f4 --- /dev/null +++ b/dashboards/grafana/coherence-executors-summary.json @@ -0,0 +1,510 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "prometheus", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": 18, + "iteration": 1641539225818, + "links": [ + { + "icon": "dashboard", + "includeVars": true, + "keepTime": true, + "tags": [], + "title": "Back to Main Dashboard", + "type": "link", + "url": "/d/coh-main/coherence-dashboard-main" + }, + { + "asDropdown": true, + "icon": "external link", + "includeVars": true, + "keepTime": true, + "tags": [ + "dashboard" + ], + "title": "Available Dashboards", + "type": "dashboards" + } + ], + "panels": [ + { + "content": "

Executors Summary - $ClusterName

", + "datasource": "prometheus", + "gridPos": { + "h": 2, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 35, + "links": [], + "mode": "html", + "title": "", + "type": "text" + }, + { + "columns": [], + "datasource": "prometheus", + "fontSize": "100%", + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 2 + }, + "id": 33, + "links": [], + "pageSize": null, + "scroll": true, + "showHeader": true, + "sort": { + "col": 1, + "desc": false + }, + "styles": [ + { + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Member Count", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "mappingType": 1, + "pattern": "Value #A", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "alias": "Executor", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down to executor details for ${__cell}", + "linkUrl": "/d/coh-executor-detail?var-ExecutorName=${__cell}&var-ClusterName=$ClusterName", + "mappingType": 1, + "pattern": "name", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "alias": "Tasks In Progress", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "mappingType": 1, + "pattern": "Value #B", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "alias": "Tasks Completed", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "mappingType": 1, + "pattern": "Value #C", + "thresholds": [ + "" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Tasks Rejected", + "align": "auto", + "colorMode": null, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "decimals": 0, + "pattern": "Value #D", + "thresholds": [ + "" + ], + "type": "number", + "unit": "short" + } + ], + "targets": [ + { + "expr": "count(vendor:coherence_executor_state_code{cluster=~\"$ClusterName\"}) by (name) ", + "format": "table", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + }, + { + "expr": "sum(vendor:coherence_executor_tasks_in_progress_count{cluster=~\"$ClusterName\"}) by (name) ", + "format": "table", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "B" + }, + { + "expr": "sum(vendor:coherence_executor_tasks_completed_count{cluster=~\"$ClusterName\"}) by (name) ", + "format": "table", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "C" + }, + { + "expr": "sum(vendor:coherence_executor_tasks_rejected_count{cluster=~\"$ClusterName\"}) by (name) ", + "format": "table", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "D" + } + ], + "title": "Executors List", + "transform": "table", + "type": "table" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "prometheus", + "decimals": 0, + "description": "Total tasks in progress across all executors", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 37, + "legend": { + "avg": false, + "current": true, + "max": true, + "min": false, + "show": false, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null as zero", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(vendor:coherence_executor_tasks_in_progress_count{cluster=~\"$ClusterName\"})", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "In Progress", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Tasks In Progress (All Executors)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "label": "Task Count", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "prometheus", + "decimals": 0, + "description": "Total completed and rejected tasks across all executors", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 8 + }, + "hiddenSeries": false, + "id": 39, + "legend": { + "avg": false, + "current": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null as zero", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(vendor:coherence_executor_tasks_completed_count{cluster=~\"$ClusterName\"}) - sum(vendor:coherence_executor_tasks_completed_count{cluster=~\"$ClusterName\"} offset $__interval)", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "Completed", + "refId": "A" + }, + { + "expr": "sum(vendor:coherence_executor_tasks_rejected_count{cluster=~\"$ClusterName\"}) - sum(vendor:coherence_executor_tasks_rejected_count{cluster=~\"$ClusterName\"} offset $__interval) ", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rejected", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Completed/ Rejected Tasks (All Executors)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "label": "Task Count", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "refresh": "10s", + "schemaVersion": 22, + "style": "dark", + "tags": [ + "dashboard" + ], + "templating": { + "list": [ + { + "allValue": null, + "current": { + }, + "datasource": "prometheus", + "definition": "", + "hide": 0, + "includeAll": false, + "index": -1, + "label": "Cluster Name", + "multi": false, + "name": "ClusterName", + "options": [], + "query": "label_values(vendor:coherence_cluster_size, cluster)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "prometheus", + "definition": "", + "hide": 2, + "includeAll": false, + "index": -1, + "label": "Coherence Version", + "multi": false, + "name": "CoherenceVersion", + "options": [], + "query": "label_values(vendor:coherence_cluster_size{cluster=~\"$ClusterName\"}, version)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Coherence Executors Summary", + "uid": "coh-executors-summary", + "variables": { + "list": [] + }, + "version": 4 +} \ No newline at end of file diff --git a/dashboards/grafana/federation-details-dashboard.json b/dashboards/grafana/federation-details-dashboard.json index 3c805ce0f..6a7c70196 100644 --- a/dashboards/grafana/federation-details-dashboard.json +++ b/dashboards/grafana/federation-details-dashboard.json @@ -123,7 +123,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "coherence_service='$ServiceName'", "thresholds": [], @@ -1041,7 +1041,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "coherence_service='$ServiceName'", "thresholds": [], diff --git a/dashboards/grafana/http-servers-summary-dashboard.json b/dashboards/grafana/http-servers-summary-dashboard.json index f9dcda402..d94e1cd3c 100644 --- a/dashboards/grafana/http-servers-summary-dashboard.json +++ b/dashboards/grafana/http-servers-summary-dashboard.json @@ -112,7 +112,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], diff --git a/dashboards/grafana/member-details-dashboard.json b/dashboards/grafana/member-details-dashboard.json index 19513cb56..9c1d93f26 100644 --- a/dashboards/grafana/member-details-dashboard.json +++ b/dashboards/grafana/member-details-dashboard.json @@ -543,7 +543,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], diff --git a/dashboards/grafana/persistence-summary-dashboard.json b/dashboards/grafana/persistence-summary-dashboard.json index c7984f780..b5ee35565 100644 --- a/dashboards/grafana/persistence-summary-dashboard.json +++ b/dashboards/grafana/persistence-summary-dashboard.json @@ -91,7 +91,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], diff --git a/dashboards/grafana/proxy-server-detail-dashboard.json b/dashboards/grafana/proxy-server-detail-dashboard.json index 8ab9f7164..1818b2cc1 100644 --- a/dashboards/grafana/proxy-server-detail-dashboard.json +++ b/dashboards/grafana/proxy-server-detail-dashboard.json @@ -122,7 +122,7 @@ "decimals": 2, "link": true, "linkTooltip": "", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], diff --git a/dashboards/grafana/proxy-servers-summary-dashboard.json b/dashboards/grafana/proxy-servers-summary-dashboard.json index 439b007cd..ec03061b8 100644 --- a/dashboards/grafana/proxy-servers-summary-dashboard.json +++ b/dashboards/grafana/proxy-servers-summary-dashboard.json @@ -112,7 +112,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], diff --git a/dashboards/grafana/service-details-dashboard.json b/dashboards/grafana/service-details-dashboard.json index b70b1e53f..4b4a2d11c 100644 --- a/dashboards/grafana/service-details-dashboard.json +++ b/dashboards/grafana/service-details-dashboard.json @@ -322,7 +322,7 @@ "steppedLine": false, "targets": [ { - "expr": "((sum(vendor:coherence_service_thread_count{cluster=\"$ClusterName\",name='$ServiceName'}) by (member) -sum(vendor:coherence_service_thread_idle_count{cluster=\"$ClusterName\",name='$ServiceName'}) by (member)) / (sum(vendor:coherence_service_thread_count{cluster=\"$ClusterName\",name='$ServiceName'}) by (member))) > 0", + "expr": "((sum(vendor:coherence_service_thread_count{cluster=\"$ClusterName\",name='$ServiceName'}) by (member) -sum(vendor:coherence_service_thread_idle_count{cluster=\"$ClusterName\",name='$ServiceName'}) by (member)) / (sum(vendor:coherence_service_thread_count{cluster=\"$ClusterName\",name='$ServiceName'}) by (member)))", "format": "time_series", "instant": false, "interval": "", diff --git a/dashboards/grafana/services-summary-dashboard.json b/dashboards/grafana/services-summary-dashboard.json index 06ecd36f4..1e86acb54 100644 --- a/dashboards/grafana/services-summary-dashboard.json +++ b/dashboards/grafana/services-summary-dashboard.json @@ -141,7 +141,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "coherence_service", "thresholds": [], @@ -289,7 +289,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], @@ -515,7 +515,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], @@ -613,7 +613,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], @@ -711,7 +711,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], @@ -809,7 +809,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], @@ -943,7 +943,7 @@ "decimals": 2, "link": true, "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell}&var-ClusterName=$ClusterName", + "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", "mappingType": 1, "pattern": "name", "thresholds": [], diff --git a/docs/images/grafana-executor-detail.png b/docs/images/grafana-executor-detail.png new file mode 100644 index 000000000..f372fea10 Binary files /dev/null and b/docs/images/grafana-executor-detail.png differ diff --git a/docs/images/grafana-executors-summary.png b/docs/images/grafana-executors-summary.png new file mode 100644 index 000000000..51d40a645 Binary files /dev/null and b/docs/images/grafana-executors-summary.png differ diff --git a/docs/metrics/040_dashboards.adoc b/docs/metrics/040_dashboards.adoc index f1e760dbc..cfb945410 100644 --- a/docs/metrics/040_dashboards.adoc +++ b/docs/metrics/040_dashboards.adoc @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// - Copyright (c) 2020, 2021, Oracle and/or its affiliates. + Copyright (c) 2020, 2022, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. @@ -28,6 +28,7 @@ NOTE: Note: The Grafana dashboards require Coherence metrics, which is available .. <> .. <> .. <> +.. <> [#navigation] == Navigation @@ -235,3 +236,22 @@ Shows an overview of all HTTP Servers running in the cluster including metrics s * RAM and Flash compactions image::../images/grafana-elastic-data.png[Elastic Data,width="950",align="center"] + +[#executors] +=== 11. Executors Summary & Details Dashboards + +Shows an overview of all Executors running in the cluster including metrics such as: + +* Tasks in Progress + +* Completed and Rejected Tasks + +* Individual Executor status + +==== Executors Summary + +image::../images/grafana-executors-summary.png[Executors Summary,width="950",align="center"] + +==== Executor Details + +image::../images/grafana-executor-detail.png[Executor Detail,width="950",align="center"]