From 29f88a3eeb5b4ed8975866c8add76cf35e15e624 Mon Sep 17 00:00:00 2001 From: Evan Simpson Date: Wed, 20 Sep 2023 14:02:30 -0400 Subject: [PATCH] Update scylladb-prometheus-v2.json Fix charts sitting outside of dropdown groups --- .../scylladb/scylladb-prometheus-v2.json | 729 +++++++++--------- 1 file changed, 358 insertions(+), 371 deletions(-) diff --git a/dashboards/scylladb/scylladb-prometheus-v2.json b/dashboards/scylladb/scylladb-prometheus-v2.json index cd105cc91d..8bf02bf70e 100644 --- a/dashboards/scylladb/scylladb-prometheus-v2.json +++ b/dashboards/scylladb/scylladb-prometheus-v2.json @@ -1,424 +1,411 @@ { - "category": "CUSTOM", - "dashboardFilters": [ - { - "filterType": "RESOURCE_LABEL", - "labelKey": "cluster", - "templateVariable": "Cluster" - }, - { - "filterType": "RESOURCE_LABEL", - "labelKey": "location", - "templateVariable": "Location" - }, + "dashboardFilters": [ + { + "filterType": "RESOURCE_LABEL", + "labelKey": "cluster", + "templateVariable": "Cluster" + }, + { + "filterType": "RESOURCE_LABEL", + "labelKey": "location", + "templateVariable": "Location" + }, + { + "filterType": "RESOURCE_LABEL", + "labelKey": "namespace", + "templateVariable": "Namespace" + } + ], + "displayName": "ScyllaDB 5.2+ Prometheus Overview", + "labels": {}, + "mosaicLayout": { + "columns": 48, + "tiles": [ { - "filterType": "RESOURCE_LABEL", - "labelKey": "namespace", - "templateVariable": "Namespace" - } - ], - "displayName": "ScyllaDB 5.2+ Prometheus Overview", - "labels": {}, - "mosaicLayout": { - "columns": 12, - "tiles": [ - { - "height": 4, - "widget": { - "timeSeriesTable": { - "dataSets": [ - { - "timeSeriesQuery": { - "prometheusQuery": "scylla_node_operation_mode{${Cluster},${Location},${Namespace}}" - } + "height": 16, + "widget": { + "timeSeriesTable": { + "dataSets": [ + { + "timeSeriesQuery": { + "prometheusQuery": "scylla_node_operation_mode{${Cluster},${Location},${Namespace}}" } - ], - "metricVisualization": "NUMBER" - }, - "title": "Node status" + } + ], + "metricVisualization": "NUMBER" }, - "width": 12, - "xPos": 0, - "yPos": 0 + "title": "Node status" }, - { - "height": 4, - "widget": { - "title": "Cache Bytes Used", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_cache_bytes_used{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 48 + }, + { + "height": 16, + "widget": { + "title": "Cache Bytes Used", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_cache_bytes_used{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 12, - "xPos": 0, - "yPos": 7 + } }, - { - "height": 1, - "widget": { - "collapsibleGroup": { - "collapsed": false - }, - "title": "Resource Utilization" + "width": 48, + "yPos": 80 + }, + { + "height": 32, + "widget": { + "collapsibleGroup": { + "collapsed": false }, - "width": 12, - "xPos": 0, - "yPos": 4 + "title": "Resource Utilization" }, - { - "height": 1, - "widget": { - "collapsibleGroup": { - "collapsed": true - }, - "title": "Read Performance" + "width": 48, + "yPos": 16 + }, + { + "height": 16, + "widget": { + "collapsibleGroup": { + "collapsed": true }, - "width": 12, - "xPos": 0, - "yPos": 5 + "title": "Read Performance" }, - { - "height": 1, - "widget": { - "collapsibleGroup": { - "collapsed": true - }, - "title": "Write Performance" + "width": 48, + "yPos": 48 + }, + { + "height": 16, + "widget": { + "collapsibleGroup": { + "collapsed": true }, - "width": 12, - "xPos": 0, - "yPos": 6 + "title": "Write Performance" }, - { - "height": 1, - "widget": { - "collapsibleGroup": { - "collapsed": true - }, - "title": "Cache" + "width": 48, + "yPos": 64 + }, + { + "height": 32, + "widget": { + "collapsibleGroup": { + "collapsed": true }, - "width": 12, - "xPos": 0, - "yPos": 7 + "title": "Cache" }, - { - "height": 4, - "widget": { - "title": "Requests Served", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_transport_requests_served{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 48, + "yPos": 80 + }, + { + "height": 16, + "widget": { + "title": "Requests Served", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_transport_requests_served{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 6, - "xPos": 0, - "yPos": 8 + } }, - { - "height": 4, - "widget": { - "title": "CPU Utilization", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_reactor_utilization{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 24, + "yPos": 32 + }, + { + "height": 16, + "widget": { + "title": "CPU Utilization", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_reactor_utilization{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 12, - "xPos": 0, - "yPos": 4 + } }, - { - "height": 4, - "widget": { - "title": "Read Requests", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_storage_proxy_coordinator_reads_local_node{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 48, + "yPos": 16 + }, + { + "height": 16, + "widget": { + "title": "Read Requests", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_storage_proxy_coordinator_reads_local_node{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 6, - "xPos": 0, - "yPos": 5 + } }, - { - "height": 4, - "widget": { - "title": "Read Latency", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_storage_proxy_coordinator_read_latency_sum{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 24, + "yPos": 48 + }, + { + "height": 16, + "widget": { + "title": "Read Latency", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_storage_proxy_coordinator_read_latency_sum{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 6, - "xPos": 6, - "yPos": 5 + } }, - { - "height": 4, - "widget": { - "title": "Write Requests", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_storage_proxy_coordinator_total_write_attempts_local_node{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 24, + "xPos": 24, + "yPos": 48 + }, + { + "height": 16, + "widget": { + "title": "Write Requests", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_storage_proxy_coordinator_total_write_attempts_local_node{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 6, - "xPos": 0, - "yPos": 6 + } }, - { - "height": 4, - "widget": { - "title": "Write Latency", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_storage_proxy_coordinator_write_latency_sum{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 24, + "yPos": 64 + }, + { + "height": 16, + "widget": { + "title": "Write Latency", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_storage_proxy_coordinator_write_latency_sum{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 6, - "xPos": 6, - "yPos": 6 + } }, - { - "height": 4, - "widget": { - "title": "Cache Partition Hits", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_cache_partition_hits{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 24, + "xPos": 24, + "yPos": 64 + }, + { + "height": 16, + "widget": { + "title": "Cache Partition Hits", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_cache_partition_hits{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 6, - "xPos": 0, - "yPos": 11 + } }, - { - "height": 4, - "widget": { - "title": "Cache Partition Misses", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_cache_partition_misses{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 24, + "yPos": 96 + }, + { + "height": 16, + "widget": { + "title": "Cache Partition Misses", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_cache_partition_misses{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 6, - "xPos": 6, - "yPos": 11 + } }, - { - "height": 4, - "widget": { - "title": "Active Compactions", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "breakdowns": [], - "dimensions": [], - "measures": [], - "plotType": "LINE", - "targetAxis": "Y1", - "timeSeriesQuery": { - "prometheusQuery": "scylla_compaction_manager_compactions{${Cluster},${Location},${Namespace}}", - "unitOverride": "" - } + "width": 24, + "xPos": 24, + "yPos": 96 + }, + { + "height": 16, + "widget": { + "title": "Active Compactions", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [ + { + "breakdowns": [], + "dimensions": [], + "measures": [], + "plotType": "LINE", + "targetAxis": "Y1", + "timeSeriesQuery": { + "prometheusQuery": "scylla_compaction_manager_compactions{${Cluster},${Location},${Namespace}}", + "unitOverride": "" } - ], - "thresholds": [], - "timeshiftDuration": "0s", - "yAxis": { - "label": "", - "scale": "LINEAR" } + ], + "thresholds": [], + "timeshiftDuration": "0s", + "yAxis": { + "label": "", + "scale": "LINEAR" } - }, - "width": 6, - "xPos": 6, - "yPos": 8 - } - ] - } + } + }, + "width": 24, + "xPos": 24, + "yPos": 32 + } + ] } +}