diff --git a/dashboards/grafana/alerts-dashboard.json b/dashboards/grafana/alerts-dashboard.json deleted file mode 100644 index 576f6fe5f..000000000 --- a/dashboards/grafana/alerts-dashboard.json +++ /dev/null @@ -1,1454 +0,0 @@ -{ - "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": 28, - "links": [ - { - "icon": "dashboard", - "includeVars": false, - "keepTime": true, - "tags": [], - "title": "Back to Main Dashboard", - "type": "link", - "url": "/d/coh-main" - } - ], - "panels": [ - { - "content": "

This dashboard is purely used to generate useful alerts because of a limitation in Grafana that
\ndoes not currently allow for using alerts when using template variables.\n
\nThese items on this dashboard are not meant to be used for general monitoring.

", - "gridPos": { - "h": 4, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 4, - "links": [], - "mode": "html", - "title": "README", - "type": "text" - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "last" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "for": "0m", - "frequency": "10s", - "handler": 1, - "name": "Recent Departures Alert", - "noDataState": "ok", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "decimals": 0, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 4 - }, - "id": 2, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Members Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Members Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-members-summary/members-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(delta(vendor:coherence_cluster_members_departure_count[5m]))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Recent Cluster Departures", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Recent Departures (last 5 min)", - "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": "", - "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 - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 70 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "frequency": "10s", - "handler": 1, - "name": "Total Heap % Usage Alert", - "noDataState": "ok", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 4 - }, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Members Summary Dashboard", - "title": "Members Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-members-summary/members-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(vendor:coherence_memory_heap_memory_usage_used / vendor:coherence_memory_heap_memory_usage_max) by(cluster) * 100", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Cluster Name;:{{cluster}}", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 70 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Total Heap % Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "percent", - "label": "", - "logBase": 1, - "max": "100", - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 20 - ], - "type": "lt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "last" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "frequency": "30s", - "handler": 1, - "name": "Free Physical Memory Alert", - "noDataState": "ok", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 4 - }, - "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Machines Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Machines Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-machines-summary/machines-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(vendor:coherence_os_free_physical_memory_size / vendor:coherence_os_total_physical_memory_size) by (machine) * 100", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Free Physical Memory: {{machine}}", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "lt", - "value": 20 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Free Physical Memory", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 1, - "format": "percent", - "label": "", - "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 - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "1m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "last" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "0m", - "frequency": "10s", - "handler": 1, - "name": "Unbalanced Services Alert", - "noDataState": "ok", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 12 - }, - "id": 6, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Services Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Services Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-services-summary/services-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "count(avg(vendor:coherence_service_partitions_unbalanced{type=~\"DistributedCache|FederatedCache|PagedTopic\"}) by(name) > 0)", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Endangered Services", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Unbalanced Services", - "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": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "10s", - "now" - ] - }, - "reducer": { - "params": [], - "type": "last" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "0m", - "frequency": "30s", - "handler": 1, - "name": "Endangered Services alert", - "noDataState": "ok", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "description": "", - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 12 - }, - "id": 18, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Services Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Services Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-services-summary/services-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "count(vendor:coherence_partition_assignment_ha_status_code <= 1)", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Endangered Services", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Endangered Services", - "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": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "1m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "frequency": "60s", - "handler": 1, - "name": "Recent Guardian Recoveries Alert", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "decimals": 0, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 12 - }, - "id": 13, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Members Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Members Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-members-summary/members-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(delta(vendor:coherence_node_guard_recover_count[5m]))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Recent Guardian Recoveries", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Recent Guardian Recoveries (last 5 min)", - "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": "", - "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 - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "B", - "1m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "frequency": "60s", - "handler": 1, - "name": "Recent Guardian Terminations Alert", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "decimals": 0, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 20 - }, - "id": 14, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Machines Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Machines Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-machines-summary/machines-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(delta(vendor:coherence_node_guard_terminate_count[5m]))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Recent Guardian Terminations", - "refId": "B" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Recent Guardian Terminations (last 5 min)", - "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": "", - "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 - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 1 - ], - "type": "lt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "1m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "last" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "frequency": "10s", - "handler": 1, - "name": "Cluster Storage Members Alert", - "noDataState": "alerting", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "decimals": 0, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 20 - }, - "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Members Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Members Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-members-summary/members-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "count(vendor:coherence_cluster_size)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "lt", - "value": 1 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Cluster Storage Members", - "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": "", - "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 - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "0m", - "frequency": "10s", - "handler": 1, - "name": "Federation Errors Alert", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "decimals": 0, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 20 - }, - "id": 17, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Members Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Members Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-members-summary/members-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(delta(vendor:coherence_federation_destination_status[5m]))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Recent Federation Errors", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Federation Errors (last 5 min)", - "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": "", - "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 - } - }, - { - "alert": { - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "1m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "frequency": "60s", - "handler": 1, - "name": "Outgoing Byte Backlog Alert", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 28 - }, - "id": 16, - "legend": { - "avg": false, - "current": true, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "dashboard": "Proxy Servers Summary Dashboard", - "includeVars": true, - "keepTime": true, - "title": "Proxy Servers Summary Dashboard", - "type": "dashboard", - "url": "/d/coh-proxy-services-summary/proxy-servers-summary-dashboard" - } - ], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "vendor:coherence_connection_manager_outgoing_byte_backlog", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Outgoing Byte Backlog", - "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": "", - "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": "30s", - "schemaVersion": 18, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "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 Alerts Dashboard", - "uid": "coh-alerts", - "version": 1 -} diff --git a/dashboards/grafana/cache-details-dashboard.json b/dashboards/grafana/cache-details-dashboard.json index ffb69131a..19c5b80bf 100644 --- a/dashboards/grafana/cache-details-dashboard.json +++ b/dashboards/grafana/cache-details-dashboard.json @@ -16,8 +16,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 25, - "iteration": 1715648994412, + "id": 17, "links": [ { "icon": "dashboard", @@ -64,10 +63,15 @@ "id": 38, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Cache Details - $ServiceName / $CacheName

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -129,10 +133,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -201,10 +205,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", + "expr": "sum(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -272,10 +276,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_storage_manager_index_total_units{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", + "expr": "sum(coherence_storage_manager_index_total_units{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -347,10 +351,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_storage_manager_non_optimized_query_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", + "expr": "sum(coherence_storage_manager_non_optimized_query_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -422,11 +426,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_non_optimized_query_total_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", + "expr": "sum(coherence_storage_manager_non_optimized_query_total_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -498,11 +502,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "max(vendor:coherence_storage_manager_max_query_duration_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", + "expr": "max(coherence_storage_manager_max_query_duration_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -520,6 +524,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -578,7 +584,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -589,7 +596,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",tier=\"back\",name=\"$CacheName\"})", + "expr": "sum(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",tier=\"back\",name=\"$CacheName\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -598,7 +605,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_index_total_units{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"})", + "expr": "sum(coherence_storage_manager_index_total_units{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "Index Memory", @@ -617,6 +624,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -675,8 +684,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -686,7 +696,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_storage_manager_eviction_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) - sum(vendor:coherence_storage_manager_eviction_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"} offset $__interval) > 0 ", + "expr": "sum(coherence_storage_manager_eviction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) - sum(coherence_storage_manager_eviction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"} offset $__interval) > 0 ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -706,6 +716,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -765,8 +777,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -778,7 +791,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_storage_manager_listener_key_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"})", + "expr": "sum(coherence_storage_manager_listener_key_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -789,7 +802,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_storage_manager_listener_filter_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"})", + "expr": "sum(coherence_storage_manager_listener_filter_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"})", "format": "time_series", "hide": false, "interval": "", @@ -811,6 +824,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -873,7 +888,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -885,7 +901,7 @@ { "datasource": "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", + "expr": "sum(coherence_storage_manager_events_dispatched{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) - sum(coherence_storage_manager_events_dispatched{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -906,6 +922,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -964,8 +982,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -977,7 +996,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_cache_prunes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) - sum(vendor:coherence_cache_prunes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} offset $__interval) > 0 ", + "expr": "sum(coherence_cache_prunes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) - sum(coherence_cache_prunes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} offset $__interval) > 0 ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -998,6 +1017,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1056,8 +1077,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -1069,7 +1091,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_cache_prunes_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) - sum(vendor:coherence_cache_prunes_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} offset $__interval) > 0 ", + "expr": "sum(coherence_cache_prunes_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) - sum(coherence_cache_prunes_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} offset $__interval) > 0 ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1082,9 +1104,278 @@ "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Size" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Gets" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Puts" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Hits" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Misses" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Hit Probability" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 0 + }, + { + "color": "rgba(50, 172, 45, 0.97)", + "value": 0 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "Prunes" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #H" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Memory" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 24, @@ -1093,187 +1384,23 @@ }, "id": 27, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 5, - "desc": false - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Size", - "align": "auto", - "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": "none" - }, - { - "alias": "Total Gets", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Total Puts", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Cache Hits", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Cache Misses", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Hit Probability", - "align": "auto", - "colorMode": "cell", - "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 #F", - "thresholds": [ - "0.75", - "0.90" - ], - "type": "number", - "unit": "percentunit" - }, - { - "alias": "Member", - "align": "auto", - "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": "number", - "unit": "short" - }, - { - "alias": "Prunes", - "align": "auto", - "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 #G", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Cache Memory", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 1, - "mappingType": 1, - "pattern": "Value #H", - "thresholds": [], - "type": "number", - "unit": "decbytes" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1282,7 +1409,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",tier=\"back\",name=\"$CacheName\"}) by(member)", + "expr": "sum(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",tier=\"back\",name=\"$CacheName\"}) by(member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1291,7 +1418,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_total_gets{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "expr": "sum(coherence_cache_total_gets{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1300,7 +1427,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_total_puts{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "expr": "sum(coherence_cache_total_puts{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1308,7 +1435,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_hits{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "expr": "sum(coherence_cache_hits{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1317,7 +1444,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_prunes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "expr": "sum(coherence_cache_prunes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1326,7 +1453,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_misses{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "expr": "sum(coherence_cache_misses{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1335,7 +1462,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_hits{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member) / (sum(vendor:coherence_cache_hits{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member) + sum(vendor:coherence_cache_misses{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member) ) ", + "expr": "sum(coherence_cache_hits{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member) / (sum(coherence_cache_hits{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member) + sum(coherence_cache_misses{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member) ) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -1344,195 +1471,849 @@ } ], "title": "Back Cache and Access Counts for Cache $CacheName", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 48 - }, - "id": 36, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:3475", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:3476", - "alias": "Total Gets Millis", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "$$hashKey": "object:3477", - "alias": "Total Puts Millis", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "$$hashKey": "object:3478", - "alias": "Cache Hits Millis", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "$$hashKey": "object:3479", - "alias": "Cache Misses Millis", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "$$hashKey": "object:3480", - "alias": "Member", - "align": "auto", - "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": "number", - "unit": "short" - }, - { - "$$hashKey": "object:3481", - "alias": "Total Prunes Millis", - "align": "auto", - "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 #G", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "$$hashKey": "object:3482", - "alias": "Max Query Duration", - "align": "auto", - "colorMode": "cell", - "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": 2, - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [ - "1", - "100" - ], - "type": "number", - "unit": "ms" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, - { - "$$hashKey": "object:3483", - "alias": "Store Writes", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Gets Millis" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Puts Millis" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Hits Millis" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Misses Millis" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Prunes Millis" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Max Query Duration" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 100 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Store Writes" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 48 + }, + "id": 36, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "Value #F", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", + "targets": [ + { + "expr": "sum(coherence_cache_total_gets_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "B" + }, + { + "expr": "sum(coherence_cache_total_puts_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "refId": "C" + }, + { + "expr": "sum(coherence_cache_hits_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "D" + }, + { + "expr": "sum(coherence_cache_prunes_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "G" + }, + { + "expr": "sum(coherence_cache_misses_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "E" + }, + { + "expr": "sum(coherence_storage_max_query_duration_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } + ], + "title": "Back Cache and Access Times for Cache $CacheName", + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } } ], + "type": "table" + }, + { + "datasource": "prometheus", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Key Listeners" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Evictions" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Non Optimized Queries" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 100 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Optimized Queries" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Index Size" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Non Optimzed Query Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 3 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 100 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "Max Query Duration" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 3 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 1000 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #H" + }, + "properties": [ + { + "id": "displayName", + "value": "Eviction Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #I" + }, + "properties": [ + { + "id": "displayName", + "value": "Locks Pending" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #J" + }, + "properties": [ + { + "id": "displayName", + "value": "Locks Granted" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #K" + }, + "properties": [ + { + "id": "displayName", + "value": "Store Writes" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #L" + }, + "properties": [ + { + "id": "displayName", + "value": "Store Reads" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #M" + }, + "properties": [ + { + "id": "displayName", + "value": "Filter Listeners" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 55 + }, + "id": 33, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_total_gets_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_listener_key_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + }, + { + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_listener_filter_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "format": "table", + "hide": false, + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "M" + }, + { + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_eviction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", "format": "table", + "hide": false, "instant": true, "intervalFactor": 1, "legendFormat": "", "refId": "B" }, { - "expr": "sum(vendor:coherence_cache_total_puts_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_non_optimized_query_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, + "legendFormat": "", "refId": "C" }, { - "expr": "sum(vendor:coherence_cache_hits_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_optimized_query_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1540,333 +2321,543 @@ "refId": "D" }, { - "expr": "sum(vendor:coherence_cache_prunes_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_index_total_units{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", "format": "table", "instant": true, + "interval": "", "intervalFactor": 1, "legendFormat": "", - "refId": "G" + "refId": "E" }, { - "expr": "sum(vendor:coherence_cache_misses_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_non_optimized_query_total_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, "legendFormat": "", - "refId": "E" + "refId": "F" }, { - "expr": "sum(vendor:coherence_storage_max_query_duration_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_max_query_duration_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, "legendFormat": "", - "refId": "A" - } - ], - "title": "Back Cache and Access Times for Cache $CacheName", - "transform": "table", - "type": "table-old" - }, - { - "columns": [], - "datasource": "prometheus", - "fontSize": "100%", - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 55 - }, - "id": 33, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 12, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:8081", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:8082", - "alias": "Key Listeners", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:8083", - "alias": "Member", - "align": "auto", - "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": "number", - "unit": "none" - }, - { - "$$hashKey": "object:8084", - "alias": "Evictions", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:8085", - "alias": "Non Optimized Queries", - "align": "auto", - "colorMode": "value", - "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": [ - "1", - "100" - ], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:8086", - "alias": "Optimized Queries", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:8087", - "alias": "Index Size", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:8088", - "alias": "Non Optimzed Query Time", - "align": "auto", - "colorMode": "value", - "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": 3, - "mappingType": 1, - "pattern": "Value #F", - "thresholds": [ - "1", - "100" - ], - "type": "number", - "unit": "ms" + "refId": "G" }, { - "$$hashKey": "object:8089", - "alias": "Max Query Duration", - "align": "auto", - "colorMode": "value", - "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": 3, - "mappingType": 1, - "pattern": "Value #G", - "thresholds": [ - "1", - "1000" - ], - "type": "number", - "unit": "ms" + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_eviction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "H" }, { - "$$hashKey": "object:8090", - "alias": "", - "align": "auto", - "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": "", - "thresholds": [], - "type": "number", - "unit": "short" + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_locks_pending{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "I" }, { - "$$hashKey": "object:8091", - "alias": "Eviction Count", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "Value #H", - "thresholds": [], - "type": "number", - "unit": "short" + "datasource": "prometheus", + "expr": "sum(coherence_storage_manager_locks_granted{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "J" }, { - "$$hashKey": "object:8092", - "alias": "Locks Pending", - "align": "auto", - "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 #I", - "thresholds": [], - "type": "number", - "unit": "short" + "datasource": "prometheus", + "expr": "sum(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) by (member)", + "format": "table", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "K" }, { - "$$hashKey": "object:8093", - "alias": "Locks Granted", - "align": "auto", - "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 #J", - "thresholds": [], - "type": "number", - "unit": "short" - }, + "datasource": "prometheus", + "expr": "sum(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) by (member)", + "format": "table", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "L" + } + ], + "title": "Cache Storage Details for Cache $CacheName", + "transformations": [ { - "$$hashKey": "object:8094", - "alias": "Store Writes", - "align": "auto", - "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 #K", - "thresholds": [], - "type": "number", - "unit": "none" + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" + }, + { + "datasource": "prometheus", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } }, - { - "$$hashKey": "object:8095", - "alias": "Store Reads", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Size" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Gets" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Puts" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Hits" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Misses" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Hit Rate" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 100 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "Max Query Duration" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 3 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 1000 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #H" + }, + "properties": [ + { + "id": "displayName", + "value": "Eviction Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #I" + }, + "properties": [ + { + "id": "displayName", + "value": "Locks Pending" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #J" + }, + "properties": [ + { + "id": "displayName", + "value": "Locks Granted" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #K" + }, + "properties": [ + { + "id": "displayName", + "value": "Store Writes" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #L" + }, + "properties": [ + { + "id": "displayName", + "value": "Store Reads" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #M" + }, + "properties": [ + { + "id": "displayName", + "value": "Filter Listeners" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 63 + }, + "id": 49, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "Value #L", - "thresholds": [], - "type": "number", - "unit": "none" + "show": false }, - { - "$$hashKey": "object:11034", - "alias": "Filter Listeners", - "align": "auto", - "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 #M", - "thresholds": [], - "type": "number", - "unit": "none" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_listener_key_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "editorMode": "code", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -1875,17 +2866,8 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_listener_filter_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", - "format": "table", - "hide": false, - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "M" - }, - { - "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_eviction_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "editorMode": "code", + "expr": "sum(coherence_cache_total_gets{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) ", "format": "table", "hide": false, "instant": true, @@ -1895,8 +2877,10 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_non_optimized_query_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "editorMode": "code", + "expr": "sum(coherence_cache_total_puts{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member)", "format": "table", + "hide": false, "instant": true, "intervalFactor": 1, "legendFormat": "", @@ -1904,8 +2888,10 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_optimized_query_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "editorMode": "code", + "expr": "sum(coherence_cache_hits{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) ", "format": "table", + "hide": false, "instant": true, "intervalFactor": 1, "legendFormat": "", @@ -1913,319 +2899,68 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_index_total_units{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "editorMode": "code", + "expr": "sum(coherence_cache_misses{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member)", "format": "table", + "hide": false, "instant": true, - "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "E" }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_non_optimized_query_total_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", + "editorMode": "code", + "expr": "sum(coherence_cache_hits{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) / (sum(coherence_cache_hits{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) + sum(coherence_cache_misses{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) ) \n", "format": "table", + "hide": false, "instant": true, "intervalFactor": 1, "legendFormat": "", "refId": "F" - }, - { - "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_max_query_duration_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "G" - }, - { - "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_eviction_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "H" - }, - { - "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_locks_pending{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "I" - }, - { - "datasource": "prometheus", - "expr": "sum(vendor:coherence_storage_manager_locks_granted{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', cache=\"$CacheName\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "J" - }, - { - "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) by (member)", - "format": "table", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "K" - }, - { - "datasource": "prometheus", - "expr": "sum(vendor:coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) by (member)", - "format": "table", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "L" - } - ], - "title": "Cache Storage Details for Cache $CacheName", - "transform": "table", - "type": "table-old" - }, - { - "columns": [], - "datasource": "prometheus", - "fontSize": "100%", - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 63 - }, - "id": 39, - "links": [], - "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": "Size", - "align": "auto", - "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": "none" - }, - { - "alias": "Total Gets", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Total Puts", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Cache Hits", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Cache Misses", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Hit Probability", - "align": "auto", - "colorMode": "cell", - "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 #F", - "thresholds": [ - "0.75", - "0.90" - ], - "type": "number", - "unit": "percentunit" - }, - { - "alias": "Member", - "align": "auto", - "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": "number", - "unit": "short" - }, - { - "alias": "Prunes", - "align": "auto", - "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 #G", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" } ], - "targets": [ - { - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - }, - { - "expr": "sum(vendor:coherence_cache_total_gets{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "B" - }, - { - "expr": "sum(vendor:coherence_cache_total_puts{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "refId": "C" - }, - { - "expr": "sum(vendor:coherence_cache_hits{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "D" - }, - { - "expr": "sum(vendor:coherence_cache_misses{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "E" - }, + "title": "Front Cache and Access Counts for Cache $CacheName", + "transformations": [ { - "expr": "sum(vendor:coherence_cache_hits{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) / (sum(vendor:coherence_cache_hits{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) + sum(vendor:coherence_cache_misses{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"front\"}) by (member) ) ", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "F" + "id": "merge", + "options": { + "reducers": [] + } } ], - "title": "Front Cache and Access Counts for Cache $CacheName", - "transform": "table", - "type": "table-old" + "type": "table" } ], "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 @@ -2239,7 +2974,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, @@ -2264,7 +2999,7 @@ "name": "ServiceName", "options": [], "query": { - "query": "label_values(vendor:coherence_service_member_count{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_member_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-ServiceName-Variable-Query" }, "refresh": 1, @@ -2289,7 +3024,7 @@ "name": "CacheName", "options": [], "query": { - "query": "label_values(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", + "query": "label_values(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", "refId": "prometheus-CacheName-Variable-Query" }, "refresh": 1, @@ -2335,6 +3070,6 @@ "timezone": "", "title": "Coherence Cache Details Dashboard", "uid": "coh-cache-details", - "version": 1, + "version": 9, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/cache-store-details-dashboard.json b/dashboards/grafana/cache-store-details-dashboard.json index ad62ae7d3..97f81a96f 100644 --- a/dashboards/grafana/cache-store-details-dashboard.json +++ b/dashboards/grafana/cache-store-details-dashboard.json @@ -16,8 +16,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 8, - "iteration": 1715649775627, + "id": 1, "links": [ { "icon": "dashboard", @@ -64,10 +63,15 @@ "id": 38, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Cache Store Details - $ServiceName / $CacheName

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -130,10 +134,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -203,10 +207,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_queue_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"}) ", + "expr": "sum(coherence_cache_queue_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"}) ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -276,10 +280,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", + "expr": "sum(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -349,10 +353,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_cache_store_average_batch_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", + "expr": "avg(coherence_cache_store_average_batch_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -422,10 +426,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_store_failures{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", + "expr": "sum(coherence_cache_store_failures{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -495,10 +499,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", + "expr": "sum(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -518,6 +522,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -577,7 +583,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -587,7 +594,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) - \nsum(vendor:coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"} offset $__interval) > 0", + "expr": "sum(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) - \nsum(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -608,6 +615,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -644,10 +653,6 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, @@ -667,7 +672,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -677,7 +683,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) - \nsum(vendor:coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"} offset $__interval) > 0", + "expr": "sum(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) - \nsum(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -690,288 +696,460 @@ "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", - "description": "", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Queue Size" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Store Writes" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Avg Batch Size" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "auto" + } + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Write Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Store Reads" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Read Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "Avg Write Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 3 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "auto" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #H" + }, + "properties": [ + { + "id": "displayName", + "value": "Eviction Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #H" + }, + "properties": [ + { + "id": "displayName", + "value": "Avg Read Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #M" + }, + "properties": [ + { + "id": "displayName", + "value": "Filter Listeners" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 25 }, - "id": 47, - "showHeader": true, - "sort": { - "col": 1, - "desc": false - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Queue Size", - "align": "auto", - "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": false, - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Member", - "align": "auto", - "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 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": "Store Writes", - "align": "auto", - "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 #B", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Avg Batch Size", - "align": "auto", - "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 #C", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "", - "align": "auto", - "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": "", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Total Write Time", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "alias": "Store Reads", - "align": "auto", - "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 #E", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Total Read Time", - "align": "auto", - "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 #F", - "thresholds": [], - "type": "number", - "unit": "dtdurationms" - }, - { - "alias": "Avg Write Time", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #G", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "alias": "Avg Read Time", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "id": 48, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 1, - "mappingType": 1, - "pattern": "Value #H", - "thresholds": [], - "type": "number", - "unit": "ms" + "show": false }, - { - "alias": "", - "align": "right", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_cache_queue_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_cache_queue_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", "instant": true, - "interval": "", + "intervalFactor": 1, "legendFormat": "", "refId": "A" }, { - "expr": "avg(vendor:coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", + "hide": false, "instant": true, - "interval": "", + "intervalFactor": 1, "legendFormat": "", "refId": "B" }, { - "expr": "avg(vendor:coherence_cache_store_average_batch_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_cache_store_average_batch_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", + "hide": false, "instant": true, - "interval": "", + "intervalFactor": 1, "legendFormat": "", "refId": "C" }, { - "expr": "avg(vendor:coherence_cache_store_write_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} / \n vendor:coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_cache_store_write_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", + "hide": false, "instant": true, - "interval": "", + "intervalFactor": 1, "legendFormat": "", - "refId": "G" + "refId": "D" }, { - "expr": "avg(vendor:coherence_cache_store_write_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_cache_store_write_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} / \n coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", + "hide": false, "instant": true, - "interval": "", + "intervalFactor": 1, "legendFormat": "", - "refId": "D" + "refId": "G" }, { - "expr": "avg(vendor:coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)\n", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", + "hide": false, "instant": true, - "interval": "", + "intervalFactor": 1, "legendFormat": "", "refId": "E" }, { - "expr": "avg(vendor:coherence_cache_store_read_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} / \n vendor:coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_cache_store_read_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", + "hide": false, "instant": true, - "interval": "", + "intervalFactor": 1, "legendFormat": "", - "refId": "H" + "refId": "F" }, { - "expr": "avg(vendor:coherence_cache_store_read_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_cache_store_read_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} / \n coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", "format": "table", + "hide": false, "instant": true, - "interval": "", + "intervalFactor": 1, "legendFormat": "", - "refId": "F" + "refId": "H" } ], "title": "Member Cache Store Details", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" } ], "refresh": "10s", - "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 @@ -985,7 +1163,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, @@ -999,7 +1177,7 @@ }, { "current": { - "selected": false + "selected": true }, "datasource": "prometheus", "definition": "", @@ -1010,7 +1188,7 @@ "name": "ServiceName", "options": [], "query": { - "query": "label_values(vendor:coherence_service_member_count{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_member_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-ServiceName-Variable-Query" }, "refresh": 1, @@ -1024,10 +1202,7 @@ }, { "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" + "selected": false }, "datasource": "prometheus", "definition": "", @@ -1038,7 +1213,7 @@ "name": "CacheName", "options": [], "query": { - "query": "label_values(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", + "query": "label_values(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", "refId": "prometheus-CacheName-Variable-Query" }, "refresh": 1, @@ -1084,6 +1259,6 @@ "timezone": "", "title": "Coherence Cache Store Details Dashboard", "uid": "coh-cachestore-details", - "version": 2, + "version": 7, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/caches-summary-dashboard.json b/dashboards/grafana/caches-summary-dashboard.json index 3cc3eea0b..278bddf68 100644 --- a/dashboards/grafana/caches-summary-dashboard.json +++ b/dashboards/grafana/caches-summary-dashboard.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 22, - "iteration": 1715649470452, + "id": 25, "links": [ { "icon": "dashboard", @@ -52,16 +51,198 @@ "id": 93, "links": [], "options": { - "content": "

Caches Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Caches Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to cache details for ${__data.fields[1]}", + "url": "/d/coh-cache-details?var-ServiceName=${__data.fields[1]:raw}&var-CacheName=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Primary Storage" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Memory" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Size" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 24, @@ -70,124 +251,22 @@ }, "id": 45, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Cache", - "align": "auto", - "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 cache details for ${__cell}", - "linkUrl": "/d/coh-cache-details?var-ClusterName=$ClusterName&var-ServiceName=${__cell_1}&var-CacheName=${__cell}", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "coherence_service", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Primary Storage", - "align": "auto", - "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": "number", - "unit": "decbytes" - }, - { - "alias": "Cache Memory", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Cache Size", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "none" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",tier=\"back\"}) by (coherence_service, name)", + "expr": "sum(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",tier=\"back\"}) by (coherence_service, name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -195,7 +274,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\",tier=\"back\"}) by (coherence_service, name)", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",tier=\"back\"}) by (coherence_service, name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -204,8 +283,15 @@ } ], "title": "Cache List", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -216,6 +302,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -276,7 +364,8 @@ "max" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -286,7 +375,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",tier=\"back\"})", + "expr": "sum(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",tier=\"back\"})", "format": "time_series", "instant": false, "interval": "", @@ -295,7 +384,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_storage_manager_index_total_units{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_storage_manager_index_total_units{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "instant": false, "intervalFactor": 1, @@ -307,9 +396,167 @@ "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[2]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Index Storage" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "cache" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to cache details for ${__data.fields[1]}", + "url": "/d/coh-cache-details?var-ServiceName=${__data.fields[2]:raw}&var-CacheName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 10, "w": 12, @@ -318,110 +565,24 @@ }, "id": 53, "links": [], - "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": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "coherence_service", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Index Storage", - "align": "auto", - "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": "number", - "unit": "decbytes" - }, - { - "alias": "Cache", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkTooltip": "Drill down to cache details for ${__cell}", - "linkUrl": "/d/coh-cache-details?var-ClusterName=$ClusterName&var-ServiceName=${__cell_2}&var-CacheName=${__cell}", - "mappingType": 1, - "pattern": "cache", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "alias": "Cache", - "align": "auto", - "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": false, - "linkUrl": "", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_storage_manager_index_total_units{cluster=\"${ClusterName:raw}\"}) by (coherence_service, cache )", + "datasource": "prometheus", + "editorMode": "code", + "expr": "sum(coherence_storage_manager_index_total_units{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service, cache)", "format": "table", "instant": true, "intervalFactor": 1, @@ -430,8 +591,15 @@ } ], "title": "Cache Index Size", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -442,6 +610,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -504,7 +674,8 @@ "max" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -514,7 +685,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_storage_manager_eviction_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_storage_manager_eviction_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_storage_manager_eviction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_storage_manager_eviction_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -535,6 +706,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -597,7 +770,8 @@ "max" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -609,7 +783,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_storage_manager_events_dispatched{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_storage_manager_events_dispatched{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_storage_manager_events_dispatched{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_storage_manager_events_dispatched{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -630,6 +804,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -692,7 +868,8 @@ "max" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -704,7 +881,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_storage_manager_events_dispatched{cluster=\"${ClusterName:raw}\"}) by (coherence_service) - sum(vendor:coherence_storage_manager_events_dispatched{cluster=\"${ClusterName:raw}\"} offset $__interval ) by (coherence_service) > 0", + "expr": "sum(coherence_storage_manager_events_dispatched{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service) - sum(coherence_storage_manager_events_dispatched{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval ) by (coherence_service) > 0", "format": "time_series", "instant": false, "interval": "", @@ -725,6 +902,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -787,7 +966,8 @@ "max" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -799,7 +979,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_cache_prunes{cluster=\"${ClusterName:raw}\",tier=\"back\"}) - sum(vendor:coherence_cache_prunes{cluster=\"${ClusterName:raw}\", tier=\"back\"} offset $__interval) > 0", + "expr": "sum(coherence_cache_prunes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",tier=\"back\"}) - sum(coherence_cache_prunes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", tier=\"back\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -820,6 +1000,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -882,7 +1064,8 @@ "max" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -894,7 +1077,7 @@ { "datasource": "prometheus", "editorMode": "code", - "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) > 0", + "expr": "sum(coherence_cache_prunes_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",tier=\"back\"}) - sum(coherence_cache_prunes_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", tier=\"back\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -908,13 +1091,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 @@ -928,7 +1132,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, @@ -953,7 +1157,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, @@ -980,7 +1184,7 @@ "name": "Services", "options": [], "query": { - "query": "label_values(vendor:coherence_service_request_max_duration{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_request_max_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-Services-Variable-Query" }, "refresh": 1, @@ -995,8 +1199,12 @@ { "current": { "selected": false, - "text": "All", - "value": "$__all" + "text": [ + "All" + ], + "value": [ + "$__all" + ] }, "datasource": "prometheus", "definition": "", @@ -1007,7 +1215,7 @@ "name": "Caches", "options": [], "query": { - "query": "label_values(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\"}, name) ", + "query": "label_values(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name) ", "refId": "prometheus-Caches-Variable-Query" }, "refresh": 1, @@ -1053,6 +1261,6 @@ "timezone": "", "title": "Coherence Caches Summary Dashboard", "uid": "coh-caches-summary", - "version": 1, + "version": 6, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/coherence-dashboard-main.json b/dashboards/grafana/coherence-dashboard-main.json index 4d9aabb2f..403373ccb 100644 --- a/dashboards/grafana/coherence-dashboard-main.json +++ b/dashboards/grafana/coherence-dashboard-main.json @@ -13,7 +13,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", + "expr": "changes(coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -29,7 +29,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_service_owned_partitions_primary{cluster=\"${ClusterName:raw}\"}[60s])", + "expr": "changes(coherence_service_owned_partitions_primary{cluster=\"${ClusterName:raw}\"}[60s])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -45,19 +45,8 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 20, - "iteration": 1715648491975, + "id": 1, "links": [ - { - "icon": "dashboard", - "includeVars": true, - "keepTime": true, - "tags": [], - "title": "Manage Alerts", - "tooltip": "", - "type": "link", - "url": "/d/coh-alerts" - }, { "asDropdown": true, "icon": "external link", @@ -73,10 +62,7 @@ "liveNow": false, "panels": [ { - "datasource": { - "type": "prometheus", - "uid": "P1809F7CD0C75ACF3" - }, + "datasource": "prometheus", "gridPos": { "h": 2, "w": 24, @@ -86,10 +72,15 @@ "id": 101, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Cluster Overview - $CoherenceVersion

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -117,6 +108,23 @@ "links": [], "nameFilter": "", "onlyAlertsOnDashboard": false, + "options": { + "alertInstanceLabelFilter": "", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "noData": false, + "normal": false, + "pending": true + }, + "viewMode": "list" + }, "show": "current", "sortOrder": 1, "stateFilter": [ @@ -139,6 +147,23 @@ "links": [], "nameFilter": "", "onlyAlertsOnDashboard": false, + "options": { + "alertInstanceLabelFilter": "", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "noData": false, + "normal": false, + "pending": true + }, + "viewMode": "list" + }, "show": "changes", "sortOrder": 1, "stateFilter": [ @@ -229,10 +254,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}) ", + "expr": "count(coherence_cluster_size{namespace=~\"${Namespace:.*}\", cluster=\"${ClusterName:raw}\"}) ", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -306,10 +331,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(delta(vendor:coherence_cluster_members_departure_count{cluster=\"${ClusterName:raw}\"}[5m])) >= 0", + "expr": "avg(delta(coherence_cluster_members_departure_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[5m])) >= 0", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -390,10 +415,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_partition_assignment_ha_status_code{cluster=\"${ClusterName:raw}\"} <= 1)", + "expr": "count(coherence_partition_assignment_ha_status_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} <= 1)", "format": "time_series", "instant": true, "interval": "", @@ -465,10 +490,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -539,10 +564,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -616,10 +641,10 @@ "showThresholdLabels": true, "showThresholdMarkers": true }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}) / sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}) * 100 ", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) / sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) * 100 ", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -639,6 +664,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -700,7 +727,8 @@ "max" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -710,7 +738,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -718,7 +746,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -738,6 +766,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -805,7 +835,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -815,7 +846,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "avg(vendor:coherence_os_system_load_average{cluster=\"${ClusterName:raw}\"}) by (machine)", + "expr": "avg(coherence_os_system_load_average{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "time_series", "instant": false, "interval": "", @@ -828,10 +859,191 @@ "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", "description": "Total heap usage summarized by role.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Heap Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Heap Max" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "role" + }, + "properties": [ + { + "id": "displayName", + "value": "Role" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Heap Used %" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + }, + { + "color": "rgba(245, 54, 54, 0.9)" + } + ] + } + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 12, @@ -840,122 +1052,22 @@ }, "id": 122, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Total Heap Used", - "align": "auto", - "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 #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Total Heap Max", - "align": "auto", - "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": "decbytes" - }, - { - "alias": "Role", - "align": "auto", - "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": "role", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Member Count", - "align": "auto", - "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 #C", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Total Heap Used %", - "align": "auto", - "colorMode": "value", - "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": 2, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [ - ".5", - ".8" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "percentunit" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}) by (role)", + "expr": "count(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (role)", "format": "table", "instant": true, "intervalFactor": 1, @@ -963,7 +1075,7 @@ "refId": "C" }, { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}) by (role)", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (role)", "format": "table", "instant": true, "intervalFactor": 1, @@ -971,7 +1083,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}) by (role)", + "expr": "sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (role)", "format": "table", "instant": true, "intervalFactor": 1, @@ -979,7 +1091,7 @@ "refId": "B" }, { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}) by (role) / sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}) by (role) \n", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (role) / sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (role) \n", "format": "table", "instant": true, "intervalFactor": 1, @@ -988,62 +1100,103 @@ } ], "title": "Total Heap Used By Role After GC", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": "prometheus", "description": "Memory usage percentage by member role after GC.", "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 17 }, - "hiddenSeries": false, "id": 120, "interval": "", - "legend": { - "alignAsTable": false, - "avg": false, - "current": true, - "max": true, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "lastNotNull", + "max" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.5.27", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}) by (role) / sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}) by (role) \n", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (role) / sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (role) \n", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1051,122 +1204,168 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "Memory Usage % by Role After GC", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percentunit", - "logBase": 1, - "max": "1", - "min": "0", - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", "description": "The top $TopLimit Members that have the lowest physical memory % available.", - "fontSize": "100%", - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 24 - }, - "id": 104, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 3, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Free Physical Memory", - "align": "auto", - "colorMode": "value", - "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", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, "decimals": 2, - "mappingType": 1, - "pattern": "Value", - "thresholds": [ - ".80", - ".50" - ], - "type": "number", - "unit": "percentunit" - }, - { - "alias": "Machine", - "align": "auto", - "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 machines summary", - "linkUrl": "/d/coh-machines-summary?var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "machine", - "thresholds": [], - "type": "number", + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "short" }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Free Physical Memory" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + }, + { + "color": "rgba(50, 172, 45, 0.97)" + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "machine" + }, + "properties": [ + { + "id": "displayName", + "value": "Machine" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to machines summary", + "url": "/d/coh-machines-summary?$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 8, + "x": 0, + "y": 24 + }, + "id": 104, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "bottomk($TopLimit, avg(vendor:coherence_os_free_physical_memory_size{cluster=\"${ClusterName:raw}\"}/ vendor:coherence_os_total_physical_memory_size{cluster=\"${ClusterName:raw}\"}) by (machine))", + "expr": "bottomk($TopLimit, avg(coherence_os_free_physical_memory_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}/ coherence_os_total_physical_memory_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine))", "format": "table", "instant": true, "interval": "", @@ -1176,14 +1375,174 @@ } ], "title": "Top $TopLimit Machines - Physical Memory", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "The top $TopLimit Members that have the highest CPU Load % over the current time range.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Process CPU Load" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + }, + { + "color": "rgba(245, 54, 54, 0.9)" + } + ] + } + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 8, @@ -1192,93 +1551,22 @@ }, "id": 103, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Member", - "align": "auto", - "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": "Service", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Process CPU Load", - "align": "auto", - "colorMode": "value", - "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": 2, - "mappingType": 1, - "pattern": "Value", - "thresholds": [ - ".5", - ".8" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "percentunit" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "topk($TopLimit, sum(avg_over_time(vendor:coherence_os_process_cpu_load{cluster=\"${ClusterName:raw}\"}[$__range] )) by (member))", + "expr": "topk($TopLimit, sum(avg_over_time(coherence_os_process_cpu_load{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range] )) by (member))", "format": "table", "instant": true, "interval": "", @@ -1288,488 +1576,242 @@ } ], "title": "Top $TopLimit Loaded Members - Current Range", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "The top $TopLimit Members that have the highest heap memory % used over the current time range.", - "fontSize": "100%", - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 24 - }, - "id": 102, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 3, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Member", - "align": "auto", - "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": "Service", - "align": "auto", - "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", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, "decimals": 2, - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "short" }, - { - "alias": "% Memory Used", - "align": "auto", - "colorMode": "value", - "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": 2, - "mappingType": 1, - "pattern": "Value", - "thresholds": [ - ".50", - ".80" - ], - "type": "number", - "unit": "percentunit" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], - "targets": [ - { - "expr": "topk($TopLimit, avg(avg_over_time(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}[$__range]) / avg_over_time(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}[$__range])) by (member))", - "format": "table", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Top $TopLimit Members - Memory Used % - Current Range", - "transform": "table", - "type": "table-old" - }, - { - "columns": [], - "datasource": "prometheus", - "description": "The top $TopLimit Members that have the greatest Total GC Time over the current time range.", - "fontSize": "100%", - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 30 - }, - "id": 74, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "desc": false + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "% Memory Used" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + }, + { + "color": "rgba(245, 54, 54, 0.9)" + } + ] + } + } + ] + } + ] }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Member Name", - "align": "auto", - "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": "Service", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Total GC Time", - "align": "auto", - "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": "number", - "unit": "ms" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], - "targets": [ - { - "expr": " topk($TopLimit,sum(delta(vendor:coherence_gc_collection_time{cluster=\"${ClusterName:raw}\"}[$__range])) by (member)) > 0", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Top $TopLimit Members - Total GC Time - Current Range", - "transform": "table", - "type": "table-old" - }, - { - "columns": [], - "datasource": "prometheus", - "description": "The top $TopLimit Members that have the greatest change in the Task Count over the current time range.", - "fontSize": "100%", "gridPos": { "h": 6, "w": 8, - "x": 8, - "y": 30 + "x": 16, + "y": 24 }, - "id": 119, + "id": 102, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 3, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Member", - "align": "auto", - "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": "Service", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Task Count", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "none" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": " topk($TopLimit,sum(delta(vendor:coherence_service_task_count{cluster=\"${ClusterName:raw}\"}[$__range])) by (member)) > 0", + "datasource": "prometheus", + "editorMode": "code", + "expr": "topk($TopLimit, avg(avg_over_time(coherence_memory_heap_memory_usage_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range]) / avg_over_time(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range])) by (member))", "format": "table", "instant": true, + "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], - "title": "Top $TopLimit Members - Task Count - Current Range", - "transform": "table", - "type": "table-old" - }, - { - "columns": [], - "datasource": "prometheus", - "description": "The top $TopLimit Services that have the greatest change in the Task Count over the current time range.", - "fontSize": "100%", - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 30 - }, - "id": 73, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 3, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Member", - "align": "auto", - "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": "member", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Task Count", - "align": "auto", - "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", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], - "targets": [ + "title": "Top $TopLimit Members - Memory Used % - Current Range", + "transformations": [ { - "expr": " topk($TopLimit,sum(delta(vendor:coherence_service_task_count{cluster=\"${ClusterName:raw}\"}[$__range])) by (name)) > 0", - "format": "table", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" + "id": "merge", + "options": { + "reducers": [] + } } ], - "title": "Top $TopLimit Services - Task Count - Current Range", - "transform": "table", - "type": "table-old" + "type": "table" }, { "datasource": "prometheus", - "description": "Total task backlog per member.", + "description": "The top $TopLimit Members that have the greatest Total GC Time over the current time range.", "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "mode": "thresholds" }, "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "align": "auto", + "cellOptions": { + "type": "auto" }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "inspect": false }, - "decimals": 0, - "links": [], + "decimals": 2, + "displayName": "", "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1779,92 +1821,172 @@ }, "unit": "short" }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 36 - }, - "id": 114, - "links": [ - { - "title": "Members Summary Dashboard", - "url": "/d/coh-members-summary/members-summary-dashboard?$__url_time_range&$__all_variables" - } - ], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "8.5.27", - "targets": [ - { - "expr": "sum(vendor:coherence_service_task_backlog{cluster=\"${ClusterName:raw}\"}) by (member) > 0", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{member}}", - "refId": "A" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Total GC Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 8, + "x": 0, + "y": 30 + }, + "id": 74, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", + "targets": [ + { + "expr": " topk($TopLimit,sum(delta(coherence_gc_collection_time{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range])) by (member)) > 0", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" } ], - "title": "Task Backlog By Member", - "type": "timeseries" + "title": "Top $TopLimit Members - Total GC Time - Current Range", + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", - "description": "Total task backlog by service.", + "description": "The top $TopLimit Members that have the greatest change in the Task Count over the current time range.", "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "mode": "thresholds" }, "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "align": "auto", + "cellOptions": { + "type": "auto" }, - "thresholdsStyle": { - "mode": "off" - } + "inspect": false }, "decimals": 0, - "links": [], + "displayName": "", "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1874,152 +1996,767 @@ }, "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Task Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + } + ] }, "gridPos": { - "h": 8, + "h": 6, "w": 8, "x": 8, - "y": 36 + "y": 30 }, - "id": 113, - "links": [ - { - "title": "Services Summary Dashboard", - "url": "/d/coh-services-summary/services-summary-dashboard?$__url_time_range&$__all_variables" - } - ], + "id": 119, + "links": [], "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max" + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "displayMode": "list", - "placement": "bottom" + "show": false }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "showHeader": true }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_service_task_backlog{cluster=\"${ClusterName:raw}\"}) by (name)", - "format": "time_series", - "instant": false, + "datasource": "prometheus", + "editorMode": "code", + "expr": " topk($TopLimit,sum(delta(coherence_service_task_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range])) by (member)) > 0", + "format": "table", + "instant": true, "intervalFactor": 1, - "legendFormat": "{{name}}", + "legendFormat": "", "refId": "A" } ], - "title": "Task Backlog By Service", - "type": "timeseries" + "title": "Top $TopLimit Members - Task Count - Current Range", + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": "prometheus", - "decimals": 0, - "description": "Total Proxy Outgoing Byte Backlog by Service", + "description": "The top $TopLimit Services that have the greatest change in the Task Count over the current time range.", "fieldConfig": { "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 36 - }, - "hiddenSeries": false, - "id": 118, - "legend": { - "avg": false, - "current": true, - "hideZero": true, - "max": true, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [ - { - "title": "Proxy Servers Summary Dashboard", - "url": "/d/coh-proxy-services-summary/proxy-servers-summary-dashboard?$__url_time_range&$__all_variables" - } - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.5.27", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(vendor:coherence_connection_manager_outgoing_byte_backlog{cluster=\"${ClusterName:raw}\"}) by (name)", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Proxy Outgoing Byte Backlog by Service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, "decimals": 0, - "format": "decbytes", - "logBase": 1, - "min": "0", - "show": true + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - { - "decimals": 0, - "format": "short", - "logBase": 1, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Task Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 8, + "x": 16, + "y": 30 + }, + "id": 73, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", + "targets": [ + { + "expr": " topk($TopLimit,sum(delta(coherence_service_task_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range])) by (name)) > 0", + "format": "table", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" } ], - "yaxis": { - "align": false - } + "title": "Top $TopLimit Services - Task Count - Current Range", + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" + }, + { + "datasource": "prometheus", + "description": "Total task backlog per member.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 100, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 0, + "y": 36 + }, + "id": 114, + "links": [ + { + "title": "Members Summary Dashboard", + "url": "/d/coh-members-summary/members-summary-dashboard?$__url_time_range&$__all_variables" + } + ], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "8.5.27", + "targets": [ + { + "expr": "sum(coherence_service_task_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member) > 0", + "format": "time_series", + "instant": false, + "intervalFactor": 1, + "legendFormat": "{{member}}", + "refId": "A" + } + ], + "title": "Task Backlog By Member", + "type": "timeseries" + }, + { + "datasource": "prometheus", + "description": "Total task backlog by service.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 8, + "y": 36 + }, + "id": 113, + "links": [ + { + "title": "Services Summary Dashboard", + "url": "/d/coh-services-summary/services-summary-dashboard?$__url_time_range&$__all_variables" + } + ], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "8.5.27", + "targets": [ + { + "datasource": "prometheus", + "editorMode": "code", + "expr": "sum(coherence_service_task_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name)", + "format": "time_series", + "instant": false, + "intervalFactor": 1, + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "Task Backlog By Service", + "type": "timeseries" + }, + { + "datasource": "prometheus", + "description": "Total Proxy Outgoing Byte Backlog by Service", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 16, + "y": 36 + }, + "id": 118, + "links": [ + { + "title": "Proxy Servers Summary Dashboard", + "url": "/d/coh-proxy-services-summary/proxy-servers-summary-dashboard?$__url_time_range&$__all_variables" + } + ], + "options": { + "legend": { + "calcs": [ + "lastNotNull", + "max" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.0.13", + "targets": [ + { + "expr": "sum(coherence_connection_manager_outgoing_byte_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name)", + "format": "time_series", + "instant": false, + "intervalFactor": 1, + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "Proxy Outgoing Byte Backlog by Service", + "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", "description": "Services that have unbalanced partitions.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Unbalanced Partitions" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)" + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": -1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 0 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -2028,78 +2765,22 @@ }, "id": 52, "links": [], - "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": "Unbalanced Partitions", - "align": "auto", - "colorMode": "cell", - "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", - "thresholds": [ - "-1", - "0" - ], - "type": "number", - "unit": "short" - }, - { - "alias": "Service Name", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkTargetBlank": false, - "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_service_partitions_unbalanced{cluster=\"${ClusterName:raw}\", type=~\"DistributedCache|FederatedCache\"}) by(name) > 0", + "expr": "avg(coherence_service_partitions_unbalanced{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", type=~\"DistributedCache|FederatedCache\"}) by(name) > 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -2108,14 +2789,145 @@ } ], "title": "Current Suspect Services - Unbalanced Partitions", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "The top $TopLimit Members that have the greatest change in sent and received messages over the current time range.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Network Messages" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -2124,105 +2936,216 @@ }, "id": 75, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 3, - "desc": true + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", + "targets": [ + { + "expr": "topk($TopLimit, sum(coherence_node_packets_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} + coherence_node_packets_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_node_packets_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__range - coherence_node_packets_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__range) by (member))", + "format": "table", + "instant": true, + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } + ], + "title": "Top $TopLimit Members - Network - Current Range", + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" + }, + { + "datasource": "prometheus", + "description": "The current top $TopLimit caches, services and member with the highest Max Query Time.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Max Query Duration" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "cache" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "", + "url": "/d/coh-cache-details?var-ServiceName=${__data.fields[1]:raw}&var-CacheName=${__data.fields[2]}&range=$__range&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Member", - "align": "auto", - "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": "Service", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Network Messages", - "align": "auto", - "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", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], - "targets": [ - { - "expr": "topk($TopLimit, sum(vendor:coherence_node_packets_sent{cluster=\"${ClusterName:raw}\"} + vendor:coherence_node_packets_received{cluster=\"${ClusterName:raw}\"} - vendor:coherence_node_packets_sent{cluster=\"${ClusterName:raw}\"} offset $__range - vendor:coherence_node_packets_received{cluster=\"${ClusterName:raw}\"} offset $__range) by (member))", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Top $TopLimit Members - Network - Current Range", - "transform": "table", - "type": "table-old" - }, - { - "columns": [], - "datasource": "prometheus", - "description": "The current top $TopLimit caches, services and member with the highest Max Query Time.", - "fontSize": "100%", "gridPos": { "h": 6, "w": 12, @@ -2231,112 +3154,22 @@ }, "id": 86, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 4, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Max Query Duration", - "align": "auto", - "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": "number", - "unit": "ms" - }, - { - "alias": "Member", - "align": "auto", - "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, - "linkTargetBlank": false, - "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": "number", - "unit": "short" - }, - { - "alias": "Service", - "align": "auto", - "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": "", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "coherence_service", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Cache", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkTooltip": "", - "linkUrl": "/d/coh-cache-details?var-ClusterName=$ClusterName&var-ServiceName=${__cell_3}&var-CacheName=${__cell}&range=$__range", - "mappingType": 1, - "pattern": "cache", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "topk($TopLimit, sum(vendor:coherence_storage_max_query_duration_milis{cluster=\"${ClusterName:raw}\"}) by (member, service, cache)) > 0", + "expr": "topk($TopLimit, sum(coherence_storage_max_query_duration_milis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member, service, cache)) > 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -2345,14 +3178,192 @@ } ], "title": "Current Top $TopLimit Cache Max Query Times", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "The current top $TopLimit nodes with the highest number of Non-Optimized Queries.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Max Query Duration" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "cache" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "", + "url": "/d/coh-cache-details?var-ServiceName=${__data.fields[1]:raw}&var-CacheName=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -2361,111 +3372,22 @@ }, "id": 85, "links": [], - "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": "Max Query Duration", - "align": "auto", - "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": "number", - "unit": "ms" - }, - { - "alias": "Member", - "align": "auto", - "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, - "linkTargetBlank": false, - "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": "number", - "unit": "short" - }, - { - "alias": "Service", - "align": "auto", - "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, - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "coherence_service", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Cache", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkTooltip": "", - "linkUrl": "/d/coh-cache-details?var-ClusterName=$ClusterName&var-ServiceName=${__cell_3}&var-CacheName=${__cell}", - "mappingType": 1, - "pattern": "cache", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "topk($TopLimit, sum(vendor:coherence_storage_non_optimized_query_count{cluster=\"${ClusterName:raw}\"}) by (member, service, cache))> 0", + "expr": "topk($TopLimit, sum(coherence_storage_non_optimized_query_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member, service, cache))> 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -2474,8 +3396,15 @@ } ], "title": "Current Top $TopLimit Non-Optimized Queries", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -2485,6 +3414,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2520,8 +3451,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2548,7 +3478,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -2558,11 +3489,14 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_node_guard_recover_count{cluster=\"${ClusterName:raw}\"} - vendor:coherence_node_guard_recover_count{cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "datasource": "prometheus", + "editorMode": "code", + "expr": "coherence_node_guard_recover_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_node_guard_recover_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{member}}", + "range": true, "refId": "A" } ], @@ -2577,6 +3511,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2612,8 +3548,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2640,7 +3575,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -2650,7 +3586,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_node_guard_terminate_count{cluster=\"${ClusterName:raw}\"} - vendor:coherence_node_guard_terminate_count{cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_node_guard_terminate_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_node_guard_terminate_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -2663,56 +3599,51 @@ } ], "refresh": "30s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { "current": { - "selected": false }, "datasource": "prometheus", - "definition": "", + "definition": "label_values(coherence_cluster_size,namespace)", "hide": 0, "includeAll": false, - "label": "Cluster Name", + "label": "Namespace", "multi": false, - "name": "ClusterName", + "name": "Namespace", "options": [], "query": { - "query": "label_values(vendor:coherence_cluster_size, cluster)", - "refId": "prometheus-ClusterName-Variable-Query" + "query": "label_values(coherence_cluster_size,namespace)", + "refId": "prometheus-Namespace-Variable-Query" }, "refresh": 1, "regex": "", "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "sort": 0, + "type": "query" }, { "current": { - "selected": false }, "datasource": "prometheus", "definition": "", - "hide": 2, + "hide": 0, "includeAll": false, - "label": "Coherence Version", + "label": "Cluster Name", "multi": false, - "name": "CoherenceVersion", + "name": "ClusterName", "options": [], "query": { - "query": "label_values(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}, version)", - "refId": "prometheus-CoherenceVersion-Variable-Query" + "query": "label_values(coherence_cluster_size{namespace=~\"${Namespace:.*}\"}, cluster)", + "refId": "prometheus-ClusterName-Variable-Query" }, "refresh": 1, "regex": "", "skipUrlSync": false, - "sort": 0, + "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", @@ -2720,52 +3651,20 @@ }, { "current": { - "selected": false, - "text": "All", - "value": "$__all" + "isNone": true, + "selected": false }, "datasource": "prometheus", "definition": "", "hide": 2, - "includeAll": true, - "label": "Services", + "includeAll": false, + "label": "Coherence Version", "multi": false, - "name": "Services", - "options": [], - "query": { - "query": "label_values(vendor:coherence_service_request_max_duration{cluster=\"${ClusterName:raw}\"}, name)", - "refId": "prometheus-Services-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": "prometheus", - "definition": "", - "hide": 2, - "includeAll": true, - "label": "Caches", - "multi": true, - "name": "Caches", + "name": "CoherenceVersion", "options": [], "query": { - "query": "label_values(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\"}, name) ", - "refId": "prometheus-Caches-Variable-Query" + "query": "label_values(coherence_cluster_size{namespace=~\"${Namespace:.*}\",namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, version)", + "refId": "prometheus-CoherenceVersion-Variable-Query" }, "refresh": 1, "regex": "", diff --git a/dashboards/grafana/elastic-data-summary-dashboard.json b/dashboards/grafana/elastic-data-summary-dashboard.json index dd460f776..5849caac2 100644 --- a/dashboards/grafana/elastic-data-summary-dashboard.json +++ b/dashboards/grafana/elastic-data-summary-dashboard.json @@ -16,8 +16,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 21, - "iteration": 1715656073465, + "id": 8, "links": [ { "icon": "dashboard", @@ -53,10 +52,15 @@ "id": 2, "links": [], "options": { - "content": "

Elastic Data Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Elastic Data Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -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" } ], @@ -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": "", @@ -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": "", @@ -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": "", @@ -353,6 +360,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -414,7 +423,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -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, @@ -443,6 +453,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -504,7 +516,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -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, @@ -533,6 +546,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -545,7 +560,7 @@ "viz": false }, "lineInterpolation": "linear", - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -564,6 +579,7 @@ "links": [], "mappings": [], "min": 0, + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ @@ -596,7 +612,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -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, @@ -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, @@ -635,6 +652,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -666,6 +685,7 @@ "links": [], "mappings": [], "min": 0, + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ @@ -698,7 +718,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -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, @@ -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, @@ -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 @@ -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, @@ -765,7 +807,9 @@ }, { "current": { - "selected": false + "selected": false, + "text": "14.1.1.2206.8", + "value": "14.1.1.2206.8" }, "datasource": "prometheus", "definition": "", @@ -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, @@ -791,7 +835,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -822,6 +866,6 @@ "timezone": "", "title": "Coherence Elastic Data Summary Dashboard", "uid": "coh-elastic-data-summary", - "version": 1, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/executor-details.json b/dashboards/grafana/executor-details.json index c9534c232..5720e151e 100644 --- a/dashboards/grafana/executor-details.json +++ b/dashboards/grafana/executor-details.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 23, - "iteration": 1715650018918, + "id": 9, "links": [ { "icon": "external link", @@ -61,16 +60,247 @@ "id": 35, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Executor Detail - $ExecutorName

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "machine" + }, + "properties": [ + { + "id": "displayName", + "value": "Machine" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to machines summary", + "url": "/d/coh-machines-summary?$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[2]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member_id" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Id" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Executor Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": null + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "State" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + }, + { + "id": "mappings", + "value": [ + { + "options": { + "1": { + "index": 0, + "text": "JOINING" + }, + "2": { + "color": "green", + "index": 1, + "text": "RUNNING" + }, + "3": { + "color": "orange", + "index": 2, + "text": "CLOSING GRACEFULLY" + }, + "4": { + "color": "orange", + "index": 3, + "text": "CLOSING" + }, + "5": { + "index": 4, + "text": "CLOSED" + }, + "6": { + "color": "red", + "index": 5, + "text": "REJECTING TASKS" + } + }, + "type": "value" + } + ] + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -79,138 +309,22 @@ }, "id": 33, "links": [], - "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", - "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", - "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", - "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", - "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": [ - "" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "short" + "show": false }, - { - "alias": "State", - "align": "auto", - "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" - } - ] - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_executor_state_code{cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"}) by (machine, member, member_id, name)", + "expr": "avg(coherence_executor_state_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"}) by (machine, member, member_id, name)", "format": "table", "instant": true, "interval": "", @@ -220,8 +334,15 @@ } ], "title": "Executor Members", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -232,6 +353,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "Task Count", "axisPlacement": "auto", "barAlignment": 0, @@ -294,8 +417,9 @@ "lastNotNull", "max" ], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -305,7 +429,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_executor_tasks_in_progress_count{cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"})", + "expr": "sum(coherence_executor_tasks_in_progress_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -325,6 +449,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "Task Count", "axisPlacement": "auto", "barAlignment": 0, @@ -386,8 +512,9 @@ "calcs": [ "lastNotNull" ], - "displayMode": "hidden", - "placement": "right" + "displayMode": "list", + "placement": "right", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -397,7 +524,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_executor_tasks_completed_count{cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"}) - sum(vendor:coherence_executor_tasks_completed_count{cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"} offset $__interval) > 0", + "expr": "sum(coherence_executor_tasks_completed_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"}) - sum(coherence_executor_tasks_completed_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -405,7 +532,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_executor_tasks_rejected_count{cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"}) -sum(vendor:cohence_executor_tasks_rejected_count{cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"} offset $__interval) > 0", + "expr": "sum(coherence_executor_tasks_rejected_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"}) -sum(coherence_executor_tasks_rejected_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$ExecutorName\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -418,7 +545,7 @@ } ], "refresh": "5s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -427,7 +554,30 @@ "list": [ { "current": { - "selected": false + }, + "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, + "text": "my-cluster", + "value": "my-cluster" }, "datasource": "prometheus", "definition": "", @@ -438,7 +588,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, @@ -463,7 +613,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, @@ -477,13 +627,10 @@ }, { "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" + "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_executor_state_code{cluster=\"${ClusterName:raw}\"}, name)", + "definition": "label_values(coherence_executor_state_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "hide": 0, "includeAll": false, "label": "Executor Name", @@ -491,7 +638,7 @@ "name": "ExecutorName", "options": [], "query": { - "query": "label_values(vendor:coherence_executor_state_code{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_executor_state_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-ExecutorName-Variable-Query" }, "refresh": 1, @@ -537,6 +684,6 @@ "timezone": "", "title": "Coherence Executor Details", "uid": "coh-executor-details", - "version": 1, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/executors-summary.json b/dashboards/grafana/executors-summary.json index cc5cda331..f2dc884ac 100644 --- a/dashboards/grafana/executors-summary.json +++ b/dashboards/grafana/executors-summary.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 14, - "iteration": 1715649893622, + "id": 5, "links": [ { "icon": "dashboard", @@ -52,16 +51,190 @@ "id": 35, "links": [], "options": { - "content": "

Executors Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Executors Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Executor" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to executor details for ${__data.fields[1]}", + "url": "/d/coh-executor-details?var-ExecutorName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Tasks In Progress" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Tasks Completed" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Tasks Rejected" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -70,109 +243,22 @@ }, "id": 33, "links": [], - "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", - "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", - "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-details?var-ExecutorName=${__cell}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Tasks In Progress", - "align": "auto", - "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", - "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": [ - "" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "short" + "show": false }, - { - "alias": "Tasks Rejected", - "align": "auto", - "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" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_executor_state_code{cluster=\"${ClusterName:raw}\"}) by (name) ", + "expr": "count(coherence_executor_state_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name) ", "format": "table", "instant": true, "interval": "", @@ -181,7 +267,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_executor_tasks_in_progress_count{cluster=\"${ClusterName:raw}\"}) by (name) ", + "expr": "sum(coherence_executor_tasks_in_progress_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name) ", "format": "table", "instant": true, "interval": "", @@ -190,7 +276,7 @@ "refId": "B" }, { - "expr": "sum(vendor:coherence_executor_tasks_completed_count{cluster=\"${ClusterName:raw}\"}) by (name) ", + "expr": "sum(coherence_executor_tasks_completed_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name) ", "format": "table", "instant": true, "interval": "", @@ -199,7 +285,7 @@ "refId": "C" }, { - "expr": "sum(vendor:coherence_executor_tasks_rejected_count{cluster=\"${ClusterName:raw}\"}) by (name) ", + "expr": "sum(coherence_executor_tasks_rejected_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name) ", "format": "table", "instant": true, "interval": "", @@ -209,8 +295,15 @@ } ], "title": "Executors List", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -221,6 +314,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "Task Count", "axisPlacement": "auto", "barAlignment": 0, @@ -283,8 +378,9 @@ "lastNotNull", "max" ], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -294,7 +390,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_executor_tasks_in_progress_count{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_executor_tasks_in_progress_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -314,6 +410,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "Task Count", "axisPlacement": "auto", "barAlignment": 0, @@ -375,8 +473,9 @@ "calcs": [ "lastNotNull" ], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -386,7 +485,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_executor_tasks_completed_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_executor_tasks_completed_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_executor_tasks_completed_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_executor_tasks_completed_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -394,7 +493,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_executor_tasks_rejected_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_executor_tasks_rejected_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_executor_tasks_rejected_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_executor_tasks_rejected_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -407,7 +506,7 @@ } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -416,7 +515,30 @@ "list": [ { "current": { - "selected": false + }, + "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": true, + "text": "my-cluster", + "value": "my-cluster" }, "datasource": "prometheus", "definition": "", @@ -427,7 +549,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, @@ -443,6 +565,7 @@ "current": { "selected": false }, + "datasource": "prometheus", "definition": "", "hide": 2, "includeAll": false, @@ -451,7 +574,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, @@ -497,6 +620,6 @@ "timezone": "", "title": "Coherence Executors Summary", "uid": "coh-executors-summary", - "version": 1, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/federation-details-dashboard.json b/dashboards/grafana/federation-details-dashboard.json index 9895e4c76..abb87a17b 100644 --- a/dashboards/grafana/federation-details-dashboard.json +++ b/dashboards/grafana/federation-details-dashboard.json @@ -16,8 +16,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 9, - "iteration": 1715650361258, + "id": 22, "links": [ { "icon": "dashboard", @@ -63,16 +62,457 @@ "id": 2, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Federation Details - $ServiceName, Destiniation - $Destination

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Destination" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&var-ClusterName=$ClusterName" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Replicate %" + }, + { + "id": "unit", + "value": "percent" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "participant_type" + }, + "properties": [ + { + "id": "displayName", + "value": "Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Bytes Sent" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Entries Sent" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Records Sent" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Messages Sent" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Last Replicate All Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "Status" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + } + ] + } + }, + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "index": 0, + "text": "INITIAL" + }, + "1": { + "index": 1, + "text": "STARTING" + }, + "2": { + "color": "green", + "index": 2, + "text": "CONNECTING" + }, + "3": { + "color": "orange", + "index": 3, + "text": "CONNECT_WAIT" + }, + "4": { + "color": "green", + "index": 4, + "text": "IDLE" + }, + "5": { + "color": "green", + "index": 5, + "text": "READY" + }, + "6": { + "color": "green", + "index": 6, + "text": "SENDING" + }, + "7": { + "color": "orange", + "index": 7, + "text": "STOPPED" + }, + "8": { + "color": "orange", + "index": 8, + "text": "PAUSED" + }, + "9": { + "color": "red", + "index": 9, + "text": "ERROR" + }, + "10": { + "color": "orange", + "index": 10, + "text": "YIELDING" + }, + "11": { + "color": "red", + "index": 11, + "text": "DISCONNECTED" + }, + "12": { + "color": "orange", + "index": 12, + "text": "DISCONNECTING" + } + }, + "type": "value" + } + ] + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "node_id" + }, + "properties": [ + { + "id": "displayName", + "value": "Node Id" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -81,302 +521,23 @@ }, "id": 4, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 3, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:561", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:562", - "alias": "Destination", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "hidden", - "unit": "short" - }, - { - "$$hashKey": "object:563", - "alias": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "coherence_service='$ServiceName'", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:564", - "alias": "Replicate %", - "align": "auto", - "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 #A", - "thresholds": [], - "type": "number", - "unit": "percent" - }, - { - "$$hashKey": "object:565", - "alias": "Type", - "align": "auto", - "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": "participant_type", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:566", - "alias": "Bytes Sent", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:567", - "alias": "Entries Sent", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:568", - "alias": "Records Sent", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:569", - "alias": "Messages Sent", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:570", - "alias": "Last Replicate All Time", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #F", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "$$hashKey": "object:571", - "alias": "Status", - "align": "auto", - "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 #G", - "thresholds": [ - "" - ], - "type": "string", - "unit": "percent", - "valueMaps": [ - { - "$$hashKey": "object:707", - "text": "INITIAL", - "value": "0" - }, - { - "$$hashKey": "object:708", - "text": "STARTING", - "value": "1" - }, - { - "$$hashKey": "object:709", - "text": "CONNECTING", - "value": "2" - }, - { - "$$hashKey": "object:2149", - "text": "CONNECT_WAIT", - "value": "3" - }, - { - "$$hashKey": "object:2151", - "text": "IDLE", - "value": "4" - }, - { - "$$hashKey": "object:2153", - "text": "READY", - "value": "5" - }, - { - "$$hashKey": "object:2155", - "text": "SENDING", - "value": "6" - }, - { - "$$hashKey": "object:2157", - "text": "STOPPED", - "value": "7" - }, - { - "$$hashKey": "object:2159", - "text": "PAUSED", - "value": "8" - }, - { - "$$hashKey": "object:2161", - "text": "ERROR", - "value": "9" - }, - { - "$$hashKey": "object:2163", - "text": "YIELDING", - "value": "10" - }, - { - "$$hashKey": "object:2165", - "text": "DISCONNECTED", - "value": "11" - }, - { - "$$hashKey": "object:2167", - "text": "DISCONNECTING", - "value": "12" - } - ] - }, - { - "$$hashKey": "object:572", - "alias": "Node Id", - "align": "auto", - "colors": [ - "rgba(50, 172, 45, 0.97)", - "rgba(237, 129, 40, 0.89)", - "rgba(245, 54, 54, 0.9)" - ], - "decimals": 0, - "pattern": "node_id", - "thresholds": [ - "" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "short" + "show": false }, - { - "$$hashKey": "object:1086", - "alias": "Service", - "align": "auto", - "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": "coherence_service", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_federation_destination_total_bytes_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", + "expr": "sum(coherence_federation_destination_total_bytes_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", "format": "table", "instant": true, "intervalFactor": 1, @@ -385,7 +546,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_federation_destination_total_entries_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", + "expr": "sum(coherence_federation_destination_total_entries_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", "format": "table", "instant": true, "intervalFactor": 1, @@ -394,7 +555,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_federation_destination_total_msg_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, nodeId)", + "expr": "sum(coherence_federation_destination_total_msg_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, nodeId)", "format": "table", "instant": true, "intervalFactor": 1, @@ -403,7 +564,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_federation_destination_total_records_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", + "expr": "sum(coherence_federation_destination_total_records_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", "format": "table", "instant": true, "intervalFactor": 1, @@ -412,7 +573,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_federation_destination_replicate_all_total_time_millis{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", + "expr": "sum(coherence_federation_destination_replicate_all_total_time_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", "format": "table", "instant": true, "intervalFactor": 1, @@ -421,7 +582,7 @@ }, { "datasource": "prometheus", - "expr": "avg(vendor:coherence_federation_destination_state_code{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", + "expr": "avg(coherence_federation_destination_state_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", "format": "table", "instant": true, "intervalFactor": 1, @@ -430,7 +591,7 @@ }, { "datasource": "prometheus", - "expr": "avg(vendor:coherence_federation_destination_replicate_all_percent_complete{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", + "expr": "avg(coherence_federation_destination_replicate_all_percent_complete{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, participant_type, node_id)", "format": "table", "hide": false, "instant": true, @@ -440,8 +601,15 @@ } ], "title": "Destinations", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -486,12 +654,12 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName', name=~\".*\\\\$Envelope\"})", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName', name=~\".*\\\\$Envelope\"})", "interval": "", "legendFormat": "Envelope Size", "range": true, @@ -543,12 +711,12 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", - "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\"})", "interval": "", "legendFormat": "Flash Journal", "range": true, @@ -600,12 +768,12 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", - "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\"})", "interval": "", "legendFormat": "RAM Journal", "range": true, @@ -623,6 +791,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -679,7 +849,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -691,7 +862,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName', name=~\".*\\\\$Envelope\"}) by (node_id, member)", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName', name=~\".*\\\\$Envelope\"}) by (node_id, member)", "interval": "", "legendFormat": "Member: {{member}}", "range": true, @@ -710,6 +881,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -766,7 +939,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -778,7 +952,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_federation_destination_msg_apply_time_percentile_millis{cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName',name='$Destination'}", + "expr": "coherence_federation_destination_msg_apply_time_percentile_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName',name='$Destination'}", "interval": "", "legendFormat": "Node: {{node_id}}", "range": true, @@ -797,6 +971,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -853,7 +1029,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -865,7 +1042,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_federation_destination_msg_network_round_trip_time_percentile_millis{cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName', name='$Destination'}", + "expr": "coherence_federation_destination_msg_network_round_trip_time_percentile_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName', name='$Destination'}", "interval": "", "legendFormat": "Node: {{node_id}}", "range": true, @@ -884,6 +1061,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -940,7 +1119,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -952,7 +1132,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_federation_destination_record_backlog_delay_time_percentile_millis{cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName',name='$Destination'}", + "expr": "coherence_federation_destination_record_backlog_delay_time_percentile_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName',name='$Destination'}", "interval": "", "legendFormat": "Node: {{node_id}}", "range": true, @@ -971,6 +1151,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1033,7 +1215,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1044,7 +1227,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_federation_destination_total_bytes_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - vendor:coherence_federation_destination_total_bytes_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", + "expr": "coherence_federation_destination_total_bytes_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - coherence_federation_destination_total_bytes_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1063,6 +1246,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1125,7 +1310,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1136,7 +1322,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_federation_destination_total_entries_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - vendor:coherence_federation_destination_total_entries_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", + "expr": "coherence_federation_destination_total_entries_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - coherence_federation_destination_total_entries_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1155,6 +1341,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1217,7 +1405,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1228,7 +1417,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_federation_destination_total_records_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - vendor:coherence_federation_destination_total_records_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", + "expr": "coherence_federation_destination_total_records_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - coherence_federation_destination_total_records_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1247,6 +1436,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1310,7 +1501,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1321,7 +1513,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_federation_destination_total_error_responses{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} -vendor:coherence_federation_destination_total_error_responses{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", + "expr": "coherence_federation_destination_total_error_responses{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} -coherence_federation_destination_total_error_responses{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1340,6 +1532,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1403,7 +1597,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1415,7 +1610,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_federation_destination_total_msg_unacked{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - vendor:coherence_federation_destination_total_msg_unacked{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", + "expr": "coherence_federation_destination_total_msg_unacked{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - coherence_federation_destination_total_msg_unacked{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1435,6 +1630,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1498,7 +1695,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1510,7 +1708,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_federation_destination_total_retry_responses{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - vendor:coherence_federation_destination_total_retry_responses{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", + "expr": "coherence_federation_destination_total_retry_responses{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} - coherence_federation_destination_total_retry_responses{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1533,234 +1731,362 @@ "id": 13, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Federation Details - $ServiceName, Origin - $Destination

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 59 - }, - "id": 8, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 7, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:1186", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:1187", - "alias": "Origin Cluster", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:1188", - "alias": "Service", - "align": "auto", - "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": "coherence_service='$ServiceName'", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:1189", - "alias": "Description", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:1190", - "alias": "Participant Type", - "align": "auto", - "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": "participant_type", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:1191", - "alias": "Bytes Received", - "align": "auto", - "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": "decbytes" - }, - { - "$$hashKey": "object:1192", - "alias": "Entries Received", - "align": "auto", - "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" - }, - { - "$$hashKey": "object:1193", - "alias": "Records Received", - "align": "auto", - "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 #C", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:1194", - "alias": "Messages Recevied", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:1195", - "alias": "Origin Processing Delay", - "align": "auto", - "colorMode": "value", - "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": 2, - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [ - "1000", - "25000" - ], - "type": "number", - "unit": "ms" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, - { - "$$hashKey": "object:1367", - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Origin Cluster" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + }, + { + "id": "links", + "value": [ + { + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Description" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "participant_type" + }, + "properties": [ + { + "id": "displayName", + "value": "Participant Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Bytes Received" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Entries Received" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Records Received" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Messages Recevied" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Origin Processing Delay" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1000 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 25000 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 59 + }, + "id": 8, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "$$hashKey": "object:1378", - "alias": "Service", - "align": "auto", - "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": "coherence_service", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_bytes_received {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, nodeId)", + "expr": "sum(coherence_federation_origin_total_bytes_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, nodeId)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1768,7 +2094,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_federation_origin_total_entries_received {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, nodeId)", + "expr": "sum(coherence_federation_origin_total_entries_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, nodeId)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1776,7 +2102,7 @@ "refId": "B" }, { - "expr": "sum(vendor:coherence_federation_origin_total_records_received {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, nodeId)", + "expr": "sum(coherence_federation_origin_total_records_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, nodeId)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1784,7 +2110,7 @@ "refId": "C" }, { - "expr": "sum(vendor:coherence_federation_origin_total_msg_received {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, nodeId)", + "expr": "sum(coherence_federation_origin_total_msg_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, nodeId)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1793,13 +2119,305 @@ } ], "title": "Origins", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Origin Cluster" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Description" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "participant_type" + }, + "properties": [ + { + "id": "displayName", + "value": "Participant Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "node_id" + }, + "properties": [ + { + "id": "displayName", + "value": "Node Id" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Bytes Received" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Un-Acked Messages" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[2]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -1808,199 +2426,22 @@ }, "id": 15, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 7, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:1418", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:1419", - "alias": "Origin Cluster", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:1420", - "alias": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "coherence_service='$ServiceName'", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:1421", - "alias": "Description", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:1422", - "alias": "Participant Type", - "align": "auto", - "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": "participant_type", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:1423", - "alias": "", - "align": "auto", - "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": "hidden", - "unit": "short" - }, - { - "$$hashKey": "object:1424", - "alias": "Node Id", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "node_id", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:1425", - "alias": "Total Bytes Received", - "align": "auto", - "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 #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:1426", - "alias": "Total Un-Acked Messages", - "align": "auto", - "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" - }, - { - "$$hashKey": "object:1427", - "alias": "Member", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "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" + "show": false }, - { - "$$hashKey": "object:1601", - "alias": "Service", - "align": "auto", - "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": "coherence_service", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_bytes_received {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, node_id, member)", + "expr": "sum(coherence_federation_origin_total_bytes_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, node_id, member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -2008,7 +2449,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_federation_origin_total_msg_unacked {cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, node_id, member)", + "expr": "sum(coherence_federation_origin_total_msg_unacked {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'})by (coherence_service, name, node_id, member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -2017,8 +2458,15 @@ } ], "title": "Origins Member Details", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -2028,6 +2476,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2090,7 +2540,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -2101,7 +2552,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_federation_destination_total_msg_unacked{cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'}) by (node_id) > 0", + "expr": "sum(coherence_federation_destination_total_msg_unacked{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\",coherence_service='$ServiceName'}) by (node_id) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -2114,7 +2565,7 @@ } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -2123,7 +2574,28 @@ "list": [ { "current": { - "selected": false + }, + "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, }, "datasource": "prometheus", "definition": "", @@ -2134,7 +2606,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, @@ -2159,7 +2631,7 @@ "name": "Destination", "options": [], "query": { - "query": "label_values(vendor:coherence_federation_destination_total_bytes_sent {cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_federation_destination_total_bytes_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-Destination-Variable-Query" }, "refresh": 1, @@ -2184,7 +2656,7 @@ "name": "ServiceName", "options": [], "query": { - "query": "label_values(vendor:coherence_federation_destination_total_bytes_sent {cluster=\"${ClusterName:raw}\",name=\"$Destination\"}, coherence_service)", + "query": "label_values(coherence_federation_destination_total_bytes_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name=\"$Destination\"}, coherence_service)", "refId": "prometheus-ServiceName-Variable-Query" }, "refresh": 1, @@ -2199,7 +2671,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -2230,6 +2702,6 @@ "timezone": "", "title": "Coherence Federation Details Dashboard", "uid": "coh-federation-details", - "version": 2, + "version": 7, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/federation-summary-dashboard.json b/dashboards/grafana/federation-summary-dashboard.json index a37b4e946..5da0cfec2 100644 --- a/dashboards/grafana/federation-summary-dashboard.json +++ b/dashboards/grafana/federation-summary-dashboard.json @@ -13,7 +13,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", + "expr": "changes(coherence_cluster_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[1m])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -27,7 +27,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_service_owned_partitions_primary{cluster=\"${ClusterName:raw}\"}[60s])", + "expr": "changes(coherence_service_owned_partitions_primary{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[60s])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -44,8 +44,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 15, - "iteration": 1715650135755, + "id": 10, "links": [ { "icon": "dashboard", @@ -81,16 +80,269 @@ "id": 2, "links": [], "options": { - "content": "

Federation Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Federation Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Destination" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to federation details for destination ${__data.fields[1]}", + "url": "/d/coh-federation-details?var-ServiceName=${__data.fields[1]:raw}&var-Destination=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Members" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "participant_type" + }, + "properties": [ + { + "id": "displayName", + "value": "Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Status" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.align" + }, + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "index": 0, + "text": "INITIAL" + }, + "1": { + "index": 1, + "text": "STARTING" + }, + "2": { + "color": "green", + "index": 2, + "text": "CONNECTING" + }, + "3": { + "color": "orange", + "index": 3, + "text": "CONNECT_WAIT" + }, + "4": { + "color": "green", + "index": 4, + "text": "IDLE" + }, + "5": { + "color": "green", + "index": 5, + "text": "READY" + }, + "6": { + "color": "green", + "index": 6, + "text": "SENDING" + }, + "7": { + "color": "orange", + "index": 7, + "text": "STOPPED" + }, + "8": { + "color": "orange", + "index": 8, + "text": "PAUSED" + }, + "9": { + "color": "red", + "index": 9, + "text": "ERROR" + }, + "10": { + "color": "orange", + "index": 10, + "text": "YIELDING" + }, + "11": { + "color": "red", + "index": 11, + "text": "DISCONNECTED" + }, + "12": { + "color": "orange", + "index": 12, + "text": "DISCONNECTING" + } + }, + "type": "value" + } + ] + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -99,132 +351,24 @@ }, "id": 4, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:338", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:339", - "alias": "Destination", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:340", - "alias": "Service", - "align": "auto", - "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 federation details for destination ${__cell_1}", - "linkUrl": "/d/coh-federation-details?var-ServiceName=${__cell_1}&var-ClusterName=$ClusterName&var-Destination=${__cell_2}", - "mappingType": 1, - "pattern": "coherence_service", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:341", - "alias": "Members", - "align": "auto", - "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": false, - "linkTooltip": "", - "linkUrl": "", - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:342", - "alias": "Type", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "participant_type", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "$$hashKey": "object:343", - "alias": "Status", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "string", - "unit": "short", - "valueMaps": [ - { - "$$hashKey": "object:440", - "text": "OK", - "value": "0" - }, - { - "$$hashKey": "object:441", - "text": "WARNING", - "value": "1" - }, - { - "$$hashKey": "object:442", - "text": "ERROR", - "value": "2" - } - ] - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_federation_destination_total_msg_sent {cluster=\"${ClusterName:raw}\"})by (coherence_service, name, participant_type)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "count( coherence_federation_destination_total_msg_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})by (coherence_service, name, participant_type)", "format": "table", "instant": true, "intervalFactor": 1, @@ -232,7 +376,9 @@ "refId": "A" }, { - "expr": "avg(vendor:coherence_federation_destination_status {cluster=\"${ClusterName:raw}\"}) by (coherence_service, name, participant_type)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_federation_destination_status {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service, name, participant_type)", "format": "table", "instant": true, "intervalFactor": 1, @@ -241,13 +387,191 @@ } ], "title": "Destinations", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Origin Cluster" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to federation details for origin ${__data.fields[1]}", + "url": "/d/coh-federation-details?var-ServiceName=${__data.fields[1]:raw}&var-Destination=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Description" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "participant_type" + }, + "properties": [ + { + "id": "displayName", + "value": "Participant Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "# Members Receiving" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -256,121 +580,22 @@ }, "id": 8, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Origin Cluster", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Service", - "align": "auto", - "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 federation details for origin ${__cell_2}", - "linkUrl": "/d/coh-federation-details?var-ServiceName=${__cell_1}&var-ClusterName=$ClusterName&var-Destination=${__cell_2}", - "mappingType": 1, - "pattern": "coherence_service", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Description", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Participant Type", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "participant_type", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "alias": "# Members Receiving", - "align": "auto", - "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", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_federation_origin_total_msg_received {cluster=\"${ClusterName:raw}\"}) by (coherence_service, name)", + "expr": "count(coherence_federation_origin_total_msg_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service, name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -379,8 +604,15 @@ } ], "title": "Origins", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -425,12 +657,12 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\", name=~\".*\\\\$Envelope\"})", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name=~\".*\\\\$Envelope\"})", "interval": "", "legendFormat": "Envelope Size", "range": true, @@ -482,12 +714,12 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", - "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\"})", "interval": "", "legendFormat": "RAM Journal", "range": true, @@ -539,12 +771,12 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", - "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\"})", "interval": "", "legendFormat": "Flash Journal", "range": true, @@ -612,10 +844,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_federation_destination_total_entries_sent {cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_federation_destination_total_entries_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -683,10 +915,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_federation_destination_total_records_sent {cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_federation_destination_total_records_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -754,10 +986,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_federation_destination_total_msg_sent {cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_federation_destination_total_msg_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -825,10 +1057,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_entries_received {cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_federation_origin_total_entries_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -896,10 +1128,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_records_received {cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_federation_origin_total_records_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -967,10 +1199,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_msg_received {cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_federation_origin_total_msg_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -988,6 +1220,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1050,7 +1284,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1060,7 +1295,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_federation_destination_total_bytes_sent{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_federation_destination_total_bytes_sent {cluster=\"${ClusterName:raw}\"} offset $__interval) ", + "expr": "sum(coherence_federation_destination_total_bytes_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_federation_destination_total_bytes_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1079,6 +1314,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1142,7 +1379,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1152,7 +1390,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_bytes_received {cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_federation_origin_total_bytes_received {cluster=\"${ClusterName:raw}\"} offset $__interval)", + "expr": "sum(coherence_federation_origin_total_bytes_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_federation_origin_total_bytes_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1171,6 +1409,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1205,8 +1445,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1233,7 +1472,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1243,7 +1483,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_federation_destination_total_msg_sent {cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_federation_destination_total_msg_sent {cluster=\"${ClusterName:raw}\"} offset $__interval) ", + "expr": "sum(coherence_federation_destination_total_msg_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_federation_destination_total_msg_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1262,6 +1502,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1296,8 +1538,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1320,7 +1561,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1330,7 +1572,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_msg_received {cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_federation_origin_total_msg_received {cluster=\"${ClusterName:raw}\"} offset $__interval)", + "expr": "sum(coherence_federation_origin_total_msg_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_federation_origin_total_msg_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1349,6 +1591,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1383,8 +1627,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1411,7 +1654,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1421,7 +1665,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_federation_destination_total_records_sent {cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_federation_destination_total_records_sent {cluster=\"${ClusterName:raw}\"} offset $__interval)", + "expr": "sum(coherence_federation_destination_total_records_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_federation_destination_total_records_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1440,6 +1684,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1474,8 +1720,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1498,7 +1743,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1508,7 +1754,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_records_received {cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_federation_origin_total_records_received {cluster=\"${ClusterName:raw}\"} offset $__interval)", + "expr": "sum(coherence_federation_origin_total_records_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_federation_origin_total_records_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1527,6 +1773,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1561,8 +1809,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1589,7 +1836,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1599,7 +1847,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_federation_destination_total_entries_sent {cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_federation_destination_total_entries_sent {cluster=\"${ClusterName:raw}\"} offset $__interval)", + "expr": "sum(coherence_federation_destination_total_entries_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_federation_destination_total_entries_sent {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1618,6 +1866,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1652,8 +1902,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1676,7 +1925,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1686,7 +1936,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_federation_origin_total_entries_received {cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_federation_origin_total_entries_received {cluster=\"${ClusterName:raw}\"} offset $__interval)", + "expr": "sum(coherence_federation_origin_total_entries_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_federation_origin_total_entries_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1699,13 +1949,34 @@ } ], "refresh": "10s", - "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 @@ -1719,7 +1990,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, @@ -1744,7 +2015,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, @@ -1832,6 +2103,6 @@ "timezone": "", "title": "Coherence Federation Summary Dashboard", "uid": "coh-federation-summary", - "version": 1, + "version": 5, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/grpc-proxy-details-dashboard.json b/dashboards/grafana/grpc-proxy-details-dashboard.json index b8b9997f6..228ca532b 100644 --- a/dashboards/grafana/grpc-proxy-details-dashboard.json +++ b/dashboards/grafana/grpc-proxy-details-dashboard.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 26, - "iteration": 1715650739563, + "id": 6, "links": [ { "icon": "dashboard", @@ -64,10 +63,15 @@ "id": 37, "links": [], "options": { - "content": "

gRPC Proxy Details - $ClusterName / ${MemberName}

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

gRPC Proxy Details - ${MemberName}

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -111,11 +115,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_daemon_thread_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "sum(coherence_grpc_named_cache_proxy_daemon_thread_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by (member)", "refId": "A" } ], @@ -163,11 +167,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "count(vendor:coherence_grpc_connection_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "count(coherence_grpc_connection_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by (member)", "refId": "A" } ], @@ -223,11 +227,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_task_backlog{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_grpc_named_cache_proxy_task_backlog{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"})", "refId": "A" } ], @@ -283,11 +287,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_error_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_grpc_named_cache_proxy_error_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"})", "refId": "A" } ], @@ -295,10 +299,234 @@ "type": "stat" }, { - "columns": [], "datasource": "prometheus", "description": "Note: The gRPC proxy connections data stays visible for approx 5 minutes after the connection has terminated.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "links", + "value": [] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Requests" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "1 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 3 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "5 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 3 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "15 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 3 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Mean Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 3 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "remote_address" + }, + "properties": [ + { + "id": "displayName", + "value": "Remote Address" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "uid" + }, + "properties": [ + { + "id": "displayName", + "value": "UID" + }, + { + "id": "unit", + "value": "string" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 24, @@ -307,166 +535,24 @@ }, "id": 33, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:3130", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:3131", - "alias": "Member", - "align": "auto", - "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 member details for ${__cell}", - "linkUrl": "/d/coh-member-details?var-ClusterName=$ClusterName&var-MemberName=${__cell}", - "mappingType": 1, - "pattern": "member", - "thresholds": [], - "type": "string", - "unit": "none" - }, - { - "$$hashKey": "object:18915", - "alias": "Requests", - "align": "auto", - "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 #E", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:18926", - "alias": "1 Min Rate", - "align": "auto", - "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": 3, - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:19214", - "alias": "5 Min Rate", - "align": "auto", - "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": 3, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:19501", - "alias": "15 Min Rate", - "align": "auto", - "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": 3, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:19696", - "alias": "Mean Rate", - "align": "auto", - "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": 3, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:19907", - "alias": "Remote Address", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "remote_address", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "$$hashKey": "object:19928", - "alias": "UID", - "align": "auto", - "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": "uid", - "thresholds": [], - "type": "string", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_connection_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", + "expr": "sum(coherence_grpc_connection_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", "format": "table", "hide": false, "instant": true, @@ -478,7 +564,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_connection_request_rate{quantile=\"mean\", member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", + "expr": "sum(coherence_grpc_connection_request_rate{quantile=\"mean\", member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", "format": "table", "hide": false, "instant": true, @@ -490,7 +576,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_connection_request_rate{quantile=\"1min\", member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", + "expr": "sum(coherence_grpc_connection_request_rate{quantile=\"1min\", member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", "format": "table", "hide": false, "instant": true, @@ -502,7 +588,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_connection_request_rate{quantile=\"5min\", member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", + "expr": "sum(coherence_grpc_connection_request_rate{quantile=\"5min\", member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", "format": "table", "hide": false, "instant": true, @@ -516,7 +602,7 @@ "type": "prometheus" }, "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_connection_request_rate{quantile=\"15min\", member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", + "expr": "sum(coherence_grpc_connection_request_rate{quantile=\"15min\", member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) by ( remote_address, uid)", "format": "table", "hide": false, "instant": true, @@ -527,8 +613,15 @@ } ], "title": "gRpc Proxy Connections", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -539,6 +632,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -602,7 +697,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -614,7 +710,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_grpc_named_cache_proxy_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_grpc_named_cache_proxy_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_grpc_named_cache_proxy_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -635,6 +731,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -698,7 +796,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -710,7 +809,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_responses_sent_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_grpc_named_cache_proxy_responses_sent_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_grpc_named_cache_proxy_responses_sent_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_grpc_named_cache_proxy_responses_sent_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -731,6 +830,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -793,7 +894,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -805,7 +907,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_grpc_named_cache_proxy_error_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} - vendor:coherence_grpc_named_cache_proxy_error_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_grpc_named_cache_proxy_error_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} - coherence_grpc_named_cache_proxy_error_request_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -826,6 +928,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -888,7 +992,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -900,7 +1005,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_grpc_named_cache_proxy_task_timeout_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} - vendor:coherence_grpc_named_cache_proxy_task_timeout_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_grpc_named_cache_proxy_task_timeout_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} - coherence_grpc_named_cache_proxy_task_timeout_count{member=\"${MemberName}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -914,13 +1019,34 @@ } ], "refresh": "10s", - "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 @@ -934,7 +1060,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, @@ -959,7 +1085,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, @@ -976,7 +1102,7 @@ "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_service_member_count{cluster=\"${ClusterName:raw}\"}, member)", + "definition": "label_values(coherence_service_member_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, member)", "hide": 0, "includeAll": false, "label": "Member Name", @@ -984,7 +1110,7 @@ "name": "MemberName", "options": [], "query": { - "query": "label_values(vendor:coherence_service_member_count{cluster=\"${ClusterName:raw}\"}, member)", + "query": "label_values(coherence_service_member_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, member)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -996,7 +1122,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -1027,6 +1153,6 @@ "timezone": "", "title": "Coherence gRPC Proxy Details Dashboard", "uid": "coh-grpc-proxy-details", - "version": 1, + "version": 4, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/grpc-proxy-summary-dashboard.json b/dashboards/grafana/grpc-proxy-summary-dashboard.json index ba0704954..8a503abd6 100644 --- a/dashboards/grafana/grpc-proxy-summary-dashboard.json +++ b/dashboards/grafana/grpc-proxy-summary-dashboard.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 21, - "iteration": 1715651098174, + "id": 23, "links": [ { "icon": "dashboard", @@ -52,10 +51,15 @@ "id": 37, "links": [], "options": { - "content": "

gRPC Proxy Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

gRPC Proxy Summary/h3>

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -99,11 +103,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_daemon_thread_count{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_grpc_named_cache_proxy_daemon_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "refId": "A" } ], @@ -151,11 +155,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "count(vendor:coherence_grpc_connection_request_count{cluster=\"${ClusterName:raw}\"})", + "expr": "count(coherence_grpc_connection_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "refId": "A" } ], @@ -211,11 +215,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_task_backlog{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_grpc_named_cache_proxy_task_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "refId": "A" } ], @@ -271,11 +275,11 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_error_request_count{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_grpc_named_cache_proxy_error_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "refId": "A" } ], @@ -283,9 +287,310 @@ "type": "stat" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Request Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "role" + }, + "properties": [ + { + "id": "displayName", + "value": "Role" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "node_id" + }, + "properties": [ + { + "id": "displayName", + "value": "Node Id" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Backlog" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 10 + }, + { + "value": 20 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Responses Sent" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Errors" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 10 + }, + { + "value": 20 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Thread Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Connections" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to gRPC proxy details for ${__data.fields[1]}", + "url": "/d/coh-grpc-proxy-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -294,196 +599,24 @@ }, "id": 33, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:3130", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:3131", - "alias": "Member", - "align": "auto", - "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 member details for ${__cell}", - "linkUrl": "/d/coh-member-details?var-ClusterName=$ClusterName&var-MemberName=${__cell}", - "mappingType": 1, - "pattern": "member", - "thresholds": [], - "type": "string", - "unit": "none" - }, - { - "$$hashKey": "object:3776", - "alias": "Request Count", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:3787", - "alias": "Role", - "align": "auto", - "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": "role", - "thresholds": [], - "type": "hidden", - "unit": "short" - }, - { - "$$hashKey": "object:4052", - "alias": "Node Id", - "align": "auto", - "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": "node_id", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:4386", - "alias": "Backlog", - "align": "auto", - "colorMode": "value", - "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 #B", - "thresholds": [ - "1", - "10", - "20" - ], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:5956", - "alias": "Responses Sent", - "align": "auto", - "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 #C", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:6659", - "alias": "Errors", - "align": "auto", - "colorMode": "value", - "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 #D", - "thresholds": [ - "1", - "10", - "20" - ], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:13938", - "alias": "Thread Count", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "$$hashKey": "object:14951", - "alias": "Connections", - "align": "auto", - "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 gRPC proxy details for ${__cell_1}", - "linkUrl": "/d/coh-grpc-proxy-details?var-ClusterName=$ClusterName&var-MemberName=${__cell_1}", - "mappingType": 1, - "pattern": "Value #F", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_daemon_thread_count{cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "sum(coherence_grpc_named_cache_proxy_daemon_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member)", "format": "table", "hide": false, "instant": true, @@ -495,7 +628,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "count(vendor:coherence_grpc_connection_request_count{cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "count(coherence_grpc_connection_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member)", "format": "table", "hide": false, "instant": true, @@ -507,7 +640,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_request_count{cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "sum(coherence_grpc_named_cache_proxy_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member)", "format": "table", "instant": true, "interval": "", @@ -518,7 +651,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_responses_sent_count{cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "sum(coherence_grpc_named_cache_proxy_responses_sent_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member)", "format": "table", "hide": false, "instant": true, @@ -530,7 +663,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_task_backlog{cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "sum(coherence_grpc_named_cache_proxy_task_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member)", "format": "table", "hide": false, "instant": true, @@ -542,7 +675,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_error_request_count{cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "sum(coherence_grpc_named_cache_proxy_error_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member)", "format": "table", "hide": false, "instant": true, @@ -553,8 +686,15 @@ } ], "title": "gRpc Proxy List", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -565,6 +705,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -628,7 +770,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -640,7 +783,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_request_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_grpc_named_cache_proxy_request_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_grpc_named_cache_proxy_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_grpc_named_cache_proxy_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -661,6 +804,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -724,7 +869,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -736,7 +882,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_grpc_named_cache_proxy_responses_sent_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_grpc_named_cache_proxy_responses_sent_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_grpc_named_cache_proxy_responses_sent_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_grpc_named_cache_proxy_responses_sent_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -757,6 +903,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -819,7 +967,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -831,7 +980,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_grpc_named_cache_proxy_request_count{cluster=\"${ClusterName:raw}\"} - vendor:coherence_grpc_named_cache_proxy_request_count{cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_grpc_named_cache_proxy_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_grpc_named_cache_proxy_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -852,6 +1001,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -914,7 +1065,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -926,7 +1078,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_grpc_named_cache_proxy_request_count{cluster=\"${ClusterName:raw}\"} - vendor:coherence_grpc_named_cache_proxy_request_count{cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_grpc_named_cache_proxy_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_grpc_named_cache_proxy_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -947,6 +1099,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1009,7 +1163,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1021,7 +1176,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_grpc_named_cache_proxy_error_request_count{cluster=\"${ClusterName:raw}\"} - vendor:coherence_grpc_named_cache_proxy_error_request_count{cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_grpc_named_cache_proxy_error_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_grpc_named_cache_proxy_error_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -1042,6 +1197,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1104,7 +1261,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1116,7 +1274,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "vendor:coherence_grpc_named_cache_proxy_task_timeout_count{cluster=\"${ClusterName:raw}\"} - vendor:coherence_grpc_named_cache_proxy_task_timeout_count{cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_grpc_named_cache_proxy_task_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_grpc_named_cache_proxy_task_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -1130,7 +1288,7 @@ } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -1139,7 +1297,28 @@ "list": [ { "current": { - "selected": false + }, + "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": true }, "datasource": "prometheus", "definition": "", @@ -1150,7 +1329,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, @@ -1175,7 +1354,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, @@ -1190,7 +1369,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -1221,6 +1400,6 @@ "timezone": "", "title": "Coherence gRPC Proxy Summary Dashboard", "uid": "coh-grpc-proxy-summary", - "version": 1, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/http-servers-summary-dashboard.json b/dashboards/grafana/http-servers-summary-dashboard.json index e57846716..8a8dfc193 100644 --- a/dashboards/grafana/http-servers-summary-dashboard.json +++ b/dashboards/grafana/http-servers-summary-dashboard.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 5, - "iteration": 1715651460781, + "id": 24, "links": [ { "icon": "dashboard", @@ -52,16 +51,222 @@ "id": 35, "links": [], "options": { - "content": "

HTTP Servers Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

HTTP Servers Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Requests" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Error Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 2 + } + ] + } + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Avg Request Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -70,144 +275,24 @@ }, "id": 33, "links": [], - "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", - "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": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Total Requests", - "align": "auto", - "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": "Error Count", - "align": "auto", - "colorMode": "value", - "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": [ - "1", - "2" - ], - "type": "number", - "unit": "short" - }, - { - "alias": "Avg Request Time", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "alias": "Unauth Connection Attemps", - "align": "auto", - "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": 2, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [ - "0", - "1" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "none" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_connection_manager_total_request_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"}) by (name) ", + "datasource": "prometheus", + "editorMode": "code", + "expr": "count(coherence_connection_manager_total_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"}) by (name) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -215,7 +300,8 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_connection_manager_total_request_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"}) by (name) ", + "datasource": "prometheus", + "expr": "sum(coherence_connection_manager_total_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"}) by (name) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -223,25 +309,26 @@ "refId": "B" }, { - "expr": "sum(vendor:coherence_connection_manager_total_error_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"}) by (name) ", + "datasource": "prometheus", + "editorMode": "code", + "expr": "sum(coherence_connection_manager_total_error_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"}) by (name) ", "format": "table", "instant": true, "intervalFactor": 1, "legendFormat": "", "refId": "C" - }, - { - "expr": "sum(vendor:coherence_connection_manager_average_request_time{cluster=\"${ClusterName:raw}\",protocol=~\"http\"}) by (name) ", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "D" } ], "title": "HTTP Servers List", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -251,6 +338,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -314,7 +403,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -325,7 +415,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_total_request_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - vendor:coherence_connection_manager_total_request_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", + "expr": "coherence_connection_manager_total_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - coherence_connection_manager_total_request_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -344,6 +434,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -406,7 +498,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -417,7 +510,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_response_1xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - vendor:coherence_connection_manager_response_1xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", + "expr": "coherence_connection_manager_response_1xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - coherence_connection_manager_response_1xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -426,7 +519,7 @@ }, { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_response_2xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - vendor:coherence_connection_manager_response_2xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", + "expr": "coherence_connection_manager_response_2xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - coherence_connection_manager_response_2xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -435,7 +528,7 @@ }, { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_response_3xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - vendor:coherence_connection_manager_response_3xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", + "expr": "coherence_connection_manager_response_3xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - coherence_connection_manager_response_3xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -444,7 +537,7 @@ }, { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_response_4xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - vendor:coherence_connection_manager_response_4xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", + "expr": "coherence_connection_manager_response_4xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - coherence_connection_manager_response_4xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -453,7 +546,7 @@ }, { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_response_5xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - vendor:coherence_connection_manager_response_5xx_count{cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", + "expr": "coherence_connection_manager_response_5xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} - coherence_connection_manager_response_5xx_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"http\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -466,13 +559,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 @@ -486,7 +600,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, @@ -511,7 +625,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, @@ -526,7 +640,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -557,6 +671,6 @@ "timezone": "", "title": "Coherence HTTP Servers Summary Dashboard", "uid": "coh-http-servers-summary", - "version": 1, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/kubernetes-summary-dashboard.json b/dashboards/grafana/kubernetes-summary-dashboard.json deleted file mode 100644 index 95984ad2d..000000000 --- a/dashboards/grafana/kubernetes-summary-dashboard.json +++ /dev/null @@ -1,473 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "prometheus", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - }, - { - "datasource": "prometheus", - "enable": true, - "expr": "changes(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", - "hide": false, - "iconColor": "rgba(255, 96, 96, 1)", - "limit": 100, - "name": "Show Cluster Size Changes", - "showIn": 0, - "tagKeys": "cluster", - "tags": [], - "titleFormat": "Cluster Size Changed.", - "type": "tags" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 6, - "iteration": 1715651352122, - "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" - } - ], - "liveNow": false, - "panels": [ - { - "datasource": "prometheus", - "gridPos": { - "h": 2, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "links": [], - "options": { - "content": "

Kubernetes Summary - $ClusterName

", - "mode": "html" - }, - "pluginVersion": "8.5.27", - "type": "text" - }, - { - "columns": [], - "datasource": "prometheus", - "fontSize": "100%", - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 2 - }, - "id": 4, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Pod Name", - "align": "auto", - "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": "pod", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "", - "align": "auto", - "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": "hidden", - "unit": "short" - }, - { - "alias": "Kubernetes Namespace", - "align": "auto", - "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": "namespace", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "", - "align": "auto", - "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": "", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Coherence Version", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "version", - "thresholds": [], - "type": "string", - "unit": "short" - } - ], - "targets": [ - { - "expr": "avg(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}) by (pod, version, namespace)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Kubernetes Pod List", - "transform": "table", - "type": "table-old" - }, - { - "datasource": "prometheus", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "max": 1, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 6, - "links": [], - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max" - ], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "8.5.27", - "targets": [ - { - "expr": "avg(vendor:coherence_os_process_cpu_load{cluster=\"${ClusterName:raw}\"}) by (pod)", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Pod: {{pod}}", - "refId": "A" - } - ], - "title": "Pod Process CPU Load", - "type": "timeseries" - }, - { - "datasource": "prometheus", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 7, - "links": [], - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max" - ], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "8.5.27", - "targets": [ - { - "expr": "vendor:coherence_memory_heap_memory_usage_used{cluster=\"${ClusterName:raw}\"} ", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Pod: {{pod}}", - "refId": "A" - } - ], - "title": "Pod Heap Memory Usage", - "type": "timeseries" - } - ], - "refresh": "30s", - "schemaVersion": 36, - "style": "dark", - "tags": [ - "dashboard" - ], - "templating": { - "list": [ - { - "current": { - "selected": false - }, - "datasource": "prometheus", - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Cluster Name", - "multi": false, - "name": "ClusterName", - "options": [], - "query": { - "query": "label_values(vendor:coherence_cluster_size, cluster)", - "refId": "prometheus-ClusterName-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false - }, - "datasource": "prometheus", - "definition": "", - "hide": 2, - "includeAll": false, - "label": "Coherence Version", - "multi": false, - "name": "CoherenceVersion", - "options": [], - "query": { - "query": "label_values(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}, version)", - "refId": "prometheus-CoherenceVersion-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-15m", - "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 Kubernetes Summary Dashboard", - "uid": "coh-kubernetes-summary", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/dashboards/grafana/machines-summary-dashboard.json b/dashboards/grafana/machines-summary-dashboard.json index 99f104aa2..1253de8b8 100644 --- a/dashboards/grafana/machines-summary-dashboard.json +++ b/dashboards/grafana/machines-summary-dashboard.json @@ -13,7 +13,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", + "expr": "changes(coherence_cluster_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[1m])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -29,8 +29,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 7, - "iteration": 1715651606364, + "id": 13, "links": [ { "icon": "dashboard", @@ -66,16 +65,265 @@ "id": 94, "links": [], "options": { - "content": "

Machines Summary - Version: $CoherenceVersion

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Machines Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Physical Memory" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "site" + }, + "properties": [ + { + "id": "displayName", + "value": "Site" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Free Swap Space" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Free Physical Memory %" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": null + }, + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "machine" + }, + "properties": [ + { + "id": "displayName", + "value": "Machine" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Available Processors" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Free Physical Memory" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "decimals", + "value": 0 + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 24, @@ -84,155 +332,24 @@ }, "id": 21, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "desc": false - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Total Physical Memory", - "align": "auto", - "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 #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Site", - "align": "auto", - "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": "site", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Free Swap Space", - "align": "auto", - "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 #B", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Free Physical Memory %", - "align": "auto", - "colorMode": "value", - "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 #C", - "thresholds": [ - ".25", - ".50" - ], - "type": "number", - "unit": "percentunit" - }, - { - "alias": "Machine", - "align": "auto", - "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": false, - "linkUrl": "", - "mappingType": 1, - "pattern": "machine", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Available Processors", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "none" + "show": false }, - { - "alias": "Free Physical Memory", - "align": "auto", - "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 #E", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_os_available_processors{cluster=\"${ClusterName:raw}\"}) by (machine)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_os_available_processors{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "table", "hide": false, "instant": true, @@ -242,7 +359,8 @@ "refId": "D" }, { - "expr": "avg(vendor:coherence_os_free_swap_space_size{cluster=\"${ClusterName:raw}\"}) by (machine)", + "datasource": "prometheus", + "expr": "avg(coherence_os_free_swap_space_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "table", "hide": false, "instant": true, @@ -252,7 +370,8 @@ "refId": "B" }, { - "expr": "avg(vendor:coherence_os_total_physical_memory_size{cluster=\"${ClusterName:raw}\"}) by (machine)", + "datasource": "prometheus", + "expr": "avg(coherence_os_total_physical_memory_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "table", "hide": false, "instant": true, @@ -262,7 +381,8 @@ "refId": "A" }, { - "expr": "avg(vendor:coherence_os_free_physical_memory_size{cluster=\"${ClusterName:raw}\"}) by (machine)", + "datasource": "prometheus", + "expr": "avg(coherence_os_free_physical_memory_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "table", "hide": false, "instant": true, @@ -272,7 +392,8 @@ "refId": "E" }, { - "expr": "avg(vendor:coherence_os_free_physical_memory_size{cluster=\"${ClusterName:raw}\"}) by (machine) / avg(vendor:coherence_os_total_physical_memory_size{cluster=\"${ClusterName:raw}\"}) by (machine)", + "datasource": "prometheus", + "expr": "avg(coherence_os_free_physical_memory_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine) / avg(coherence_os_total_physical_memory_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "table", "hide": false, "instant": true, @@ -283,8 +404,15 @@ } ], "title": "Current Cluster Machines", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -294,6 +422,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -355,7 +485,8 @@ "min" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -365,7 +496,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "avg(vendor:coherence_os_free_physical_memory_size{cluster=\"${ClusterName:raw}\"}) by (machine)", + "expr": "avg(coherence_os_free_physical_memory_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -373,7 +504,7 @@ "refId": "A" }, { - "expr": "avg(vendor:coherence_os_total_physical_memory_size{cluster=\"${ClusterName:raw}\"}) by (machine)", + "expr": "avg(coherence_os_total_physical_memory_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -392,6 +523,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -452,7 +585,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -462,7 +596,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "avg(avg_over_time(vendor:coherence_os_system_load_average{cluster=\"${ClusterName:raw}\"}[1m])) by (machine)", + "expr": "avg(avg_over_time(coherence_os_system_load_average{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[1m])) by (machine)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -470,7 +604,7 @@ "refId": "A" }, { - "expr": "avg(avg_over_time(vendor:coherence_os_system_load_average{cluster=\"${ClusterName:raw}\"}[5m])) by (machine)", + "expr": "avg(avg_over_time(coherence_os_system_load_average{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[5m])) by (machine)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -478,7 +612,7 @@ "refId": "B" }, { - "expr": "avg(avg_over_time(vendor:coherence_os_system_load_average{cluster=\"${ClusterName:raw}\"}[15m])) by (machine)", + "expr": "avg(avg_over_time(coherence_os_system_load_average{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[15m])) by (machine)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -491,13 +625,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 @@ -511,7 +666,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, @@ -536,7 +691,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, @@ -563,7 +718,7 @@ "name": "Services", "options": [], "query": { - "query": "label_values(vendor:coherence_service_request_max_duration{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_request_max_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-Services-Variable-Query" }, "refresh": 1, @@ -578,7 +733,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { diff --git a/dashboards/grafana/member-details-dashboard.json b/dashboards/grafana/member-details-dashboard.json index 803e8be9f..608649229 100644 --- a/dashboards/grafana/member-details-dashboard.json +++ b/dashboards/grafana/member-details-dashboard.json @@ -13,7 +13,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", + "expr": "changes(coherence_cluster_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[1m])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -30,8 +30,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 3, - "iteration": 1715651716028, + "id": 1, "links": [ { "icon": "dashboard", @@ -76,10 +75,15 @@ "id": 56, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Member Details - $MemberName

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -155,10 +159,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"})", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"})", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -227,10 +231,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"} ", + "expr": "coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"} ", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -303,10 +307,10 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) / sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"})", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) / sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"})", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -379,10 +383,10 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "vendor:coherence_node_publisher_success_rate{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"} ", + "expr": "coherence_node_publisher_success_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"} ", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -455,10 +459,10 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "vendor:coherence_node_receiver_success_rate{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"} ", + "expr": "coherence_node_receiver_success_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"} ", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -470,9 +474,201 @@ "type": "gauge" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Current Thread Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Idle Thread Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Thread Utilization" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "#EAB839", + "value": 0.75 + }, + { + "color": "red", + "value": 0.8997 + } + ] + } + } + ] + } + ] + }, "gridPos": { "h": 8, "w": 24, @@ -481,121 +677,19 @@ }, "id": 33, "links": [], - "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": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "", - "align": "auto", - "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": "", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Current Thread Count", - "align": "auto", - "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": "none" - }, - { - "alias": "Idle Thread Count", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Thread Utilization", - "align": "auto", - "colorMode": "value", - "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": 2, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [ - ".50", - ".90" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "percentunit" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "expr": "", @@ -606,7 +700,7 @@ "refId": "D" }, { - "expr": "sum(vendor:coherence_service_thread_count{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name) > 0", + "expr": "sum(coherence_service_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name) > 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -614,7 +708,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_service_thread_idle_count{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name) > 0", + "expr": "sum(coherence_service_thread_idle_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name) > 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -622,7 +716,7 @@ "refId": "B" }, { - "expr": "(sum(vendor:coherence_service_thread_count{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name) - sum(vendor:coherence_service_thread_idle_count{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name)) / (sum(vendor:coherence_service_thread_count{cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name)) ", + "expr": "(sum(coherence_service_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name) - sum(coherence_service_thread_idle_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name)) / (sum(coherence_service_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",member=\"$MemberName\"}) by (name)) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -631,8 +725,15 @@ } ], "title": "Current Services Running on $MemberName", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -645,10 +746,15 @@ "id": 59, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Memory and Garbage Collection

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -660,6 +766,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -724,7 +832,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -735,7 +844,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_gc_collection_count{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} - vendor:coherence_gc_collection_count{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} offset $__interval > 0", + "expr": "coherence_gc_collection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} - coherence_gc_collection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -755,6 +864,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -817,7 +928,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -828,7 +940,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_gc_collection_time{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} - vendor:coherence_gc_collection_time{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} offset $__interval > 0", + "expr": "coherence_gc_collection_time{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} - coherence_gc_collection_time{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -847,6 +959,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -907,7 +1021,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -918,7 +1033,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", + "expr": "coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -927,7 +1042,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"})", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -937,7 +1052,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_memory_heap_memory_usage_used{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"})", + "expr": "sum(coherence_memory_heap_memory_usage_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"})", "format": "time_series", "hide": false, "interval": "", @@ -958,6 +1073,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1019,7 +1136,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1029,7 +1147,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_memory_non_heap_memory_usage_used{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", + "expr": "coherence_memory_non_heap_memory_usage_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1037,7 +1155,7 @@ "refId": "A" }, { - "expr": "vendor:coherence_memory_non_heap_memory_usage_committed{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", + "expr": "coherence_memory_non_heap_memory_usage_committed{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1059,10 +1177,15 @@ "id": 58, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Member Network Details

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -1074,6 +1197,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1108,8 +1233,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1132,8 +1256,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -1143,7 +1268,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "irate(vendor:coherence_node_packets_sent{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}[1m]) ", + "expr": "irate(coherence_node_packets_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}[1m]) ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1163,6 +1288,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1197,8 +1324,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1221,8 +1347,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -1232,7 +1359,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "irate(vendor:coherence_node_packets_received{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}[1m])", + "expr": "irate(coherence_node_packets_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}[1m])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1251,6 +1378,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1286,8 +1415,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1310,8 +1438,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -1321,7 +1450,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_node_publisher_success_rate{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", + "expr": "coherence_node_publisher_success_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -1339,6 +1468,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1374,8 +1505,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1398,8 +1528,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "multi", @@ -1409,7 +1540,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_node_receiver_success_rate{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", + "expr": "coherence_node_receiver_success_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -1428,6 +1559,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1463,8 +1596,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1491,7 +1623,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1502,7 +1635,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_node_guard_recover_count{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} - vendor:coherence_node_guard_recover_count{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} offset $__interval", + "expr": "coherence_node_guard_recover_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} - coherence_node_guard_recover_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} offset $__interval", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1511,7 +1644,7 @@ }, { "datasource": "prometheus", - "expr": "vendor:coherence_node_guard_terminate_count{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} - vendor:coherence_node_guard_terminate_count{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} offset $__interval", + "expr": "coherence_node_guard_terminate_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} - coherence_node_guard_terminate_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"} offset $__interval", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1530,6 +1663,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1565,8 +1700,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1592,7 +1726,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1602,7 +1737,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_node_send_queue_size{cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", + "expr": "coherence_node_send_queue_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", member=\"$MemberName\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1615,13 +1750,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 @@ -1635,7 +1791,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, @@ -1660,7 +1816,7 @@ "name": "MemberName", "options": [], "query": { - "query": "label_values(vendor:coherence_service_member_count{cluster=\"${ClusterName:raw}\"}, member)", + "query": "label_values(coherence_service_member_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, member)", "refId": "prometheus-MemberName-Variable-Query" }, "refresh": 1, @@ -1675,7 +1831,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -1708,6 +1864,6 @@ "timezone": "", "title": "Coherence Member Details Dashboard", "uid": "coh-member-details", - "version": 1, + "version": 2, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/members-summary-dashboard.json b/dashboards/grafana/members-summary-dashboard.json index 6a13cf228..95b87433e 100644 --- a/dashboards/grafana/members-summary-dashboard.json +++ b/dashboards/grafana/members-summary-dashboard.json @@ -13,7 +13,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", + "expr": "changes(coherence_cluster_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[1m])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -29,8 +29,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 10, - "iteration": 1715651965060, + "id": 15, "links": [ { "icon": "dashboard", @@ -67,16 +66,337 @@ "id": 94, "links": [], "options": { - "content": "

Members Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Members Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "site" + }, + "properties": [ + { + "id": "displayName", + "value": "Site" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[2]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "nodeId" + }, + "properties": [ + { + "id": "displayName", + "value": "Node Id" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "instance" + }, + "properties": [ + { + "id": "displayName", + "value": "Instance" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "machine" + }, + "properties": [ + { + "id": "displayName", + "value": "Machine" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to machines summary", + "url": "/d/coh-machines-summary?$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Heap Usage After GC" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Heap Max" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Heap Used %" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + }, + { + "color": "rgba(245, 54, 54, 0.9)" + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "role" + }, + "properties": [ + { + "id": "displayName", + "value": "Role" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -85,208 +405,22 @@ }, "id": 21, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": false - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "", - "align": "auto", - "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 #A", - "thresholds": [], - "type": "hidden", - "unit": "short" - }, - { - "alias": "Site", - "align": "auto", - "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": "site", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Member Name", - "align": "auto", - "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": "Node Id", - "align": "auto", - "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": "nodeId", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Instance", - "align": "auto", - "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": "instance", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Machine", - "align": "auto", - "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 machines summary", - "linkUrl": "/d/coh-machines-summary?var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "machine", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Heap Usage After GC", - "align": "auto", - "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 #B", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Heap Max", - "align": "auto", - "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 #C", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Heap Used %", - "align": "auto", - "colorMode": "value", - "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": 2, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [ - ".5", - ".8" - ], - "type": "number", - "unit": "percentunit" - }, - { - "alias": "Role", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "role", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}) by (member, nodeId, site, machine, role)", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member, nodeId, site, machine, role)", "format": "table", "instant": true, "intervalFactor": 1, @@ -294,7 +428,7 @@ "refId": "B" }, { - "expr": "sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}) by (member, nodeId, site, machine, role)", + "expr": "sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member, nodeId, site, machine, role)", "format": "table", "instant": true, "intervalFactor": 1, @@ -302,7 +436,7 @@ "refId": "C" }, { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}) by (member, nodeId, site, machine, role) / sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}) by (member, nodeId, site, machine, role) ", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member, nodeId, site, machine, role) / sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member, nodeId, site, machine, role) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -311,14 +445,120 @@ } ], "title": "Current Cluster Members", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "The top $TopLimit Members that have the highest Total GC Time over the current time range.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Collection Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -327,57 +567,22 @@ }, "id": 96, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Total Collection Time", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "decimals": 2, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "ms" + "show": false }, - { - "alias": "Member Name", - "align": "auto", - "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" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "topk($TopLimit, sum(delta(vendor:coherence_gc_collection_time{cluster=\"${ClusterName:raw}\"}[$__range])) by (member))", + "expr": "topk($TopLimit, sum(delta(coherence_gc_collection_time{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range])) by (member))", "format": "table", "instant": true, "interval": "", @@ -387,14 +592,120 @@ } ], "title": "Top $TopLimit Total GC Time - Current Range", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "The top $TopLimit Members that have the highest Total GC Count over the current time range.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Collection Count" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -403,57 +714,22 @@ }, "id": 97, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Total Collection Count", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "decimals": 0, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "alias": "Member Name", - "align": "auto", - "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": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "topk($TopLimit, sum(delta(vendor:coherence_gc_collection_count{cluster=\"${ClusterName:raw}\"}[$__range] )) by (member))", + "expr": "topk($TopLimit, sum(delta(coherence_gc_collection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range] )) by (member))", "format": "table", "instant": true, "interval": "", @@ -463,8 +739,15 @@ } ], "title": "Top $TopLimit Total GC Count - Current Range", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -475,6 +758,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -538,7 +823,8 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -548,7 +834,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "avg(vendor:coherence_os_process_cpu_load{cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "avg(coherence_os_process_cpu_load{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member)", "format": "time_series", "instant": false, "interval": "", @@ -569,6 +855,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -632,7 +920,8 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -642,7 +931,9 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "avg(vendor:coherence_os_system_cpu_load{cluster=\"${ClusterName:raw}\"}) by (machine)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_os_system_cpu_load{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (machine)", "format": "time_series", "instant": false, "interval": "", @@ -662,6 +953,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -724,7 +1017,8 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -734,7 +1028,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}) by (member) / sum(vendor:coherence_memory_heap_memory_usage_max{cluster=\"${ClusterName:raw}\"}) by (member) * 100", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member) / sum(coherence_memory_heap_memory_usage_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member) * 100", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -753,6 +1047,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -814,7 +1110,8 @@ "max" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -824,7 +1121,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_memory_heap_after_gc_used{cluster=\"${ClusterName:raw}\"}) by (member)", + "expr": "sum(coherence_memory_heap_after_gc_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (member)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -844,6 +1141,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -905,7 +1204,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -916,7 +1216,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_gc_collection_count{cluster=\"${ClusterName:raw}\"} - vendor:coherence_gc_collection_count{cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_gc_collection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_gc_collection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -937,6 +1237,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -997,7 +1299,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1008,7 +1311,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_gc_collection_time{cluster=\"${ClusterName:raw}\"} - vendor:coherence_gc_collection_time{cluster=\"${ClusterName:raw}\"} offset $__interval > 0", + "expr": "coherence_gc_collection_time{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} - coherence_gc_collection_time{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1027,6 +1330,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1089,7 +1394,8 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1099,7 +1405,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_node_publisher_success_rate{cluster=\"${ClusterName:raw}\"}", + "expr": "coherence_node_publisher_success_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}", "format": "time_series", "instant": false, "interval": "", @@ -1119,6 +1425,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1181,7 +1489,8 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1191,7 +1500,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_node_receiver_success_rate{cluster=\"${ClusterName:raw}\"}", + "expr": "coherence_node_receiver_success_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}", "format": "time_series", "instant": false, "interval": "", @@ -1205,13 +1514,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 @@ -1225,7 +1555,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, @@ -1250,7 +1580,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, @@ -1277,7 +1607,7 @@ "name": "Services", "options": [], "query": { - "query": "label_values(vendor:coherence_service_request_max_duration{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_request_max_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-Services-Variable-Query" }, "refresh": 1, @@ -1308,7 +1638,7 @@ "name": "Caches", "options": [], "query": { - "query": "label_values(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\"}, name) ", + "query": "label_values(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name) ", "refId": "prometheus-Caches-Variable-Query" }, "refresh": 1, @@ -1360,7 +1690,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -1391,6 +1721,6 @@ "timezone": "", "title": "Coherence Members Summary Dashboard", "uid": "coh-members-summary", - "version": 1, + "version": 4, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/persistence-summary-dashboard.json b/dashboards/grafana/persistence-summary-dashboard.json index 0fd03125b..f96c588e4 100644 --- a/dashboards/grafana/persistence-summary-dashboard.json +++ b/dashboards/grafana/persistence-summary-dashboard.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 4, - "iteration": 1715652186308, + "id": 19, "links": [ { "icon": "dashboard", @@ -52,16 +51,198 @@ "id": 65, "links": [], "options": { - "content": "

Persistence Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Persistence Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align", + "value": "auto" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "persistence_mode" + }, + "properties": [ + { + "id": "displayName", + "value": "Persistence Mode" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Backup Space Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Active Space Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Max Latency" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -70,129 +251,24 @@ }, "id": 61, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:506", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:507", - "alias": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:508", - "alias": "Persistence Mode", - "align": "auto", - "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": "persistence_mode", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:509", - "alias": "Total Backup Space Used", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:510", - "alias": "Total Active Space Used", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:511", - "alias": "Max Latency", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 1, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "ms" + "show": false }, - { - "$$hashKey": "object:512", - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_persistence_active_space_used{cluster=\"${ClusterName:raw}\"}) by(name, persistence_mode)", + "editorMode": "code", + "expr": "sum(coherence_service_persistence_active_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(name, persistence_mode)", "format": "table", "instant": true, "intervalFactor": 1, @@ -201,7 +277,8 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_persistence_backup_space_used{cluster=\"${ClusterName:raw}\"}) by(name, persistence_mode)", + "editorMode": "code", + "expr": "sum(coherence_service_persistence_backup_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(name, persistence_mode)", "format": "table", "hide": false, "instant": true, @@ -211,7 +288,8 @@ }, { "datasource": "prometheus", - "expr": "max(vendor:coherence_service_persistence_latency_max{cluster=\"${ClusterName:raw}\"}) by(name, persistence_mode)", + "editorMode": "code", + "expr": "max(coherence_service_persistence_latency_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(name, persistence_mode)", "format": "table", "instant": true, "intervalFactor": 1, @@ -220,13 +298,208 @@ } ], "title": "Persistence Enabled Services", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Disk Space Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Backup Space Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Active Space Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 12, @@ -235,130 +508,23 @@ }, "id": 62, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:725", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "link": false, - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:726", - "alias": "Service", - "align": "auto", - "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": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:727", - "alias": "Disk Space Used", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:728", - "alias": "Member", - "align": "auto", - "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": "number", - "unit": "short" - }, - { - "$$hashKey": "object:831", - "alias": "", - "align": "auto", - "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": "", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:729", - "alias": "Backup Space Used", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:972", - "alias": "Active Space Used", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - } - ], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_persistence_active_space_used{cluster=\"${ClusterName:raw}\"}) by(member)", + "expr": "sum(coherence_service_persistence_active_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -367,7 +533,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_persistence_backup_space_used{cluster=\"${ClusterName:raw}\"}) by(member)", + "expr": "sum(coherence_service_persistence_backup_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(member)", "format": "table", "hide": false, "instant": true, @@ -377,13 +543,368 @@ } ], "title": "Active/ Backup Space Used per Member", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Active Space Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Size of Active Disk" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "% Avail on Active Disk" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "#EAB839", + "value": 0.5 + }, + { + "color": "green", + "value": 0.75 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Avail on Active Disk" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "machine" + }, + "properties": [ + { + "id": "displayName", + "value": "Machine" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to machines summary", + "url": "/d/coh-machines-summary?$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Backup Space Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Size of Backup Disk" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "% Avail on Backup Disk" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "#EAB839", + "value": 0.5 + }, + { + "color": "green", + "value": 0.75 + } + ] + } + }, + { + "id": "noValue", + "value": "0" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #H" + }, + "properties": [ + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "displayName", + "value": "Active Space Avail" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -392,223 +913,23 @@ }, "id": 66, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:1119", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "link": false, - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:1120", - "alias": "", - "align": "auto", - "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": "", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:1121", - "alias": "Active Space Used", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:1122", - "alias": "Size of Active Disk", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:1123", - "alias": "% Avail on Active Disk", - "align": "auto", - "colorMode": "value", - "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": 1, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [ - ".20", - ".50" - ], - "type": "number", - "unit": "percentunit" - }, - { - "$$hashKey": "object:1124", - "alias": "Avail on Active Disk", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:1125", - "alias": "Machine", - "align": "auto", - "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 machines summary", - "linkUrl": "/d/coh-machines-summary?var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "machine", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:1467", - "alias": "", - "align": "auto", - "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": "", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:1126", - "alias": "Backup Space Used", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:2535", - "alias": "Size of Backup Disk", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #F", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "$$hashKey": "object:3188", - "alias": "% Avail on Backup Disk", - "align": "auto", - "colorMode": "value", - "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": 1, - "mappingType": 1, - "pattern": "Value #G", - "thresholds": [ - ".20", - ".50" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "percentunit" + "show": false }, - { - "$$hashKey": "object:4117", - "alias": "Avail on Backup Disk", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #H", - "thresholds": [], - "type": "number", - "unit": "decbytes" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_persistence_active_space_used{cluster=\"${ClusterName:raw}\"}) by(machine)", + "expr": "sum(coherence_service_persistence_active_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(machine)", "format": "table", "instant": true, "intervalFactor": 1, @@ -617,7 +938,7 @@ }, { "datasource": "prometheus", - "expr": "avg(vendor:coherence_service_persistence_active_space_total{cluster=\"${ClusterName:raw}\"}) by(machine)", + "expr": "avg(coherence_service_persistence_active_space_total{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(machine)", "format": "table", "instant": true, "intervalFactor": 1, @@ -626,7 +947,7 @@ }, { "datasource": "prometheus", - "expr": "avg(vendor:coherence_service_persistence_active_space_available{cluster=\"${ClusterName:raw}\"}) by(machine)", + "expr": "avg(coherence_service_persistence_active_space_available{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(machine)", "format": "table", "instant": true, "intervalFactor": 1, @@ -635,7 +956,7 @@ }, { "datasource": "prometheus", - "expr": "avg(vendor:coherence_service_persistence_active_space_available{cluster=\"${ClusterName:raw}\"} / vendor:coherence_service_persistence_active_space_total{cluster=\"${ClusterName:raw}\"}) by(machine)", + "expr": "avg(coherence_service_persistence_active_space_available{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} / coherence_service_persistence_active_space_total{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(machine)", "format": "table", "instant": true, "intervalFactor": 1, @@ -644,7 +965,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_persistence_backup_space_used{cluster=\"${ClusterName:raw}\"}) by(machine)", + "expr": "sum(coherence_service_persistence_backup_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(machine)", "format": "table", "hide": false, "instant": true, @@ -654,7 +975,7 @@ }, { "datasource": "prometheus", - "expr": "avg(vendor:coherence_service_persistence_backup_space_total{cluster=\"${ClusterName:raw}\"}) by(machine)", + "expr": "avg(coherence_service_persistence_backup_space_total{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(machine)", "format": "table", "hide": false, "instant": true, @@ -664,17 +985,7 @@ }, { "datasource": "prometheus", - "expr": "avg(vendor:coherence_service_persistence_active_space_available{cluster=\"${ClusterName:raw}\"}) by(machine)", - "format": "table", - "hide": false, - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "H" - }, - { - "datasource": "prometheus", - "expr": "avg(vendor:coherence_service_persistence_backup_space_available{cluster=\"${ClusterName:raw}\"} / vendor:coherence_service_persistence_backup_space_total{cluster=\"${ClusterName:raw}\"}) by(machine)", + "expr": "avg(coherence_service_persistence_backup_space_available{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} / coherence_service_persistence_backup_space_total{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by(machine)", "format": "table", "hide": false, "instant": true, @@ -684,8 +995,15 @@ } ], "title": "Active / Backup Space Used per Machine", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -696,6 +1014,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -724,6 +1044,7 @@ } }, "mappings": [], + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ @@ -756,7 +1077,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -768,7 +1090,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_service_persistence_active_space_used{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_service_persistence_active_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "Active Disk Space", @@ -778,7 +1100,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_service_persistence_backup_space_used{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_service_persistence_backup_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -791,7 +1113,10 @@ "type": "timeseries" }, { - "datasource": "prometheus", + "datasource": { + "type": "prometheus", + "uid": "P1809F7CD0C75ACF3" + }, "description": "Shows the total active space used by service.", "fieldConfig": { "defaults": { @@ -799,6 +1124,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -827,6 +1154,7 @@ } }, "mappings": [], + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ @@ -858,7 +1186,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -869,7 +1198,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_persistence_active_space_used{cluster=\"${ClusterName:raw}\"}) by (name)", + "expr": "sum(coherence_service_persistence_active_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -889,6 +1218,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -917,6 +1248,7 @@ } }, "mappings": [], + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ @@ -948,7 +1280,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -959,7 +1292,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_persistence_backup_space_used{cluster=\"${ClusterName:raw}\"}) by (name)", + "expr": "sum(coherence_service_persistence_backup_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -972,13 +1305,38 @@ } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" ], "templating": { "list": [ + { + "current": { + "isNone": true, + "selected": false, + "text": "None", + "value": "" + }, + "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 @@ -992,7 +1350,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, @@ -1006,7 +1364,7 @@ }, { "current": { - "selected": false + "selected": false, }, "datasource": "prometheus", "definition": "", @@ -1017,7 +1375,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, @@ -1044,7 +1402,7 @@ "name": "Services", "options": [], "query": { - "query": "label_values(vendor:coherence_service_request_max_duration{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_request_max_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-Services-Variable-Query" }, "refresh": 1, @@ -1058,7 +1416,7 @@ }, { "current": { - "selected": false, + "selected": true, "text": [ "All" ], @@ -1075,7 +1433,7 @@ "name": "Caches", "options": [], "query": { - "query": "label_values(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\"}, name) ", + "query": "label_values(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name) ", "refId": "prometheus-Caches-Variable-Query" }, "refresh": 1, @@ -1133,7 +1491,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -1164,6 +1522,6 @@ "timezone": "", "title": "Coherence Persistence Summary Dashboard", "uid": "coh-persistence-summary", - "version": 1, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/proxy-server-detail-dashboard.json b/dashboards/grafana/proxy-server-detail-dashboard.json index 4bb66a51b..b653ee946 100644 --- a/dashboards/grafana/proxy-server-detail-dashboard.json +++ b/dashboards/grafana/proxy-server-detail-dashboard.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 1, - "iteration": 1715654366924, + "id": 23, "links": [ { "icon": "dashboard", @@ -62,16 +61,328 @@ "id": 37, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Proxy Servers Details - $ServiceName

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Bytes Sent" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Bytes Received" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Outgoing Byte Backlog" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 50 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Current Connections" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "host_url" + }, + "properties": [ + { + "id": "displayName", + "value": "Host URL" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Messages Sent" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Messages Received" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "Un-Auth Connection Attempts" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 2 + } + ] + } + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -80,212 +391,22 @@ }, "id": 33, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Total Bytes Sent", - "align": "auto", - "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": "decbytes" - }, - { - "alias": "Service", - "align": "auto", - "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": "", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Total Bytes Received", - "align": "auto", - "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": "decbytes" - }, - { - "alias": "Outgoing Byte Backlog", - "align": "auto", - "colorMode": "value", - "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": [ - "1", - "50" - ], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Current Connections", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Member", - "align": "auto", - "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-MemberName=${__cell}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "member", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Host URL", - "align": "auto", - "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": "host_url", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Total Messages Sent", - "align": "auto", - "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 #E", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Total Messages Received", - "align": "auto", - "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 #F", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Unauthorized Connection Attempts", - "align": "auto", - "colorMode": "value", - "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": 2, - "mappingType": 1, - "pattern": "Value #G", - "thresholds": [ - "1", - "2" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "none" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_connection_manager_connection_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", + "expr": "sum(coherence_connection_manager_connection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", "format": "table", "instant": true, "intervalFactor": 1, @@ -293,7 +414,7 @@ "refId": "D" }, { - "expr": "sum(vendor:coherence_connection_manager_total_messages_received{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", + "expr": "sum(coherence_connection_manager_total_messages_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", "format": "table", "instant": true, "intervalFactor": 1, @@ -301,7 +422,7 @@ "refId": "F" }, { - "expr": "sum(vendor:coherence_connection_manager_total_messages_sent{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", + "expr": "sum(coherence_connection_manager_total_messages_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", "format": "table", "instant": true, "intervalFactor": 1, @@ -309,7 +430,7 @@ "refId": "E" }, { - "expr": "sum(vendor:coherence_connection_manager_total_bytes_received {cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", + "expr": "sum(coherence_connection_manager_total_bytes_received {namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", "format": "table", "instant": true, "intervalFactor": 1, @@ -317,7 +438,7 @@ "refId": "B" }, { - "expr": "sum(vendor:coherence_connection_manager_total_bytes_sent{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host)", + "expr": "sum(coherence_connection_manager_total_bytes_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host)", "format": "table", "instant": true, "intervalFactor": 1, @@ -325,7 +446,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_connection_manager_outgoing_byte_backlog{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host)", + "expr": "sum(coherence_connection_manager_outgoing_byte_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host)", "format": "table", "instant": true, "intervalFactor": 1, @@ -333,7 +454,7 @@ "refId": "C" }, { - "expr": "sum(vendor:coherence_connection_manager_unauthorized_connection_attempts{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", + "expr": "sum(coherence_connection_manager_unauthorized_connection_attempts{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member, host_url)", "format": "table", "instant": true, "intervalFactor": 1, @@ -342,14 +463,193 @@ } ], "title": "Proxy Server Members for $ServiceName", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Connected To" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "remote_address" + }, + "properties": [ + { + "id": "displayName", + "value": "Remote Client Address" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "remote_port" + }, + "properties": [ + { + "id": "displayName", + "value": "Remote Client Port" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Connection Time" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "node_id" + }, + "properties": [ + { + "id": "displayName", + "value": "Node Id" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -358,107 +658,22 @@ }, "id": 42, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Member Connected To", - "align": "auto", - "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-MemberName=${__cell}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "member", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Remote Client Address", - "align": "auto", - "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": "remote_address", - "preserveFormat": false, - "sanitize": false, - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Remote Client Port", - "align": "auto", - "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": "remote_port", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Connection Time", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "decimals": 2, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "ms" + "show": false }, - { - "alias": "Node Id", - "align": "auto", - "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": "node_id", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_connection_connection_time_millis{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (remote_address, remote_port, member, node_id)", + "expr": "avg(coherence_connection_connection_time_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (remote_address, remote_port, member, node_id)", "format": "table", "instant": true, "intervalFactor": 1, @@ -467,8 +682,15 @@ } ], "title": "Current Proxy Server Connections for $ServiceName", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -478,6 +700,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -541,7 +765,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -551,7 +776,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_connection_manager_outgoing_byte_backlog{cluster=\"${ClusterName:raw}\", name='$ServiceName', protocol=~\"tcp\"} > 0", + "expr": "coherence_connection_manager_outgoing_byte_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName', protocol=~\"tcp\"} > 0", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{member}}", @@ -569,6 +794,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -632,7 +859,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -642,7 +870,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_connection_manager_outgoing_message_backlog{cluster=\"${ClusterName:raw}\", name='$ServiceName'} > 0", + "expr": "coherence_connection_manager_outgoing_message_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'} > 0", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{member}}", @@ -661,6 +889,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -725,7 +955,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -736,7 +967,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_total_bytes_sent{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\", name='$ServiceName'} - vendor:coherence_connection_manager_total_bytes_sent{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\", name='$ServiceName'} offset $__interval > 0", + "expr": "coherence_connection_manager_total_bytes_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\", name='$ServiceName'} - coherence_connection_manager_total_bytes_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\", name='$ServiceName'} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -757,6 +988,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -820,7 +1053,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -831,7 +1065,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_total_bytes_received{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} - vendor:coherence_connection_manager_total_bytes_received{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} offset $__interval > 0", + "expr": "coherence_connection_manager_total_bytes_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} - coherence_connection_manager_total_bytes_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -845,13 +1079,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 @@ -865,7 +1120,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, @@ -881,6 +1136,7 @@ "current": { "selected": false }, + "datasource": "prometheus", "definition": "", "hide": 2, "includeAll": false, @@ -889,7 +1145,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, @@ -906,7 +1162,7 @@ "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_connection_manager_total_messages_sent{cluster=\"${ClusterName:raw}\"}, name)", + "definition": "label_values(coherence_connection_manager_total_messages_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "hide": 0, "includeAll": false, "label": "Service Name", @@ -914,7 +1170,7 @@ "name": "ServiceName", "options": [], "query": { - "query": "label_values(vendor:coherence_connection_manager_total_messages_sent{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_connection_manager_total_messages_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-ServiceName-Variable-Query" }, "refresh": 1, @@ -929,7 +1185,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { diff --git a/dashboards/grafana/proxy-servers-summary-dashboard.json b/dashboards/grafana/proxy-servers-summary-dashboard.json index 9cb55d0b0..ae8dafd6d 100644 --- a/dashboards/grafana/proxy-servers-summary-dashboard.json +++ b/dashboards/grafana/proxy-servers-summary-dashboard.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 24, - "iteration": 1715654583379, + "id": 25, "links": [ { "icon": "dashboard", @@ -52,16 +51,334 @@ "id": 37, "links": [], "options": { - "content": "

Proxy Servers Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Proxy Servers Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Member Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Current Connections" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to Proxy Server Details for ${__data.fields[1]}", + "url": "/d/coh-proxy-server-detail?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Bytes Received" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Bytes Sent" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Outgoing Backlog" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 100 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Messages Received" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Messages Sent" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #H" + }, + "properties": [ + { + "id": "displayName", + "value": "Unauthorized Connection Attempts" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 2 + } + ] + } + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -70,196 +387,22 @@ }, "id": 33, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Member Count", - "align": "auto", - "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": "none" - }, - { - "alias": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Total Current Connections", - "align": "auto", - "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 Proxy Server Details for ${__cell_1}", - "linkUrl": "/d/coh-proxy-server-detail?var-ServiceName=${__cell_1}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Total Bytes Received", - "align": "auto", - "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 #C", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Total Bytes Sent", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Total Outgoing Backlog", - "align": "auto", - "colorMode": "value", - "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 #E", - "thresholds": [ - "1", - "100" - ], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Total Messages Received", - "align": "auto", - "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 #F", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Total Messages Sent", - "align": "auto", - "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 #G", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Unauthorized Connection Attempts", - "align": "auto", - "colorMode": "value", - "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": 2, - "mappingType": 1, - "pattern": "Value #H", - "thresholds": [ - "1", - "2" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "number", - "unit": "none" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_connection_manager_connection_count{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", + "expr": "count(coherence_connection_manager_connection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -267,7 +410,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_connection_manager_connection_count{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", + "expr": "sum(coherence_connection_manager_connection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -275,7 +418,7 @@ "refId": "B" }, { - "expr": "sum(vendor:coherence_connection_manager_total_messages_received{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", + "expr": "sum(coherence_connection_manager_total_messages_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -283,7 +426,7 @@ "refId": "F" }, { - "expr": "sum(vendor:coherence_connection_manager_total_messages_sent{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", + "expr": "sum(coherence_connection_manager_total_messages_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -291,7 +434,7 @@ "refId": "G" }, { - "expr": "sum(vendor:coherence_connection_manager_total_bytes_received{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", + "expr": "sum(coherence_connection_manager_total_bytes_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -299,7 +442,7 @@ "refId": "C" }, { - "expr": "sum(vendor:coherence_connection_manager_total_bytes_sent{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", + "expr": "sum(coherence_connection_manager_total_bytes_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -307,7 +450,7 @@ "refId": "D" }, { - "expr": "sum(vendor:coherence_connection_manager_outgoing_byte_backlog{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", + "expr": "sum(coherence_connection_manager_outgoing_byte_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -315,7 +458,7 @@ "refId": "E" }, { - "expr": "sum(vendor:coherence_connection_manager_unauthorized_connection_attempts{cluster=\"${ClusterName:raw}\"}) by (name) ", + "expr": "sum(coherence_connection_manager_unauthorized_connection_attempts{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -324,8 +467,15 @@ } ], "title": "Proxy Service List - Coherence*Extend", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -336,6 +486,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -394,12 +546,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull", - "max" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -410,7 +560,8 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_total_bytes_sent{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} - vendor:coherence_connection_manager_total_bytes_sent{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} offset $__interval > 0", + "editorMode": "code", + "expr": "coherence_connection_manager_total_bytes_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} - coherence_connection_manager_total_bytes_sent{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -431,6 +582,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -489,11 +642,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -504,7 +656,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_connection_manager_total_bytes_received{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} - vendor:coherence_connection_manager_total_bytes_received{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} offset $__interval > 0", + "expr": "coherence_connection_manager_total_bytes_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} - coherence_connection_manager_total_bytes_received{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"} offset $__interval > 0", "format": "time_series", "instant": false, "interval": "", @@ -525,6 +677,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -583,11 +737,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -597,7 +750,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_connection_manager_connection_count{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) ", + "expr": "sum(coherence_connection_manager_connection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) ", "format": "time_series", "instant": false, "interval": "", @@ -618,6 +771,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -677,11 +832,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -691,7 +845,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_connection_manager_connection_count{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", + "expr": "sum(coherence_connection_manager_connection_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}) by (name)", "format": "time_series", "instant": false, "intervalFactor": 1, @@ -711,6 +865,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -746,8 +902,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -769,12 +924,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull", - "max" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -784,7 +937,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_connection_manager_outgoing_byte_backlog{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}", + "expr": "coherence_connection_manager_outgoing_byte_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}", "format": "time_series", "instant": false, "interval": "", @@ -805,6 +958,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -840,8 +995,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -864,11 +1018,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -878,7 +1031,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_connection_manager_outgoing_message_backlog{cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}", + "expr": "coherence_connection_manager_outgoing_message_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",protocol=~\"tcp\"}", "format": "time_series", "instant": false, "interval": "", @@ -892,13 +1045,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 @@ -912,7 +1086,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, @@ -937,7 +1111,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, @@ -952,7 +1126,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -983,6 +1157,6 @@ "timezone": "", "title": "Coherence Proxy Servers Summary Dashboard", "uid": "coh-proxy-services-summary", - "version": 1, + "version": 5, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/service-details-dashboard.json b/dashboards/grafana/service-details-dashboard.json index 8ba2706a6..b22f900f7 100644 --- a/dashboards/grafana/service-details-dashboard.json +++ b/dashboards/grafana/service-details-dashboard.json @@ -13,7 +13,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", + "expr": "changes(coherence_cluster_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[1m])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -27,7 +27,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_service_owned_partitions_primary{cluster=\"${ClusterName:raw}\", name='$ServiceName'}[1m])", + "expr": "changes(coherence_service_owned_partitions_primary{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}[1m])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -45,8 +45,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 16, - "iteration": 1715654754417, + "id": 19, "links": [ { "icon": "dashboard", @@ -91,16 +90,244 @@ "id": 34, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Service Details - $ServiceName

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Current Thread Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Idle Thread Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Current Thread Utilization" + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)" + }, + { + "color": "rgba(245, 54, 54, 0.9)" + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Task Average" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Request Average" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 24, @@ -109,141 +336,22 @@ }, "id": 21, "links": [], - "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": "Current Thread Count", - "align": "auto", - "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": "none" - }, - { - "alias": "Idle Thread Count", - "align": "auto", - "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": "none" - }, - { - "alias": "Current Thread Utilization", - "align": "auto", - "colorMode": "cell", - "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": 2, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [ - ".50", - ".90" - ], - "type": "number", - "unit": "percentunit" - }, - { - "alias": "Member", - "align": "auto", - "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": "Task Average", - "align": "auto", - "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 #D", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "alias": "Request Average", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "ms" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_service_task_average_duration{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)", + "expr": "sum(coherence_service_task_average_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -251,7 +359,7 @@ "refId": "D" }, { - "expr": "sum(vendor:coherence_service_request_average_duration{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)", + "expr": "sum(coherence_service_request_average_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -259,7 +367,7 @@ "refId": "E" }, { - "expr": "sum(vendor:coherence_service_thread_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)", + "expr": "sum(coherence_service_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)", "format": "table", "hide": false, "instant": true, @@ -268,7 +376,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_service_thread_idle_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)", + "expr": "sum(coherence_service_thread_idle_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)", "format": "table", "hide": false, "instant": true, @@ -277,7 +385,7 @@ "refId": "B" }, { - "expr": "(sum(vendor:coherence_service_thread_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member) - sum(vendor:coherence_service_thread_idle_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)) / (sum(vendor:coherence_service_thread_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member))", + "expr": "(sum(coherence_service_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member) - sum(coherence_service_thread_idle_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)) / (sum(coherence_service_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member))", "format": "table", "instant": true, "intervalFactor": 1, @@ -286,8 +394,15 @@ } ], "title": "Member Service Threads", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -298,6 +413,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -361,7 +478,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -371,7 +489,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "((sum(vendor:coherence_service_thread_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member) -sum(vendor:coherence_service_thread_idle_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)) / (sum(vendor:coherence_service_thread_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)))", + "expr": "((sum(coherence_service_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member) -sum(coherence_service_thread_idle_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)) / (sum(coherence_service_thread_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) by (member)))", "format": "time_series", "instant": false, "interval": "", @@ -392,6 +510,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -456,7 +576,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -467,7 +588,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_request_timeout_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) - sum(vendor:coherence_service_request_timeout_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'} offset $__interval) > 0", + "expr": "sum(coherence_service_request_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) - sum(coherence_service_request_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -477,7 +598,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_task_timeout_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) - sum(vendor:coherence_service_task_timeout_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'} offset $__interval) > 0", + "expr": "sum(coherence_service_task_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) - sum(coherence_service_task_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -487,7 +608,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_task_hung_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) - sum(vendor:coherence_service_task_hung_count{cluster=\"${ClusterName:raw}\",name='$ServiceName'} offset $__interval) > 0", + "expr": "sum(coherence_service_task_hung_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) - sum(coherence_service_task_hung_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -508,6 +629,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -566,12 +689,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull", - "max" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -582,7 +703,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "irate(vendor:coherence_service_task_count{cluster=\"${ClusterName:raw}\", name='$ServiceName'}[1m])", + "expr": "irate(coherence_service_task_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}[1m])", "format": "time_series", "instant": false, "interval": "", @@ -602,6 +723,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -659,12 +782,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull", - "max" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -674,7 +795,9 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_service_task_backlog{cluster=\"${ClusterName:raw}\", name='$ServiceName'} > 0", + "datasource": "prometheus", + "editorMode": "code", + "expr": "coherence_service_task_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}", "format": "time_series", "instant": false, "interval": "", @@ -694,6 +817,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -752,12 +877,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull", - "max" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -768,7 +891,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_service_request_pending_count{cluster=\"${ClusterName:raw}\", name='$ServiceName'}", + "expr": "coherence_service_request_pending_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}", "format": "time_series", "instant": false, "interval": "", @@ -788,6 +911,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -845,12 +970,10 @@ "links": [], "options": { "legend": { - "calcs": [ - "lastNotNull", - "max" - ], + "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -861,7 +984,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "vendor:coherence_service_request_pending_duration{cluster=\"${ClusterName:raw}\", name='$ServiceName'}", + "expr": "coherence_service_request_pending_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}", "format": "time_series", "instant": false, "interval": "", @@ -881,6 +1004,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -941,7 +1066,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -951,7 +1077,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_service_task_average_duration{cluster=\"${ClusterName:raw}\", name='$ServiceName'}", + "expr": "coherence_service_task_average_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}", "format": "time_series", "instant": false, "interval": "", @@ -971,6 +1097,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1032,7 +1160,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1042,7 +1171,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "vendor:coherence_service_request_average_duration{cluster=\"${ClusterName:raw}\", name='$ServiceName'}", + "expr": "coherence_service_request_average_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}", "format": "time_series", "instant": false, "interval": "", @@ -1065,10 +1194,15 @@ "id": 35, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Storage Details

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -1134,10 +1268,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_service_partitions_endangered{cluster=\"${ClusterName:raw}\",name='$ServiceName'})", + "expr": "avg(coherence_service_partitions_endangered{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -1209,10 +1343,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_service_partitions_vulnerable{cluster=\"${ClusterName:raw}\",name='$ServiceName'}) ", + "expr": "avg(coherence_service_partitions_vulnerable{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'}) ", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -1286,10 +1420,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_service_partitions_unbalanced{cluster=\"${ClusterName:raw}\",name='$ServiceName'})", + "expr": "avg(coherence_service_partitions_unbalanced{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",name='$ServiceName'})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -1363,10 +1497,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}) ", + "expr": "sum(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}) ", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -1439,10 +1573,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_storage_manager_index_total_units{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'})", + "expr": "sum(coherence_storage_manager_index_total_units{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -1510,10 +1644,10 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}) by (name))", + "expr": "count(sum(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}) by (name))", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -1531,6 +1665,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1592,7 +1728,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1602,7 +1739,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "avg(vendor:coherence_service_partitions_endangered{cluster=\"${ClusterName:raw}\", name='$ServiceName'}) ", + "expr": "avg(coherence_service_partitions_endangered{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}) ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1610,7 +1747,7 @@ "refId": "A" }, { - "expr": "avg(vendor:coherence_service_partitions_vulnerable{cluster=\"${ClusterName:raw}\", name='$ServiceName'}) ", + "expr": "avg(coherence_service_partitions_vulnerable{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}) ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1618,7 +1755,7 @@ "refId": "B" }, { - "expr": "avg(vendor:coherence_service_partitions_unbalanced{cluster=\"${ClusterName:raw}\", name='$ServiceName'})", + "expr": "avg(coherence_service_partitions_unbalanced{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'})", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1637,6 +1774,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1698,7 +1837,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1708,7 +1848,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "avg(vendor:coherence_service_owned_partitions_primary{cluster=\"${ClusterName:raw}\", name='$ServiceName'}) ", + "expr": "avg(coherence_service_owned_partitions_primary{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}) ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1716,7 +1856,7 @@ "refId": "A" }, { - "expr": "avg(vendor:coherence_service_owned_partitions_backup{cluster=\"${ClusterName:raw}\", name='$ServiceName'}) ", + "expr": "avg(coherence_service_owned_partitions_backup{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}) ", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1728,9 +1868,226 @@ "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Used Space" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to cache details for ${__data.fields[1]}", + "url": "/d/coh-cache-details?var-ServiceName=$ServiceName&var-CacheName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Memory" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Cache Size" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Gets" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Puts" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 24, @@ -1739,153 +2096,22 @@ }, "id": 8, "links": [], - "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": "Used Space", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Member", - "align": "auto", - "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": "member", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Cache", - "align": "auto", - "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 cache details for ${__cell}", - "linkUrl": "/d/coh-cache-details?var-ClusterName=$ClusterName&var-ServiceName=$ServiceName&var-CacheName=${__cell}", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Cache Memory", - "align": "auto", - "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 #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Cache Size", - "align": "auto", - "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": "none" - }, - { - "alias": "Total Gets", - "align": "auto", - "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 #C", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "alias": "Total Puts", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "none" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}) by (name) ", + "expr": "sum(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}) by (name) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -1893,7 +2119,7 @@ "refId": "A" }, { - "expr": "sum(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName'}) by (name)", + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName'}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1901,7 +2127,7 @@ "refId": "B" }, { - "expr": "sum(vendor:coherence_cache_total_gets{cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName'}) by (name)", + "expr": "sum(coherence_cache_total_gets{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName'}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1909,7 +2135,7 @@ "refId": "C" }, { - "expr": "sum(vendor:coherence_cache_total_puts{cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName'}) by (name)", + "expr": "sum(coherence_cache_total_puts{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", coherence_service='$ServiceName'}) by (name)", "format": "table", "instant": true, "intervalFactor": 1, @@ -1918,8 +2144,15 @@ } ], "title": "Caches for Service $ServiceName", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -1932,17 +2165,171 @@ "id": 38, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Persistence Details

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", "description": "", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Active Space Used" + }, + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Average Persistence Latency" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Max Persistence Latency" + }, + { + "id": "unit", + "value": "ms" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 8, "w": 24, @@ -1951,120 +2338,42 @@ }, "id": 42, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Active Space Used", - "align": "auto", - "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": 1, - "mappingType": 1, - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "decbytes" - }, - { - "alias": "Average Persistence Latency", - "align": "auto", - "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 #B", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "alias": "Max Persistence Latency", - "align": "auto", - "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 #C", - "thresholds": [], - "type": "number", - "unit": "ms" - }, - { - "alias": "Member", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkUrl": "/d/coh-member-details?var-ClusterName=$ClusterName&var-MemberName=${__cell}", - "mappingType": 1, - "pattern": "member", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "sum(vendor:coherence_service_persistence_active_space_used{cluster=\"${ClusterName:raw}\", name='$ServiceName'}) by (member)", + "datasource": "prometheus", + "expr": "sum(coherence_service_persistence_latency_average{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, "legendFormat": "", - "refId": "A" + "refId": "B" }, { - "expr": "sum(vendor:coherence_service_persistence_latency_average{cluster=\"${ClusterName:raw}\", name='$ServiceName'}) by (member)", + "datasource": "prometheus", + "editorMode": "code", + "expr": "sum(coherence_service_persistence_active_space_used{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, "legendFormat": "", - "refId": "B" + "refId": "A" }, { - "expr": "sum(vendor:coherence_service_persistence_latency_max{cluster=\"${ClusterName:raw}\", name='$ServiceName'}) by (member)", + "datasource": "prometheus", + "expr": "sum(coherence_service_persistence_latency_max{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\", name='$ServiceName'}) by (member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -2073,12 +2382,17 @@ } ], "title": "Persistence Details across Members", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": {} + } + ], + "type": "table" } ], "refresh": "30s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -2087,7 +2401,30 @@ "list": [ { "current": { - "selected": false + }, + "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, + "text": "cache-store", + "value": "cache-store" }, "datasource": "prometheus", "definition": "", @@ -2098,7 +2435,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, @@ -2112,7 +2449,7 @@ }, { "current": { - "selected": true + "selected": false }, "datasource": "prometheus", "definition": "", @@ -2123,7 +2460,7 @@ "name": "ServiceName", "options": [], "query": { - "query": "label_values(vendor:coherence_service_member_count{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_member_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-ServiceName-Variable-Query" }, "refresh": 1, @@ -2138,7 +2475,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -2169,6 +2506,6 @@ "timezone": "", "title": "Coherence Service Details Dashboard", "uid": "coh-service-details", - "version": 1, + "version": 6, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/services-summary-dashboard.json b/dashboards/grafana/services-summary-dashboard.json index 1d659b342..ed881a780 100644 --- a/dashboards/grafana/services-summary-dashboard.json +++ b/dashboards/grafana/services-summary-dashboard.json @@ -13,7 +13,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_cluster_size{cluster=\"${ClusterName:raw}\"}[1m])", + "expr": "changes(coherence_cluster_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[1m])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -27,7 +27,7 @@ { "datasource": "prometheus", "enable": true, - "expr": "changes(vendor:coherence_service_owned_partitions_primary{cluster=\"${ClusterName:raw}\"}[60s])", + "expr": "changes(coherence_service_owned_partitions_primary{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[60s])", "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, @@ -44,8 +44,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 11, - "iteration": 1715655067818, + "id": 3, "links": [ { "icon": "dashboard", @@ -81,16 +80,205 @@ "id": 95, "links": [], "options": { - "content": "

Services Summary - Version: $CoherenceVersion

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Services Summary

", "mode": "html" }, - "pluginVersion": "8.5.27", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Members" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Status HA" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 2 + }, + { + "color": "rgba(50, 172, 45, 0.97)", + "value": 3 + } + ] + } + }, + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "index": 0, + "text": "ORPHANED" + }, + "1": { + "index": 1, + "text": "ENDANGERED" + }, + "2": { + "index": 2, + "text": "NODE-SAFE" + }, + "3": { + "index": 3, + "text": "MACHINE-SAFE" + }, + "4": { + "index": 4, + "text": "RACK-SAFE" + }, + "5": { + "index": 5, + "text": "SITE-SAFE" + } + }, + "type": "value" + } + ] + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 12, @@ -99,119 +287,22 @@ }, "id": 32, "links": [], - "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": "Members", - "align": "auto", - "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": "Name", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "coherence_service", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Status HA", - "align": "auto", - "colorMode": "cell", - "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 #B", - "thresholds": [ - "2", - "3" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "string", - "unit": "short", - "valueMaps": [ - { - "text": "ENDANGERED", - "value": "1" - }, - { - "text": "NODE-SAFE", - "value": "2" - }, - { - "text": "MACHINE-SAFE", - "value": "3" - }, - { - "text": "RACK-SAFE", - "value": "4" - }, - { - "text": "SITE-SAFE", - "value": "5" - }, - { - "text": "ORPHANED", - "value": "0" - } - ] + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_partition_assignment_service_node_count{cluster=\"${ClusterName:raw}\"}) by (coherence_service) ", + "expr": "avg(coherence_partition_assignment_service_node_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -219,7 +310,7 @@ "refId": "A" }, { - "expr": "avg(vendor:coherence_partition_assignment_ha_status_code{cluster=\"${ClusterName:raw}\"}) by (coherence_service)", + "expr": "avg(coherence_partition_assignment_ha_status_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (coherence_service)", "format": "table", "instant": true, "intervalFactor": 1, @@ -228,13 +319,141 @@ } ], "title": "Storage Service List", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Members" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "type" + }, + "properties": [ + { + "id": "displayName", + "value": "Service Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 12, @@ -243,89 +462,22 @@ }, "id": 92, "links": [], - "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": "Members", - "align": "auto", - "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", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Name", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Service Type", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "type", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "count(vendor:coherence_service_member_count{cluster=\"${ClusterName:raw}\",type!~\"DistributedCache|FederatedCache|ReplicatedCache|PagedTopic\"}) by (name, type) ", + "expr": "count(coherence_service_member_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",type!~\"DistributedCache|FederatedCache|ReplicatedCache|PagedTopic\"}) by (name, type) ", "format": "table", "instant": true, "intervalFactor": 1, @@ -334,8 +486,15 @@ } ], "title": "Non-Storage Service List", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -346,6 +505,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -408,7 +569,8 @@ "max" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -418,7 +580,7 @@ "pluginVersion": "8.5.27", "targets": [ { - "expr": "sum(vendor:coherence_service_task_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_service_task_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_service_task_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_service_task_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -438,6 +600,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -502,7 +666,8 @@ "max" ], "displayMode": "table", - "placement": "right" + "placement": "right", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -513,7 +678,7 @@ "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_request_timeout_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_service_request_timeout_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_service_request_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_service_request_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -522,7 +687,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_task_timeout_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_service_task_timeout_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_service_task_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_service_task_timeout_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -531,7 +696,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_service_task_hung_count{cluster=\"${ClusterName:raw}\"}) - sum(vendor:coherence_service_task_hung_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_service_task_hung_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum(coherence_service_task_hung_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -543,104 +708,178 @@ "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 26 - }, - "id": 77, - "links": [], - "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": "", - "align": "auto", - "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": "", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "Partition Count", - "align": "auto", - "colorMode": "cell", - "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", - "thresholds": [ - "1", - "2" - ], - "type": "number", - "unit": "none" - }, - { - "alias": "Service", - "align": "auto", - "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", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, "decimals": 2, - "link": true, - "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, "unit": "short" }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Partition Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 2 + } + ] + } + }, + { + "id": "decimals", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 8, + "x": 0, + "y": 26 + }, + "id": 77, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_service_partitions_endangered{cluster=\"${ClusterName:raw}\",type=~\"DistributedCache|FederatedCache|PagedTopic\"}) by (name) > 0", + "expr": "avg(coherence_service_partitions_endangered{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",type=~\"DistributedCache|FederatedCache|PagedTopic\"}) by (name) > 0", "format": "table", "instant": true, "interval": "", @@ -650,13 +889,148 @@ } ], "title": "Services With Endangered Partitions", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Partition Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": -1 + }, + { + "color": "rgba(50, 172, 45, 0.97)", + "value": 10000 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 8, @@ -665,76 +1039,22 @@ }, "id": 78, "links": [], - "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": "Partition Count", - "align": "auto", - "colorMode": "cell", - "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", - "mappingType": 1, - "pattern": "Value", - "thresholds": [ - "-1", - "10000" - ], - "type": "number", - "unit": "none" - }, - { - "alias": "Name", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_service_partitions_vulnerable{cluster=\"${ClusterName:raw}\",type=~\"DistributedCache|FederatedCache|PagedTopic\"}) by (name) > 0", + "expr": "avg(coherence_service_partitions_vulnerable{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",type=~\"DistributedCache|FederatedCache|PagedTopic\"}) by (name) > 0", "format": "table", "instant": true, "interval": "", @@ -744,90 +1064,174 @@ } ], "title": "Services With Vulnerable Partitions", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Partition Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": -1 + }, + { + "color": "rgba(50, 172, 45, 0.97)", + "value": 10000 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 26 }, - "id": 79, + "id": 99, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Partition Count", - "align": "auto", - "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", - "mappingType": 1, - "pattern": "Value", - "thresholds": [ - "-1", - "10000" - ], - "type": "number", - "unit": "none" - }, - { - "alias": "Name", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkTooltip": "Drill down to service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": "avg(vendor:coherence_service_partitions_unbalanced{cluster=\"${ClusterName:raw}\",type=~\"DistributedCache|FederatedCache|PagedTopic\"}) by (name) > 0", + "datasource": "prometheus", + "editorMode": "code", + "expr": "avg(coherence_service_partitions_unbalanced{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",type=~\"DistributedCache|FederatedCache|PagedTopic\"}) by (name) > 0", "format": "table", "instant": true, "interval": "", @@ -837,14 +1241,187 @@ } ], "title": "Services With Unbalanced Partitions", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "The top $TopLimit Services that have the greatest change in the Task Count over the current time range.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Task Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[2]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[2]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "type" + }, + "properties": [ + { + "id": "displayName", + "value": "Service Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 12, @@ -853,110 +1430,22 @@ }, "id": 48, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 3, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Task Count", - "align": "auto", - "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", - "thresholds": [ - "0" - ], - "type": "number", - "unit": "none" - }, - { - "alias": "Name", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Service Type", - "align": "auto", - "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": "type", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Member", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "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": "number", - "unit": "short" + "show": false }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": " topk($TopLimit,sum(delta(vendor:coherence_service_task_count{cluster=\"${ClusterName:raw}\"}[$__range])) by (name, member)) > 0", + "expr": " topk($TopLimit,sum(delta(coherence_service_task_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}[$__range])) by (name, member)) > 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -965,14 +1454,191 @@ } ], "title": "Top $TopLimit Services - Task Count - Current Range", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", "description": "The Current top $TopLimit Services that have the greatest task backlog.", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Task Backlog" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(245, 54, 54, 0.9)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 0 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Name" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[2]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "type" + }, + "properties": [ + { + "id": "displayName", + "value": "Service Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 12, @@ -981,110 +1647,22 @@ }, "id": 93, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 3, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "Task Backlog", - "align": "auto", - "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", - "thresholds": [ - "0" - ], - "type": "number", - "unit": "none" - }, - { - "alias": "Name", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Service Type", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "type", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "alias": "Member", - "align": "auto", - "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": "number", - "unit": "short" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { - "expr": " topk($TopLimit,sum(vendor:coherence_service_task_backlog{cluster=\"${ClusterName:raw}\"}) by (name, member)) > 0", + "expr": " topk($TopLimit,sum(coherence_service_task_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name, member)) > 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -1093,12 +1671,19 @@ } ], "title": "Current Top $TopLimit Services - Task Backlog - Current Range", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" } ], "refresh": "30s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -1107,7 +1692,30 @@ "list": [ { "current": { - "selected": false + }, + "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, + "text": "cache-store", + "value": "cache-store" }, "datasource": "prometheus", "definition": "", @@ -1118,7 +1726,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, @@ -1143,7 +1751,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, @@ -1170,7 +1778,7 @@ "name": "Services", "options": [], "query": { - "query": "label_values(vendor:coherence_service_request_max_duration{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_request_max_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-Services-Variable-Query" }, "refresh": 1, @@ -1201,7 +1809,7 @@ "name": "Caches", "options": [], "query": { - "query": "label_values(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\"}, name) ", + "query": "label_values(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name) ", "refId": "prometheus-Caches-Variable-Query" }, "refresh": 1, @@ -1258,7 +1866,7 @@ ] }, "time": { - "from": "now-15m", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -1289,6 +1897,6 @@ "timezone": "", "title": "Coherence Services Summary Dashboard", "uid": "coh-services-summary", - "version": 1, + "version": 12, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/topic-details-dashboard.json b/dashboards/grafana/topic-details-dashboard.json index 0e01f2568..a0106f745 100644 --- a/dashboards/grafana/topic-details-dashboard.json +++ b/dashboards/grafana/topic-details-dashboard.json @@ -16,8 +16,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 23, - "iteration": 1671581699168, + "id": 8, "links": [ { "icon": "dashboard", @@ -64,10 +63,15 @@ "id": 38, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Topic Details - $ServiceName / $TopicName

", "mode": "html" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -113,13 +117,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\"})", + "expr": "sum(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\"})", "instant": true, "range": false, "refId": "A" @@ -173,13 +177,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "count(count(\nvendor:coherence_paged_topic_subscriber_backlog{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id))", + "expr": "count(count(\ncoherence_paged_topic_subscriber_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id))", "instant": true, "range": false, "refId": "A" @@ -233,13 +237,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "count(count(\nvendor:coherence_paged_topic_subscriber_group_polled_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (name))", + "expr": "count(count(\ncoherence_paged_topic_subscriber_group_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (name))", "instant": true, "range": false, "refId": "A" @@ -292,13 +296,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"})", + "expr": "sum(coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"})", "instant": true, "range": false, "refId": "A" @@ -355,13 +359,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(\nvendor:coherence_paged_topic_subscriber_receive_errors{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName\"})", + "expr": "sum(\ncoherence_paged_topic_subscriber_receive_errors{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName\"})", "instant": true, "range": false, "refId": "A" @@ -418,13 +422,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(\nvendor:coherence_paged_topic_subscriber_receive_errors{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"})", + "expr": "sum(\ncoherence_paged_topic_subscriber_receive_errors{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"})", "instant": true, "range": false, "refId": "A" @@ -442,6 +446,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -497,8 +503,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "single", @@ -510,7 +517,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\"}) - sum (vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\"} offset $__interval) > 0\n", + "expr": "sum(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\"}) - sum (coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\"} offset $__interval) > 0\n", "format": "time_series", "instant": false, "interval": "", @@ -531,6 +538,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -586,8 +595,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "single", @@ -599,7 +609,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) - sum (vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"} offset $__interval) > 0", + "expr": "sum(coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) - sum (coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -612,9 +622,346 @@ "type": "timeseries" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[3]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[3]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "id" + }, + "properties": [ + { + "id": "displayName", + "value": "Subscriber ID" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down for subscriber details for ${__data.fields[2]}", + "url": " /d/coh-subscriber-details?var-Subscriber=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Received" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Backlog" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 2 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "Errors" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 2 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "Disconnections" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 1 + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": 2 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "group" + }, + "properties": [ + { + "id": "displayName", + "value": "Subscriber Group" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down for subscriber group details for ${__data.fields[1]}", + "url": "/d/coh-subscriber-group-details?var-SubscriberGroup=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "Type" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align" + }, + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "index": 0, + "text": "Anonymous" + }, + "1": { + "index": 1, + "text": "Durable" + } + }, + "type": "value" + } + ] + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 24, @@ -623,195 +970,23 @@ }, "id": 55, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:1961", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:1968", - "alias": "Member", - "align": "auto", - "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" - }, - { - "$$hashKey": "object:2779", - "alias": "Subscriber ID", - "align": "auto", - "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 for subscriber details for ${__cell}", - "linkUrl": " /d/coh-subscriber-details?var-ClusterName=$ClusterName&var-ServiceName=$ServiceName&var-TopicName=$TopicName&var-Subscriber=${__cell}", - "mappingType": 1, - "pattern": "id", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:2908", - "alias": "Received", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:3005", - "alias": "Backlog", - "align": "auto", - "colorMode": "value", - "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 #B", - "thresholds": [ - "1", - "2" - ], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:3271", - "alias": "Errors", - "align": "auto", - "colorMode": "value", - "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": [ - "1", - "2" - ], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:3433", - "alias": "Disconnections", - "align": "auto", - "colorMode": "value", - "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 #D", - "thresholds": [ - "1", - "2" - ], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:7040", - "alias": "Subscriber Group", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkTooltip": "Drill down for subscriber group details for ${__cell}", - "linkUrl": "/d/coh-subscriber-group-details?var-ClusterName=$ClusterName&var-ServiceName=$ServiceName&var-TopicName=$TopicName&var-SubscriberGroup=${__cell}", - "mappingType": 1, - "pattern": "group", - "thresholds": [], - "type": "string", - "unit": "short" + "show": false }, - { - "$$hashKey": "object:4022", - "alias": "Type", - "align": "auto", - "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 #E", - "thresholds": [], - "type": "string", - "unit": "short", - "valueMaps": [ - { - "$$hashKey": "object:4045", - "text": "Durable", - "value": "1" - }, - { - "$$hashKey": "object:4047", - "text": "Anonymous", - "value": "0" - } - ] - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member, group)", + "expr": "sum(coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member, group)", "format": "table", "instant": true, "intervalFactor": 1, @@ -820,7 +995,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_backlog{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member, group)", + "expr": "sum(coherence_paged_topic_subscriber_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member, group)", "format": "table", "hide": false, "instant": true, @@ -830,7 +1005,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_receive_errors{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member)", + "expr": "sum(coherence_paged_topic_subscriber_receive_errors{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member)", "format": "table", "hide": false, "instant": true, @@ -840,7 +1015,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_disconnections{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member)", + "expr": "sum(coherence_paged_topic_subscriber_disconnections{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member)", "format": "table", "hide": false, "instant": true, @@ -850,7 +1025,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_sub_type_code{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member)", + "expr": "sum(coherence_paged_topic_subscriber_sub_type_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (id, member)", "format": "table", "hide": false, "instant": true, @@ -860,184 +1035,288 @@ } ], "title": "Subscribers", - "transform": "table", - "transformations": [], - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 23 - }, - "id": 60, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 4, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:1961", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:1968", - "alias": "Member", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:4454", - "alias": "Node Id", - "align": "auto", - "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": "node_id", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:10207", - "alias": "Subscriber Group", - "align": "auto", - "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 for subscriber group details for ${__cell}", - "linkUrl": "/d/coh-subscriber-group-details?var-ClusterName=$ClusterName&var-ServiceName=$ServiceName&var-TopicName=$TopicName&var-SubscriberGroup=${__cell}", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:10796", - "alias": "Polled Count", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:10920", - "alias": "Mean Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:11240", - "alias": "1 Min Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:11438", - "alias": "5 Min Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "none" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, - { - "$$hashKey": "object:11476", - "alias": "15 Min Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "none" - } - ], + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "node_id" + }, + "properties": [ + { + "id": "displayName", + "value": "Node Id" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Subscriber Group" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down for subscriber group details for ${__data.fields[2]}", + "url": "/d/coh-subscriber-group-details?var-SubscriberGroup=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Polled Count" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Mean Rate" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "1 Min Rate" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "5 Min Rate" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "15 Min Rate" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 23 + }, + "id": 60, + "links": [], + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_polled_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (name, member, node_id) > 0", + "expr": "sum(coherence_paged_topic_subscriber_group_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\"}) by (name, member, node_id) > 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -1046,7 +1325,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_polled_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",rate=\"mean\"}) by (name, member, node_id) > 0", + "expr": "sum(coherence_paged_topic_subscriber_group_polled_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",rate=\"mean\"}) by (name, member, node_id) > 0", "format": "table", "hide": false, "instant": true, @@ -1056,7 +1335,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_polled_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",rate=\"1min\"}) by (name, member, node_id) > 0", + "expr": "sum(coherence_paged_topic_subscriber_group_polled_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",rate=\"1min\"}) by (name, member, node_id) > 0", "format": "table", "hide": false, "instant": true, @@ -1066,7 +1345,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_polled_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",rate=\"5min\"}) by (name, member, node_id) > 0", + "expr": "sum(coherence_paged_topic_subscriber_group_polled_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",rate=\"5min\"}) by (name, member, node_id) > 0", "format": "table", "hide": false, "instant": true, @@ -1076,7 +1355,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_polled_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",rate=\"15min\"}) by (name, member, node_id) > 0", + "expr": "sum(coherence_paged_topic_subscriber_group_polled_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",rate=\"15min\"}) by (name, member, node_id) > 0", "format": "table", "hide": false, "instant": true, @@ -1086,13 +1365,229 @@ } ], "title": "Subscriber Groups", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[1]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[1]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "node_id" + }, + "properties": [ + { + "id": "displayName", + "value": "Node Id" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Published" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Mean Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "1 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "5 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "15 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 24, @@ -1101,148 +1596,23 @@ }, "id": 27, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:1961", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:1968", - "alias": "Member", - "align": "auto", - "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": "number", - "unit": "short" - }, - { - "$$hashKey": "object:4454", - "alias": "Node Id", - "align": "auto", - "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": "node_id", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:4495", - "alias": "Published", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:4506", - "alias": "Mean Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:8093", - "alias": "1 Min Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:8524", - "alias": "5 Min Rate", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 4, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "$$hashKey": "object:8768", - "alias": "15 Min Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\"}) by (node_id, member) > 0", + "expr": "sum(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\"}) by (node_id, member) > 0", "format": "table", "instant": true, "intervalFactor": 1, @@ -1251,7 +1621,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_published_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\",rate=\"mean\"}) by (node_id, member) > 0", + "expr": "sum(coherence_paged_topic_published_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\",rate=\"mean\"}) by (node_id, member) > 0", "format": "table", "hide": false, "instant": true, @@ -1261,7 +1631,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_published_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\",rate=\"1min\"}) by (node_id, member) > 0", + "expr": "sum(coherence_paged_topic_published_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\",rate=\"1min\"}) by (node_id, member) > 0", "format": "table", "hide": false, "instant": true, @@ -1271,7 +1641,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_published_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\",rate=\"5min\"}) by (node_id, member) > 0", + "expr": "sum(coherence_paged_topic_published_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\",rate=\"5min\"}) by (node_id, member) > 0", "format": "table", "hide": false, "instant": true, @@ -1281,7 +1651,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_published_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\",rate=\"15min\"}) by (node_id, member) > 0", + "expr": "sum(coherence_paged_topic_published_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", name=\"${TopicName}\",rate=\"15min\"}) by (node_id, member) > 0", "format": "table", "hide": false, "instant": true, @@ -1291,12 +1661,19 @@ } ], "title": "Publisher Storage", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -1307,6 +1684,28 @@ "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 + }, + "datasource": "prometheus", "definition": "", "hide": 0, "includeAll": false, @@ -1315,7 +1714,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, @@ -1329,12 +1728,10 @@ }, { "current": { - "selected": false, - "text": "PartitionedTopic", - "value": "PartitionedTopic" + "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"}, coherence_service)", + "definition": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, coherence_service)", "hide": 0, "includeAll": false, "label": "Service Name", @@ -1342,7 +1739,7 @@ "name": "ServiceName", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"}, coherence_service)", + "query": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, coherence_service)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -1356,9 +1753,13 @@ }, { "current": { + "isNone": true, + "selected": false, + "text": "None", + "value": "" }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", + "definition": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", "hide": 0, "includeAll": false, "label": "Topic Name", @@ -1366,7 +1767,7 @@ "name": "TopicName", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", + "query": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -1412,6 +1813,6 @@ "timezone": "", "title": "Coherence Topic Details Dashboard", "uid": "coh-topic-details", - "version": 2, + "version": 8, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/topic-subscriber-details.json b/dashboards/grafana/topic-subscriber-details.json index 8814b886a..0a2f9462e 100644 --- a/dashboards/grafana/topic-subscriber-details.json +++ b/dashboards/grafana/topic-subscriber-details.json @@ -16,8 +16,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 23, - "iteration": 1671497098909, + "id": 16, "links": [ { "icon": "dashboard", @@ -64,10 +63,15 @@ "id": 38, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Subscriber Details - \n $ServiceName / $TopicName / $Subscriber (Node Id: ${NodeId})

", "mode": "html" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -114,13 +118,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": " count(count(vendor:coherence_paged_topic_subscriber_channels_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"}) by (channel))", + "expr": " count(count(coherence_paged_topic_subscriber_channels_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"}) by (channel))", "instant": true, "range": false, "refId": "A" @@ -173,13 +177,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"})", + "expr": "sum(coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"})", "instant": true, "range": false, "refId": "A" @@ -232,13 +236,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(vendor:coherence_paged_topic_subscriber_polls{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"})", + "expr": "sum(coherence_paged_topic_subscriber_polls{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"})", "instant": true, "range": false, "refId": "A" @@ -295,13 +299,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(\nvendor:coherence_paged_topic_subscriber_receive_errors{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName\", id=\"$Subscriber\"})", + "expr": "sum(\ncoherence_paged_topic_subscriber_receive_errors{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName\", id=\"$Subscriber\"})", "instant": true, "range": false, "refId": "A" @@ -358,13 +362,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(\nvendor:coherence_paged_topic_subscriber_disconnections{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"})", + "expr": "sum(\ncoherence_paged_topic_subscriber_disconnections{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"})", "instant": true, "range": false, "refId": "A" @@ -421,13 +425,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(\nvendor:coherence_paged_topic_subscriber_backlog{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"})", + "expr": "sum(\ncoherence_paged_topic_subscriber_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"})", "instant": true, "range": false, "refId": "A" @@ -437,9 +441,236 @@ "type": "stat" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false, + "minWidth": 50 + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Receives" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "channel" + }, + "properties": [ + { + "id": "displayName", + "value": "Channel" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Mean Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "1 Min rate" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "5 Min rate" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "15 Min Rate" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Owned" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-background" + } + }, + { + "id": "custom.align" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "#00000000", + "value": null + }, + { + "color": "#00000000", + "value": 0 + }, + { + "color": "rgba(50, 172, 45, 0.97)", + "value": 1 + } + ] + } + } + ] + } + ] + }, "gridPos": { "h": 12, "w": 12, @@ -448,161 +679,23 @@ }, "id": 55, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:1961", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:3016", - "alias": "Receives", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:3094", - "alias": "Channel", - "align": "auto", - "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": "channel", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:3230", - "alias": "Mean Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:3706", - "alias": "1 Min rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:3918", - "alias": "5 Min rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:1969", - "alias": "15 Min Rate", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 4, - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "none" + "show": false }, - { - "$$hashKey": "object:2109", - "alias": "Owned", - "align": "auto", - "colorMode": "cell", - "colors": [ - "#00000000", - "#00000000", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "Value #F", - "thresholds": [ - "0", - "1" - ], - "type": "string", - "unit": "short", - "valueMaps": [ - { - "$$hashKey": "object:2132", - "text": "true", - "value": "1" - }, - { - "$$hashKey": "object:2134", - "text": "false", - "value": "0" - } - ] - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_channels_receive_completions_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_channels_receive_completions_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"}) by (channel)", "format": "table", "instant": true, "intervalFactor": 1, @@ -611,7 +704,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_channels_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\",rate=\"mean\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_channels_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\",rate=\"mean\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -621,7 +714,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_channels_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\",rate=\"1min\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_channels_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\",rate=\"1min\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -631,7 +724,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_channels_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\", rate=\"5min\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_channels_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\", rate=\"5min\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -641,7 +734,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_channels_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\", rate=\"15min\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_channels_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\", rate=\"15min\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -651,7 +744,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_channels_owned_code{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_channels_owned_code{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -661,7 +754,6 @@ } ], "title": "Channel Receives", - "transform": "table", "transformations": [ { "id": "convertFieldType", @@ -686,9 +778,15 @@ }, "renameByName": {} } + }, + { + "id": "merge", + "options": { + "reducers": [] + } } ], - "type": "table-old" + "type": "table" }, { "datasource": "prometheus", @@ -699,6 +797,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -754,8 +854,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "single", @@ -767,7 +868,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"}) - sum (vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"} offset $__interval) > 0", + "expr": "sum(coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"}) - sum (coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", id=\"$Subscriber\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -781,7 +882,7 @@ } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -792,6 +893,28 @@ "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 + }, + "datasource": "prometheus", "definition": "", "hide": 0, "includeAll": false, @@ -800,7 +923,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, @@ -814,12 +937,10 @@ }, { "current": { - "selected": false, - "text": "PartitionedTopic", - "value": "PartitionedTopic" + "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"}, coherence_service)", + "definition": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, coherence_service)", "hide": 0, "includeAll": false, "label": "Service Name", @@ -827,7 +948,7 @@ "name": "ServiceName", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"}, coherence_service)", + "query": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, coherence_service)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -841,9 +962,10 @@ }, { "current": { + "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", + "definition": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", "hide": 0, "includeAll": false, "label": "Topic Name", @@ -851,7 +973,7 @@ "name": "TopicName", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", + "query": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -865,16 +987,17 @@ }, { "current": { + "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_subscriber_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\"}, id)", + "definition": "label_values(coherence_paged_topic_subscriber_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\"}, id)", "hide": 0, "includeAll": false, "multi": false, "name": "Subscriber", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_subscriber_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\"}, id)", + "query": "label_values(coherence_paged_topic_subscriber_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\"}, id)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -886,18 +1009,18 @@ { "current": { "selected": false, - "text": "3", - "value": "3" + "text": "6", + "value": "6" }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_subscriber_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\",id=\"$Subscriber\"}, node_id)", + "definition": "label_values(coherence_paged_topic_subscriber_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\",id=\"$Subscriber\"}, node_id)", "hide": 2, "includeAll": false, "multi": false, "name": "NodeId", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_subscriber_receive_completions{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\",id=\"$Subscriber\"}, node_id)", + "query": "label_values(coherence_paged_topic_subscriber_receive_completions{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\",id=\"$Subscriber\"}, node_id)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -940,6 +1063,6 @@ "timezone": "", "title": "Coherence Subscriber Details Dashboard", "uid": "coh-subscriber-details", - "version": 7, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/topic-subscriber-group-details.json b/dashboards/grafana/topic-subscriber-group-details.json index 57300d3af..d18740112 100644 --- a/dashboards/grafana/topic-subscriber-group-details.json +++ b/dashboards/grafana/topic-subscriber-group-details.json @@ -16,8 +16,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 21, - "iteration": 1671582904548, + "id": 4, "links": [ { "icon": "dashboard", @@ -64,10 +63,15 @@ "id": 38, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Subscriber Group Details - $ServiceName / $TopicName / $SubscriberGroup

", "mode": "html" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -114,13 +118,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": " count(count(vendor:coherence_paged_topic_subscriber_group_channels_polled_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\"}) by (channel))", + "expr": " count(count(coherence_paged_topic_subscriber_group_channels_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\"}) by (channel))", "instant": true, "range": false, "refId": "A" @@ -173,13 +177,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_polled_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\"})", + "expr": "sum(coherence_paged_topic_subscriber_group_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\"})", "instant": true, "range": false, "refId": "A" @@ -189,9 +193,146 @@ "type": "stat" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Receives" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "member" + }, + "properties": [ + { + "id": "displayName", + "value": "Member" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to member details for ${__data.fields[0]}", + "url": "/d/coh-member-details?var-MemberName=${__data.fields[0]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Polls" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "node_id" + }, + "properties": [ + { + "id": "displayName", + "value": "Node Id" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 12, @@ -200,97 +341,23 @@ }, "id": 68, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:1961", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:3016", - "alias": "Receives", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:3867", - "alias": "Member", - "align": "auto", - "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" - }, - { - "$$hashKey": "object:4203", - "alias": "Polls", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "none" + "show": false }, - { - "$$hashKey": "object:4338", - "alias": "Node Id", - "align": "auto", - "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": "node_id", - "thresholds": [], - "type": "number", - "unit": "none" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_polled_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\"}) by (node_id, member)", + "expr": "sum(coherence_paged_topic_subscriber_group_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\"}) by (node_id, member)", "format": "table", "instant": true, "intervalFactor": 1, @@ -299,7 +366,6 @@ } ], "title": "Subscriber Group Members", - "transform": "table", "transformations": [ { "id": "convertFieldType", @@ -325,9 +391,15 @@ }, "renameByName": {} } + }, + { + "id": "merge", + "options": { + "reducers": [] + } } ], - "type": "table-old" + "type": "table" }, { "datasource": "prometheus", @@ -338,6 +410,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -393,8 +467,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "single", @@ -406,7 +481,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_polled_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",name=\"$SubscriberGroup\"}) - sum (vendor:coherence_paged_topic_subscriber_group_polled_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",name=\"$SubscriberGroup\"} offset $__interval) > 0", + "expr": "sum(coherence_paged_topic_subscriber_group_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",name=\"$SubscriberGroup\"}) - sum (coherence_paged_topic_subscriber_group_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\",name=\"$SubscriberGroup\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -429,16 +504,223 @@ "id": 70, "links": [], "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, "content": "

Subscriber Group Channels Details

\n
Note: Select Node Id variable
", "mode": "html" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "type": "text" }, { - "columns": [], "datasource": "prometheus", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "Receives" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "channel" + }, + "properties": [ + { + "id": "displayName", + "value": "Channel" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "Mean Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "1 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "5 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "15 Min Rate" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 4 + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "Owning Subscriber" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down for subscriber details for ${__data.fields[7]}", + "url": "/d/coh-subscriber-details?var-Subscriber=${__data.fields[7]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + } + ] + }, "gridPos": { "h": 12, "w": 24, @@ -447,151 +729,25 @@ }, "id": 55, "links": [], - "maxPerRow": 2, - "repeat": "NodeId", - "repeatDirection": "h", - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:1961", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:3016", - "alias": "Receives", - "align": "auto", - "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": "none" - }, - { - "$$hashKey": "object:3094", - "alias": "Channel", - "align": "auto", - "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": "channel", - "thresholds": [], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:3230", - "alias": "Mean Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:6450", - "alias": "1 Min Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:6570", - "alias": "5 Min Rate", - "align": "auto", - "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": 4, - "mappingType": 1, - "pattern": "Value #D", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:6709", - "alias": "15 Min Rate", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 4, - "mappingType": 1, - "pattern": "Value #E", - "thresholds": [], - "type": "number", - "unit": "short" + "show": false }, - { - "$$hashKey": "object:2269", - "alias": "Owning Subscriber", - "align": "auto", - "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 for subscriber details for ${__cell}", - "linkUrl": "/d/coh-subscriber-details?var-ClusterName=$ClusterName&var-ServiceName=$ServiceName&var-TopicName=$TopicName&var-Subscriber=${__cell}", - "mappingType": 1, - "pattern": "Value #F", - "thresholds": [], - "type": "number", - "unit": "none" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", + "repeat": "NodeId", + "repeatDirection": "h", "targets": [ { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_channels_polled_count{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",node_id=\"$NodeId\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_group_channels_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",node_id=\"$NodeId\"}) by (channel)", "format": "table", "instant": true, "intervalFactor": 1, @@ -600,7 +756,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_channels_polled_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",rate=\"mean\",node_id=\"$NodeId\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_group_channels_polled_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",rate=\"mean\",node_id=\"$NodeId\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -610,7 +766,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_channels_polled_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",rate=\"1min\",node_id=\"$NodeId\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_group_channels_polled_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",rate=\"1min\",node_id=\"$NodeId\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -620,7 +776,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_channels_polled_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",rate=\"5min\",node_id=\"$NodeId\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_group_channels_polled_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",rate=\"5min\",node_id=\"$NodeId\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -630,7 +786,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_channels_polled_rate{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",rate=\"15min\",node_id=\"$NodeId\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_group_channels_polled_rate{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",rate=\"15min\",node_id=\"$NodeId\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -640,7 +796,7 @@ }, { "datasource": "prometheus", - "expr": "sum(vendor:coherence_paged_topic_subscriber_group_channels_owning_subscriber_id{cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",node_id=\"$NodeId\"}) by (channel)", + "expr": "sum(coherence_paged_topic_subscriber_group_channels_owning_subscriber_id{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service=\"${ServiceName}\", topic=\"${TopicName}\", name=\"$SubscriberGroup\",node_id=\"$NodeId\"}) by (channel)", "format": "table", "hide": false, "instant": true, @@ -650,7 +806,6 @@ } ], "title": "Details for Node Id $NodeId", - "transform": "table", "transformations": [ { "id": "convertFieldType", @@ -675,13 +830,19 @@ }, "renameByName": {} } + }, + { + "id": "merge", + "options": { + "reducers": [] + } } ], - "type": "table-old" + "type": "table" } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -692,6 +853,28 @@ "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 + }, + "datasource": "prometheus", "definition": "", "hide": 0, "includeAll": false, @@ -700,7 +883,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, @@ -714,12 +897,10 @@ }, { "current": { - "selected": false, - "text": "PartitionedTopic", - "value": "PartitionedTopic" + "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"}, coherence_service)", + "definition": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, coherence_service)", "hide": 0, "includeAll": false, "label": "Service Name", @@ -727,7 +908,7 @@ "name": "ServiceName", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"}, coherence_service)", + "query": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, coherence_service)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -741,9 +922,10 @@ }, { "current": { + "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", + "definition": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", "hide": 0, "includeAll": false, "label": "Topic Name", @@ -751,7 +933,7 @@ "name": "TopicName", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", + "query": "label_values(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -765,9 +947,10 @@ }, { "current": { + "selected": false }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_subscriber_group_channels_polled_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\"}, name)", + "definition": "label_values(coherence_paged_topic_subscriber_group_channels_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\"}, name)", "hide": 0, "includeAll": false, "label": "Subscriber Group", @@ -775,7 +958,7 @@ "name": "SubscriberGroup", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_subscriber_group_channels_polled_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\"}, name)", + "query": "label_values(coherence_paged_topic_subscriber_group_channels_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\"}, name)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -791,14 +974,14 @@ "value": "1" }, "datasource": "prometheus", - "definition": "label_values(vendor:coherence_paged_topic_subscriber_group_channels_polled_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\", name=\"$SubscriberGroup\"}, node_id)", + "definition": "label_values(coherence_paged_topic_subscriber_group_channels_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\", name=\"$SubscriberGroup\"}, node_id)", "hide": 0, "includeAll": true, "multi": false, "name": "NodeId", "options": [], "query": { - "query": "label_values(vendor:coherence_paged_topic_subscriber_group_channels_polled_count{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\", name=\"$SubscriberGroup\"}, node_id)", + "query": "label_values(coherence_paged_topic_subscriber_group_channels_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',topic=\"$TopicName\", name=\"$SubscriberGroup\"}, node_id)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -841,6 +1024,6 @@ "timezone": "", "title": "Coherence Subscriber Group Details Dashboard", "uid": "coh-subscriber-group-details", - "version": 2, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/dashboards/grafana/topics-summary-dashboard.json b/dashboards/grafana/topics-summary-dashboard.json index 9992abf52..c265c9847 100644 --- a/dashboards/grafana/topics-summary-dashboard.json +++ b/dashboards/grafana/topics-summary-dashboard.json @@ -15,8 +15,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 21, - "iteration": 1671437805818, + "id": 26, "links": [ { "icon": "dashboard", @@ -52,10 +51,15 @@ "id": 93, "links": [], "options": { - "content": "

Topics Summary - $ClusterName

", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "

Topics Summary

", "mode": "html" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "type": "text" }, { @@ -101,13 +105,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "instant": true, "range": false, "refId": "A" @@ -161,13 +165,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "count(count(\nvendor:coherence_paged_topic_subscriber_backlog{cluster=\"${ClusterName:raw}\"}) by (id))", + "expr": "count(count(\ncoherence_paged_topic_subscriber_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (id))", "instant": true, "range": false, "refId": "A" @@ -221,13 +225,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "count(count(\nvendor:coherence_paged_topic_subscriber_group_polled_count{cluster=\"${ClusterName:raw}\"}) by (name))", + "expr": "count(count(\ncoherence_paged_topic_subscriber_group_polled_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) by (name))", "instant": true, "range": false, "refId": "A" @@ -280,13 +284,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "instant": true, "range": false, "refId": "A" @@ -343,13 +347,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(\nvendor:coherence_paged_topic_subscriber_receive_errors{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(\ncoherence_paged_topic_subscriber_receive_errors{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "instant": true, "range": false, "refId": "A" @@ -406,13 +410,13 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.6", + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(\nvendor:coherence_paged_topic_subscriber_backlog{cluster=\"${ClusterName:raw}\"})", + "expr": "sum(\ncoherence_paged_topic_subscriber_backlog{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"})", "instant": true, "range": false, "refId": "A" @@ -422,10 +426,149 @@ "type": "stat" }, { - "columns": [], "datasource": "prometheus", "description": "", - "fontSize": "100%", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "decimals": 2, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Time" + }, + { + "id": "custom.align" + }, + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Topic" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to topic details for ${__data.fields[1]}", + "url": " /d/coh-topic-details?var-ServiceName=${__data.fields[1]:raw}&var-TopicName=${__data.fields[2]}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "coherence_service" + }, + "properties": [ + { + "id": "displayName", + "value": "Service" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "links", + "value": [ + { + "targetBlank": false, + "title": "Drill down to service details for ${__data.fields[1]}", + "url": "/d/coh-service-details?var-ServiceName=${__data.fields[1]:raw}&$__all_variables" + } + ] + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Total Published Messages" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + }, + { + "id": "decimals", + "value": 0 + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 24, @@ -434,100 +577,25 @@ }, "id": 45, "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:293", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:294", - "alias": "Topic", - "align": "auto", - "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 topic details for ${__cell}", - "linkUrl": " /d/coh-topic-details?var-ClusterName=$ClusterName&var-ServiceName=${__cell_1}&var-TopicName=${__cell}", - "mappingType": 1, - "pattern": "name", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:295", - "alias": "Service", - "align": "auto", - "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 service details for ${__cell}", - "linkUrl": "/d/coh-service-details?var-ServiceName=${__cell:raw}&var-ClusterName=$ClusterName", - "mappingType": 1, - "pattern": "coherence_service", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:1459", - "alias": "Total Published Messages", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "none" + "show": false }, - { - "$$hashKey": "object:299", - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "showHeader": true + }, + "pluginVersion": "10.0.13", "targets": [ { "datasource": "prometheus", "editorMode": "code", "exemplar": false, - "expr": "sum(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"} ) by (coherence_service, name)", + "expr": "sum(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} ) by (coherence_service, name)", "format": "table", "instant": true, "interval": "0", @@ -538,8 +606,15 @@ } ], "title": "Topic List", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + } + ], + "type": "table" }, { "datasource": "prometheus", @@ -550,6 +625,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -605,8 +682,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "single", @@ -618,7 +696,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"}) - sum (vendor:coherence_paged_topic_published_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum (coherence_paged_topic_published_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -639,6 +717,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -694,8 +774,9 @@ "options": { "legend": { "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, "tooltip": { "mode": "single", @@ -707,7 +788,7 @@ { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\"}) - sum (vendor:coherence_paged_topic_subscriber_received_count{cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", + "expr": "sum(coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}) - sum (coherence_paged_topic_subscriber_received_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"} offset $__interval) > 0", "format": "time_series", "instant": false, "interval": "", @@ -721,7 +802,7 @@ } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 38, "style": "dark", "tags": [ "dashboard" @@ -732,6 +813,28 @@ "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 + }, + "datasource": "prometheus", "definition": "", "hide": 0, "includeAll": false, @@ -740,7 +843,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, @@ -765,7 +868,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, @@ -792,7 +895,7 @@ "name": "Services", "options": [], "query": { - "query": "label_values(vendor:coherence_service_request_max_duration{cluster=\"${ClusterName:raw}\"}, name)", + "query": "label_values(coherence_service_request_max_duration{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", "refId": "prometheus-Services-Variable-Query" }, "refresh": 1, @@ -823,7 +926,7 @@ "name": "Caches", "options": [], "query": { - "query": "label_values(vendor:coherence_cache_size{cluster=\"${ClusterName:raw}\"}, name) ", + "query": "label_values(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name) ", "refId": "prometheus-Caches-Variable-Query" }, "refresh": 1, @@ -869,6 +972,6 @@ "timezone": "", "title": "Coherence Topics Summary Dashboard", "uid": "coh-topics-summary", - "version": 2, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/docs/images/grafana-cache.png b/docs/images/grafana-cache.png index d36bdb94b..43019c479 100644 Binary files a/docs/images/grafana-cache.png and b/docs/images/grafana-cache.png differ diff --git a/docs/images/grafana-caches.png b/docs/images/grafana-caches.png index b050a3d0a..734581ed6 100644 Binary files a/docs/images/grafana-caches.png and b/docs/images/grafana-caches.png differ diff --git a/docs/images/grafana-elastic-data.png b/docs/images/grafana-elastic-data.png index aa8798869..6026751c8 100644 Binary files a/docs/images/grafana-elastic-data.png and b/docs/images/grafana-elastic-data.png differ diff --git a/docs/images/grafana-executor-detail.png b/docs/images/grafana-executor-detail.png index f372fea10..f223b7fc6 100644 Binary files a/docs/images/grafana-executor-detail.png 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 index 51d40a645..6e37c5da1 100644 Binary files a/docs/images/grafana-executors-summary.png and b/docs/images/grafana-executors-summary.png differ diff --git a/docs/images/grafana-federation-detail.png b/docs/images/grafana-federation-detail.png index c1066ebde..4690c683a 100644 Binary files a/docs/images/grafana-federation-detail.png and b/docs/images/grafana-federation-detail.png differ diff --git a/docs/images/grafana-federation-summary.png b/docs/images/grafana-federation-summary.png index 74775017e..b9f10ec27 100644 Binary files a/docs/images/grafana-federation-summary.png and b/docs/images/grafana-federation-summary.png differ diff --git a/docs/images/grafana-grpc-proxies.png b/docs/images/grafana-grpc-proxies.png new file mode 100644 index 000000000..ce4ff46e3 Binary files /dev/null and b/docs/images/grafana-grpc-proxies.png differ diff --git a/docs/images/grafana-grpc-proxy.png b/docs/images/grafana-grpc-proxy.png new file mode 100644 index 000000000..2c4413280 Binary files /dev/null and b/docs/images/grafana-grpc-proxy.png differ diff --git a/docs/images/grafana-http.png b/docs/images/grafana-http.png index cad8e58a6..cbe59fbb8 100644 Binary files a/docs/images/grafana-http.png and b/docs/images/grafana-http.png differ diff --git a/docs/images/grafana-machines.png b/docs/images/grafana-machines.png index ad80beba4..80e3a7ef3 100644 Binary files a/docs/images/grafana-machines.png and b/docs/images/grafana-machines.png differ diff --git a/docs/images/grafana-main.png b/docs/images/grafana-main.png index e5bfdb47f..4628ddd72 100644 Binary files a/docs/images/grafana-main.png and b/docs/images/grafana-main.png differ diff --git a/docs/images/grafana-member.png b/docs/images/grafana-member.png index f26ed1376..2aed5a7bd 100644 Binary files a/docs/images/grafana-member.png and b/docs/images/grafana-member.png differ diff --git a/docs/images/grafana-members.png b/docs/images/grafana-members.png index 273632d0d..d55228847 100644 Binary files a/docs/images/grafana-members.png and b/docs/images/grafana-members.png differ diff --git a/docs/images/grafana-navigation.png b/docs/images/grafana-navigation.png index e8a72a729..fc491d77f 100644 Binary files a/docs/images/grafana-navigation.png and b/docs/images/grafana-navigation.png differ diff --git a/docs/images/grafana-persistence.png b/docs/images/grafana-persistence.png index 810941b03..d7a1a1942 100644 Binary files a/docs/images/grafana-persistence.png and b/docs/images/grafana-persistence.png differ diff --git a/docs/images/grafana-proxies.png b/docs/images/grafana-proxies.png index 036855574..2bb48f70c 100644 Binary files a/docs/images/grafana-proxies.png and b/docs/images/grafana-proxies.png differ diff --git a/docs/images/grafana-proxy.png b/docs/images/grafana-proxy.png index 8e06dd5c0..03e93d941 100644 Binary files a/docs/images/grafana-proxy.png and b/docs/images/grafana-proxy.png differ diff --git a/docs/images/grafana-service.png b/docs/images/grafana-service.png index 56297b4c1..4f677664f 100644 Binary files a/docs/images/grafana-service.png and b/docs/images/grafana-service.png differ diff --git a/docs/images/grafana-services.png b/docs/images/grafana-services.png index cf1b12a96..44bdcb49c 100644 Binary files a/docs/images/grafana-services.png and b/docs/images/grafana-services.png differ diff --git a/docs/images/grafana-topic-subscriber-group.png b/docs/images/grafana-topic-subscriber-group.png new file mode 100644 index 000000000..06d419fe0 Binary files /dev/null and b/docs/images/grafana-topic-subscriber-group.png differ diff --git a/docs/images/grafana-topic-subscriber.png b/docs/images/grafana-topic-subscriber.png new file mode 100644 index 000000000..d4f8cd33c Binary files /dev/null and b/docs/images/grafana-topic-subscriber.png differ diff --git a/docs/images/grafana-topic.png b/docs/images/grafana-topic.png new file mode 100644 index 000000000..b083b272f Binary files /dev/null and b/docs/images/grafana-topic.png differ diff --git a/docs/images/grafana-topics.png b/docs/images/grafana-topics.png new file mode 100644 index 000000000..c34cacfa2 Binary files /dev/null and b/docs/images/grafana-topics.png differ diff --git a/docs/images/grafana-variables.png b/docs/images/grafana-variables.png index b354fe23b..3ae9ad29c 100644 Binary files a/docs/images/grafana-variables.png and b/docs/images/grafana-variables.png differ diff --git a/docs/metrics/020_metrics.adoc b/docs/metrics/020_metrics.adoc index 35afb46ca..429558a38 100644 --- a/docs/metrics/020_metrics.adoc +++ b/docs/metrics/020_metrics.adoc @@ -28,6 +28,34 @@ endpoint is available at `http://host:port/metrics`. See the https://{commercial-docs-base-url}/manage/using-coherence-metrics.html[Using Coherence Metrics] documentation for full details on the available metrics. +=== Important Note Regarding Prometheus Metrics Prefix + +From version 3.4.0 of the Coherence Operator, the packaged Grafana dashboards no longer use the **vendor:** prefix for querying Prometheus metrics. +This prefix was deprecated a number of releases ago and the default, of legacy metrics, in Coherence and will be removed in the most recent +Coherence releases after this Operator release. + +If you are using a Coherence cluster version you are using has not yet changed this property, +you may see no metrics in the Grafana dashboards. + +To change your cluster to **not** use legacy names, set the environment variable `COHERENCE_METRICS_LEGACY_NAMES` to `false` in your yaml. + +[source,yaml] +.metrics-cluster.yaml +---- +apiVersion: coherence.oracle.com/v1 +kind: Coherence +metadata: + name: metrics-cluster +spec: + env: + - name: COHERENCE_METRICS_LEGACY_NAMES + value: false + coherence: +... +---- + +has not set "coherence.metrics.legacy.names=false" + === Deploy Coherence with Metrics Enabled To deploy a `Coherence` resource with metrics enabled and exposed on a port, the simplest yaml diff --git a/docs/metrics/030_importing.adoc b/docs/metrics/030_importing.adoc index 0600de232..bc6922d48 100644 --- a/docs/metrics/030_importing.adoc +++ b/docs/metrics/030_importing.adoc @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// - Copyright (c) 2020, 2023, Oracle and/or its affiliates. + Copyright (c) 2020, 2024, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. @@ -32,7 +32,8 @@ the various Coherence dashboard files. 2 - Clone the Coherence Operator GitHub repo, checkout the branch or tag for the version you want to use and then obtain the dashboards from the `dashboards/` directory. -NOTE: The recommended versions of Grafana to use are: `8.5.6` or `6.7.4`. It is not yet recommended to use the `9.x` versions of Grafana as there are a number of bugs that cause issues when using the dashboards. +NOTE: The dashboards have been built using Grafana `10.0.13` and as such this is the minimum version required for this release. +If you have an older Grafana installation, you can use previous versions of the dashboard.s == Import the Dashboards into Grafana. diff --git a/docs/metrics/040_dashboards.adoc b/docs/metrics/040_dashboards.adoc index 9242bd3ab..b41722681 100644 --- a/docs/metrics/040_dashboards.adoc +++ b/docs/metrics/040_dashboards.adoc @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// - Copyright (c) 2020, 2022, Oracle and/or its affiliates. + Copyright (c) 2020, 2024, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. @@ -29,6 +29,8 @@ NOTE: Note: The Grafana dashboards require Coherence metrics, which is available .. <> .. <> .. <> +.. <> +.. <> [#navigation] == Navigation @@ -38,11 +40,12 @@ navigation capabilities that appear at the top of most dashboards. === Variables -image:../images/grafana-variables.png[Variables,width="250",float="right"] +image:../images/grafana-variables.png[Variables,width="450",float="right"] Allows for selection of information to be displayed where there is more than one item. -. Cluster Name - Allows selection of the cluster to view metrics for +. Namespace - Allows selection of a namespace if you have multiple Coherence clusters with the same name in multipled namespaces. Will default to `None` if you are not running in Kubernetes +. Cluster Name - Allows selection of the specific cluster to view metrics for . Top N Limit - Limits the display of `Top` values for tables that support it . Service Name, Member Name, Cache Name - These will appear on various dashboards @@ -50,7 +53,7 @@ See the https://grafana.com/docs/reference/templating/[Grafana Documentation] fo === Annotations -image:../images/grafana-annotations.png[Annotations,width="250",float="right"] +image:../images/grafana-annotations.png[Annotations,width="350",float="right"] Vertical red lines on a graph to indicate a change in a key markers such as: @@ -63,8 +66,8 @@ See the https://grafana.com/docs/reference/annotations/[Grafana Documentation] f image:../images/grafana-navigation.png[Navigation,width="250",float="right"] -. Select Dashboard - In the top right a drop down list of dashboards is available selection -. Drill Through - Ability to drill through based upon service, member, node, etc. +. Select Dashboard - In the top right a drop-down list of dashboards is available selection +. Drill Through - Ability to drill through based upon service, member, node, etc on highlighted columns. [#dashboards] @@ -85,7 +88,7 @@ Shows a high-level overview of the selected Coherence cluster including metrics * Guardian recoveries and terminations -image::../images/grafana-main.png[Dashboard Main,width="950",align="center"] +image::../images/grafana-main.png[Dashboard Main,width="1024",align="center"] [#members] === 2. Members Summary & Details Dashboards @@ -104,11 +107,11 @@ Shows an overview of all cluster members that are enabled for metrics capture in ==== Members Summary -image::../images/grafana-members.png[Members,width="950",align="center"] +image::../images/grafana-members.png[Members,width="1024",align="center"] ==== Member Details -image::../images/grafana-members.png[Member Details,width="950",align="center"] +image::../images/grafana-member.png[Member Details,width="1024",align="center"] [#services] === 3. Services Summary & Details Dashboards @@ -127,11 +130,11 @@ Shows an overview of all cluster services including metrics such as: ==== Services Summary -image::../images/grafana-services.png[Services,width="950",align="center"] +image::../images/grafana-services.png[Services,width="1024",align="center"] ==== Service Details -image::../images/grafana-service.png[Service Details,width="950",align="center"] +image::../images/grafana-service.png[Service Details,width="1024",align="center"] [#caches] === 4. Caches Summary & Detail Dashboards @@ -146,11 +149,11 @@ Shows an overview of all caches including metrics such as: ==== Caches Summary -image::../images/grafana-caches.png[Caches,width="950",align="center"] +image::../images/grafana-caches.png[Caches,width="1024",align="center"] ==== Cache Details -image::../images/grafana-cache.png[Cache Details,width="950",align="center"] +image::../images/grafana-cache.png[Cache Details,width="1024",align="center"] [#proxies] === 5. Proxy Servers Summary & Detail Dashboards @@ -167,11 +170,11 @@ Shows and overview of Proxy servers including metrics such as: ==== Proxy Servers Summary -image::../images/grafana-proxies.png[Proxy Servers,width="950",align="center"] +image::../images/grafana-proxies.png[Proxy Servers,width="1024",align="center"] ==== Proxy Servers Detail -image::../images/grafana-proxy.png[Proxy Server Details,width="950",align="center"] +image::../images/grafana-proxy.png[Proxy Server Details,width="1024",align="center"] [#persistence] === 6. Persistence Summary Dashboard @@ -184,7 +187,7 @@ Shows and overview of Persistence including metrics such as: * Active space total usage and by service -image::../images/grafana-persistence.png[Persistence,width="950",align="center"] +image::../images/grafana-persistence.png[Persistence,width="1024",align="center"] [#federation] === 7. Federation Summary & Details Dashboards @@ -197,11 +200,11 @@ Shows overview of Federation including metrics such as: ==== Federation Summary -image::../images/grafana-federation-summary.png[Federation Summary,width="950",align="center"] +image::../images/grafana-federation-summary.png[Federation Summary,width="1024",align="center"] ==== Federation Details -image::../images/grafana-federation-detail.png[Federation Details,width="950",align="center"] +image::../images/grafana-federation-detail.png[Federation Details,width="1024",align="center"] [#machines] @@ -213,7 +216,7 @@ Shows an overview of all machines that make up the Kubernetes cluster underlying * Load averages -image::../images/grafana-machines.png[Machines,width="950",align="center"] +image::../images/grafana-machines.png[Machines,width="1024",align="center"] [#http] === 9. HTTP Servers Summary Dashboard @@ -224,7 +227,7 @@ Shows an overview of all HTTP Servers running in the cluster including metrics s * HTTP Request rates and response codes -image::../images/grafana-http.png[HTTP Servers,width="950",align="center"] +image::../images/grafana-http.png[HTTP Servers,width="1024",align="center"] [#ed] === 10. Elastic Data Summary Dashboard @@ -235,7 +238,7 @@ 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"] +image::../images/grafana-elastic-data.png[Elastic Data,width="1024",align="center"] [#executors] === 11. Executors Summary & Details Dashboards @@ -250,8 +253,55 @@ Shows an overview of all Executors running in the cluster including metrics such ==== Executors Summary -image::../images/grafana-executors-summary.png[Executors Summary,width="950",align="center"] +image::../images/grafana-executors-summary.png[Executors Summary,width="1024",align="center"] ==== Executor Details -image::../images/grafana-executor-detail.png[Executor Detail,width="950",align="center"] +image::../images/grafana-executor-detail.png[Executor Detail,width="1024",align="center"] + +[#grpc] +=== 12. gRPC Proxy Summary & Details Dashboards + +Shows an overview of all gRPC Proxies running in the cluster including metrics such as: + +* Connections + +* Requests and responses + +* Proxy list + +==== gRPC Proxies Summary + +image::../images/grafana-grpc-proxies.png[gRPC Proxies Summary,width="1024",align="center"] + +==== gRPC Proxies Details + +image::../images/grafana-proxy.png[gRPC Proxy Detail,width="1024",align="center"] + +[#topics] +=== 13. Topics, Subscribers and Subscriber Groups Dashboards + +Shows an overview of all Topics running in the cluster including metrics such as: + +* Topics, Subscribers and Subscriber Groups + +* Published and received messages counts + +* Topic channel allocations + +==== Topics Summary + +image::../images/grafana-topics.png[Topics Summary,width="1024",align="center"] + +==== Topic Details + +image::../images/grafana-topic.png[Topic Detail,width="1024",align="center"] + +==== Topic Subscriber Group + +image::../images/grafana-topic-subscriber-group.png[Topic Subscriber Group Details,width="1024",align="center"] + +==== Topic Subscriber + +image::../images/grafana-topic-subscriber.png[Topic Subscriber Details,width="1024",align="center"] +