From 7fb33e1212425d15112c894ba9087549d8ec62a2 Mon Sep 17 00:00:00 2001 From: mphanias Date: Mon, 23 Oct 2023 14:03:33 +0530 Subject: [PATCH 1/8] OM134 - all-flash - initial 7.0 changes modified dashboard according to 7.0 metrics --- .../dashboards/usecases/all_flash.json | 1178 ++++++++++------- 1 file changed, 684 insertions(+), 494 deletions(-) diff --git a/config/grafana/dashboards/usecases/all_flash.json b/config/grafana/dashboards/usecases/all_flash.json index 4e16150..de83925 100644 --- a/config/grafana/dashboards/usecases/all_flash.json +++ b/config/grafana/dashboards/usecases/all_flash.json @@ -1,5 +1,11 @@ { "__requires": [ + { + "type": "panel", + "id": "bargauge", + "name": "Bar gauge", + "version": "" + }, { "type": "grafana", "id": "grafana", @@ -66,7 +72,26 @@ "color": { "mode": "thresholds" }, - "mappings": [], + "links": [ + { + "targetBlank": true, + "title": "Alerts view dashboard", + "url": "/d/hP_Uhx94k/alerts-view?orgId=1&var-node=${node}&var-cluster=${cluster}" + } + ], + "mappings": [ + { + "options": { + "match": "null", + "result": { + "color": "#299c46", + "text": "0" + } + }, + "type": "special" + } + ], + "noValue": "N/A", "thresholds": { "mode": "absolute", "steps": [ @@ -75,11 +100,12 @@ "value": null }, { - "color": "red", - "value": 50 + "color": "dark-red", + "value": 5000 } ] - } + }, + "unit": "none" }, "overrides": [] }, @@ -89,21 +115,39 @@ "x": 0, "y": 0 }, - "id": 2, + "id": 82, + "links": [], + "maxDataPoints": 100, "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", + "displayMode": "basic", + "minVizHeight": 10, + "minVizWidth": 0, + "orientation": "vertical", "reduceOptions": { - "calcs": [], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, - "textMode": "value" + "showUnfilled": true }, "pluginVersion": "9.3.2", "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "min (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", + "format": "time_series", + "hide": false, + "instant": true, + "intervalFactor": 1, + "legendFormat": "Min", + "refId": "object_per_sprig_min" + }, { "datasource": { "type": "prometheus", @@ -111,14 +155,29 @@ }, "editorMode": "code", "expr": "avg (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", + "format": "time_series", + "instant": true, + "intervalFactor": 1, + "legendFormat": "Avg", + "refId": "object_per_sprig_avg" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "max (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", + "format": "time_series", "hide": false, - "legendFormat": "{{ns}}", - "range": true, - "refId": "A" + "instant": true, + "intervalFactor": 1, + "legendFormat": "Max", + "refId": "object_per_sprig_max" } ], - "title": "Average Objects per Sprig (Primary Index) - $namespace", - "type": "stat" + "title": "Objects per Sprig (Primary Index)", + "type": "bargauge" }, { "datasource": { @@ -164,7 +223,7 @@ }, "id": 46, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", @@ -247,7 +306,7 @@ }, "id": 3, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", @@ -313,7 +372,7 @@ }, "id": 11, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", @@ -395,13 +454,13 @@ }, "gridPos": { "h": 4, - "w": 8, + "w": 16, "x": 8, "y": 4 }, "id": 55, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", @@ -500,7 +559,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -516,15 +576,16 @@ "h": 5, "w": 12, "x": 0, - "y": 9 + "y": 17 }, "id": 13, "options": { "legend": { "calcs": [ "last", - "mean", - "max" + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -597,7 +658,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -613,15 +675,16 @@ "h": 5, "w": 12, "x": 12, - "y": 9 + "y": 17 }, "id": 9, "options": { "legend": { "calcs": [ "last", - "mean", - "max" + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -693,7 +756,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -709,15 +773,16 @@ "h": 5, "w": 12, "x": 0, - "y": 14 + "y": 22 }, "id": 40, "options": { "legend": { "calcs": [ "last", - "mean", - "max" + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -749,7 +814,7 @@ "type": "row" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, @@ -757,434 +822,470 @@ "y": 9 }, "id": 15, - "panels": [], - "title": "Resources - Primary Index - $namespace", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 10 - }, - "id": 48, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "avg by (ns) (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", - "legendFormat": "{{ns}}", - "range": true, - "refId": "A" - }, + "panels": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "vector(2)", - "hide": false, - "legendFormat": "Threshold (2)", - "range": true, - "refId": "B" - } - ], - "title": "Average Object per Sprig", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "Represents how much used memory is consumed against the High Water Memory configured, the lower it is the better,\nNOTE: no data will be shown if High Water Pct is not configured.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 7, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 3, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 18 + }, + "id": 48, + "options": { + "legend": { + "calcs": [ + "lastNotNull", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "max": 100, - "noValue": "Not configured", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 10 - }, - "id": 17, - "options": { - "legend": { - "calcs": [ - "last", - "mean", - "max" + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "avg by (ns) (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", + "legendFormat": "{{ns}}", + "range": true, + "refId": "A" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "Average Object per Sprig", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "(((aerospike_namespace_index_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})\n/ on ( job, clusrer_name, service, ns)\naerospike_namespace_index_type_mounts_high_water_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} !=0)*100\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}}", - "range": true, - "refId": "C" - } - ], - "title": "Used Memory Pct vs High Water Mark Pct", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 7, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 3, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "Represents how much used memory is consumed against the High Water Memory configured, the lower it is the better,\nNOTE: no data will be shown if High Water Pct is not configured.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 7, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 100, + "noValue": "Not configured", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percent" }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 18 + }, + "id": 60, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 15 - }, - "id": 21, - "options": { - "legend": { - "calcs": [ - "last", - "mean", - "max" + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "(((aerospike_namespace_index_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})\n/ on ( job, clusrer_name, service, ns)\naerospike_namespace_index_type_mounts_high_water_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} !=0)*100\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}}", + "range": true, + "refId": "6_memory_by_high_water_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "(((aerospike_namespace_index_mounts_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})\n/ on ( job, clusrer_name, service, ns)\naerospike_namespace_index_type_evict_mounts_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} !=0)*100\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}}", + "range": true, + "refId": "7_data_by_evict_mount_pct" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "Used Data Pct vs High Water Mark Pct ", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "aerospike_namespace_index_flash_alloc_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} : Allocated", - "range": true, - "refId": "B" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 7, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 23 + }, + "id": 62, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_flash_alloc_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} : Allocated", + "range": true, + "refId": "alloc_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} - Used", + "range": true, + "refId": "6_index_flash_used_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_mounts_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} - Used", + "range": true, + "refId": "7_index_mounts_used_pct" + } + ], + "title": "% Index - Alloc, Used ", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "aerospike_namespace_index_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} - Used", - "range": true, - "refId": "A" - } - ], - "title": "% Index - Alloc, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 7, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 7, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bytes" }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 23 + }, + "id": 64, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "lineWidth": 3, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_flash_alloc_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} : Allocated", + "range": true, + "refId": "alloc_bytes" }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_flash_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} - Used", + "range": true, + "refId": "6_index_flash_used_bytes" }, - "thresholdsStyle": { - "mode": "off" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} - Used", + "range": true, + "refId": "7_index_mounts_used_bytes" } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 15 - }, - "id": 23, - "options": { - "legend": { - "calcs": [ - "last", - "mean", - "max" ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_namespace_index_flash_alloc_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} : Allocated", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_namespace_index_flash_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} - Used", - "range": true, - "refId": "A" + "title": "Bytes - Alloc, Used", + "type": "timeseries" } ], - "title": "Bytes - Alloc, Used", - "type": "timeseries" + "title": "Resources - Primary Index - $namespace", + "type": "row" }, { "collapsed": true, @@ -1192,7 +1293,7 @@ "h": 1, "w": 24, "x": 0, - "y": 20 + "y": 10 }, "id": 50, "panels": [ @@ -1247,7 +1348,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -1259,15 +1361,16 @@ "h": 5, "w": 12, "x": 0, - "y": 11 + "y": 19 }, - "id": 52, + "id": 66, "options": { "legend": { "calcs": [ "last", - "mean", - "max" + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -1290,10 +1393,23 @@ "interval": "", "legendFormat": "{{service}}:{{ns}}", "range": true, - "refId": "C" + "refId": "6_flash_used_pct_by_mount_high_water_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "(((aerospike_namespace_sindex_mounts_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})\n/ on (job, cluster, service, ns) \naerospike_namespace_index_type_evict_mounts_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} !=0)*100\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}}", + "range": true, + "refId": "7_mount_pct_by_evict_mounts_pct" } ], - "title": "Used Memory Pct vs High Water Mark Pct", + "title": "Used Data Pct vs High Water Mark Pct", "type": "timeseries" }, { @@ -1345,7 +1461,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -1357,15 +1474,16 @@ "h": 5, "w": 12, "x": 12, - "y": 11 + "y": 19 }, - "id": 53, + "id": 68, "options": { "legend": { "calcs": [ "last", - "mean", - "max" + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -1383,12 +1501,12 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "aerospike_namespace_sindex_flash_alloc_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "expr": "aerospike_namespace_sindex_flash_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", "hide": false, "interval": "", - "legendFormat": "{{service}}:{{ns}} : Allocated", + "legendFormat": "{{service}}:{{ns}} - Used", "range": true, - "refId": "B" + "refId": "6_sindex_flash_used_bytes" }, { "datasource": { @@ -1396,15 +1514,15 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "aerospike_namespace_sindex_flash_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "expr": "aerospike_namespace_sindex_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", "hide": false, "interval": "", "legendFormat": "{{service}}:{{ns}} - Used", "range": true, - "refId": "A" + "refId": "7_sindex_mounts_used_bytes" } ], - "title": "Bytes - Alloc, Used", + "title": "Bytes - Used ", "type": "timeseries" }, { @@ -1456,7 +1574,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -1468,15 +1587,16 @@ "h": 5, "w": 12, "x": 0, - "y": 16 + "y": 24 }, - "id": 54, + "id": 70, "options": { "legend": { "calcs": [ "last", - "mean", - "max" + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -1494,12 +1614,12 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "aerospike_namespace_sindex_flash_alloc_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "expr": "aerospike_namespace_sindex_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", "hide": false, "interval": "", - "legendFormat": "{{service}}:{{ns}} : Allocated", + "legendFormat": "{{service}}:{{ns}} - Used", "range": true, - "refId": "B" + "refId": "6_sindex_flash_used_pct" }, { "datasource": { @@ -1507,15 +1627,15 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "aerospike_namespace_sindex_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "expr": "aerospike_namespace_sindex_mounts_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", "hide": false, "interval": "", "legendFormat": "{{service}}:{{ns}} - Used", "range": true, - "refId": "A" + "refId": "7_sindex_mounts_used_pct" } ], - "title": "% SIndex - Alloc, Used", + "title": "% SIndex - Used ", "type": "timeseries" } ], @@ -1528,7 +1648,7 @@ "h": 1, "w": 24, "x": 0, - "y": 21 + "y": 11 }, "id": 44, "panels": [ @@ -1577,7 +1697,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1592,12 +1713,17 @@ "h": 5, "w": 12, "x": 0, - "y": 12 + "y": 20 }, - "id": 31, + "id": 72, "options": { "legend": { - "calcs": [], + "calcs": [ + "lastNotNull", + "min", + "max", + "mean" + ], "displayMode": "table", "placement": "right", "showLegend": true @@ -1614,8 +1740,8 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_device_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "legendFormat": "{{service}}:{{ns}} - Device Free", + "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "legendFormat": "{{service}}:{{ns}} - Device Used", "range": true, "refId": "device_free" }, @@ -1625,7 +1751,7 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit,aerospike_namespace_device_available_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", + "expr": "topk($topk_limit, aerospike_namespace_device_available_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", "hide": false, "legendFormat": "{{service}}:{{ns}} - Device Available", "range": true, @@ -1637,9 +1763,9 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit,aerospike_namespace_pmem_free_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "expr": "topk($topk_limit,100 - aerospike_namespace_pmem_free_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", "hide": false, - "legendFormat": "{{service}}:{{ns}} - Pmem Free", + "legendFormat": "{{service}}:{{ns}} - Pmem Used", "range": true, "refId": "pmem_free" }, @@ -1649,14 +1775,38 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit,aerospike_namespace_pmem_available_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", + "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", "hide": false, - "legendFormat": "{{service}}:{{ns}} - Device Available", + "legendFormat": "{{service}}:{{ns}} - Pmem Available", "range": true, "refId": "pmem_available" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_used_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "legendFormat": "{{service}}:{{ns}} - Data Used", + "range": true, + "refId": "7.0_data_used" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", + "hide": false, + "legendFormat": "{{service}}:{{ns}} - Data Available", + "range": true, + "refId": "7.0_data_available" } ], - "title": "% Device & PMem - Free, Available", + "title": "% Data - Used, Available ", "type": "timeseries" }, { @@ -1705,7 +1855,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1721,15 +1872,16 @@ "h": 5, "w": 12, "x": 12, - "y": 12 + "y": 20 }, - "id": 19, + "id": 74, "options": { "legend": { "calcs": [ "last", - "mean", - "max" + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -1805,7 +1957,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1821,12 +1974,17 @@ "h": 5, "w": 12, "x": 0, - "y": 17 + "y": 25 }, - "id": 37, + "id": 76, "options": { "legend": { - "calcs": [], + "calcs": [ + "lastNotNull", + "min", + "max", + "mean" + ], "displayMode": "table", "placement": "right", "showLegend": true @@ -1934,7 +2092,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1950,12 +2109,17 @@ "h": 5, "w": 12, "x": 12, - "y": 17 + "y": 25 }, - "id": 29, + "id": 78, "options": { "legend": { - "calcs": [], + "calcs": [ + "lastNotNull", + "min", + "max", + "mean" + ], "displayMode": "table", "placement": "right", "showLegend": true @@ -2028,7 +2192,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2044,13 +2209,14 @@ "h": 5, "w": 12, "x": 0, - "y": 22 + "y": 30 }, - "id": 39, + "id": 80, "options": { "legend": { "calcs": [ "last", + "min", "max", "mean" ], @@ -2090,7 +2256,7 @@ "h": 1, "w": 24, "x": 0, - "y": 22 + "y": 12 }, "id": 42, "panels": [ @@ -2139,7 +2305,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2154,12 +2321,17 @@ "h": 5, "w": 12, "x": 0, - "y": 13 + "y": 21 }, "id": 36, "options": { "legend": { - "calcs": [], + "calcs": [ + "last", + "min", + "max", + "mean" + ], "displayMode": "table", "placement": "right", "showLegend": true @@ -2231,7 +2403,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2246,12 +2419,17 @@ "h": 5, "w": 12, "x": 12, - "y": 13 + "y": 21 }, "id": 56, "options": { "legend": { - "calcs": [], + "calcs": [ + "last", + "min", + "max", + "mean" + ], "displayMode": "table", "placement": "right", "showLegend": true @@ -2335,7 +2513,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2350,12 +2529,17 @@ "h": 5, "w": 12, "x": 0, - "y": 18 + "y": 26 }, "id": 34, "options": { "legend": { - "calcs": [], + "calcs": [ + "last", + "min", + "max", + "mean" + ], "displayMode": "list", "placement": "bottom", "showLegend": true @@ -2429,7 +2613,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2444,12 +2629,17 @@ "h": 5, "w": 12, "x": 12, - "y": 18 + "y": 26 }, "id": 38, "options": { "legend": { - "calcs": [], + "calcs": [ + "last", + "min", + "max", + "mean" + ], "displayMode": "list", "placement": "bottom", "showLegend": true @@ -2748,6 +2938,6 @@ "timezone": "", "title": "All Flash", "uid": "LkfaTGC4z", - "version": 2, + "version": 9, "weekStart": "" } \ No newline at end of file From 688498dee5bf357314d8f945a45b2170d95e53d0 Mon Sep 17 00:00:00 2001 From: mphanias Date: Mon, 23 Oct 2023 14:22:17 +0530 Subject: [PATCH 2/8] OM135 - rolling restart - initial 7.0 changes modified dashboard to support 7.0. metrics along with 6.0 added panel to show aerospike-versions --- .../dashboards/usecases/rolling_restart.json | 5705 +++++++++-------- 1 file changed, 2949 insertions(+), 2756 deletions(-) diff --git a/config/grafana/dashboards/usecases/rolling_restart.json b/config/grafana/dashboards/usecases/rolling_restart.json index 11b1094..7f2d051 100644 --- a/config/grafana/dashboards/usecases/rolling_restart.json +++ b/config/grafana/dashboards/usecases/rolling_restart.json @@ -1,5 +1,11 @@ { "__requires": [ + { + "type": "panel", + "id": "gauge", + "name": "Gauge", + "version": "" + }, { "type": "grafana", "id": "grafana", @@ -90,26 +96,21 @@ "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", + "description": "Build version", "fieldConfig": { "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, + "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", + "color": "#299c46", "value": null - }, - { - "color": "red", - "value": 80 } ] - } + }, + "unit": "string" }, "overrides": [] }, @@ -119,20 +120,21 @@ "x": 0, "y": 3 }, - "id": 67, + "id": 108, + "links": [], + "maxDataPoints": 100, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", + "justifyMode": "auto", + "orientation": "horizontal", "reduceOptions": { - "calcs": [ - "last" - ], + "calcs": [], "fields": "", "values": false }, - "textMode": "value" + "text": {}, + "textMode": "name" }, "pluginVersion": "9.3.2", "targets": [ @@ -143,18 +145,16 @@ }, "editorMode": "code", "exemplar": false, - "expr": "count_values (\"size\", (aerospike_node_stats_cluster_size{cluster_name=\"$cluster\"}) )", + "expr": "count_values by (build) (\"build_numbers\", (aerospike_node_up{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}) )", "format": "time_series", - "hide": false, "instant": true, - "interval": "", - "legendFormat": "cluster", + "intervalFactor": 1, + "legendFormat": "{{build}}", "range": false, - "refId": "C" + "refId": "A" } ], - "title": "Cluster Size (Unique values)", - "transformations": [], + "title": "Aerospike Version", "type": "stat" }, { @@ -166,7 +166,7 @@ "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "continuous-GrYlRd" }, "mappings": [], "thresholds": { @@ -191,20 +191,20 @@ "x": 6, "y": 3 }, - "id": 4, + "id": 67, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "reduceOptions": { "calcs": [ - "lastNotNull" + "last" ], "fields": "", "values": false }, - "textMode": "auto" + "textMode": "value" }, "pluginVersion": "9.3.2", "targets": [ @@ -214,26 +214,19 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum (aerospike_namespace_migrate_rx_partitions_remaining{cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "legendFormat": "RX", - "range": true, - "refId": "rx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum (aerospike_namespace_migrate_tx_partitions_remaining{cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "exemplar": false, + "expr": "count_values (\"size\", (aerospike_node_stats_cluster_size{cluster_name=\"$cluster\"}) )", + "format": "time_series", "hide": false, + "instant": true, "interval": "", - "legendFormat": "TX", - "range": true, - "refId": "tx" + "legendFormat": "cluster", + "range": false, + "refId": "C" } ], - "title": "Migrations Remaining", + "title": "Cluster Size (Unique values)", + "transformations": [], "type": "stat" }, { @@ -272,7 +265,7 @@ }, "id": 104, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", @@ -320,6 +313,10 @@ { "color": "green", "value": null + }, + { + "color": "red", + "value": 80 } ] } @@ -332,9 +329,9 @@ "x": 18, "y": 3 }, - "id": 22, + "id": 4, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", @@ -355,24 +352,10 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum(aerospike_node_stats_client_connections{cluster_name=\"$cluster\", service=~\"$node|$^\"})", - "interval": "", - "legendFormat": "Client", - "range": true, - "refId": "client" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum ( aerospike_node_stats_fabric_connections {cluster_name=\"$cluster\",service=~\"$node|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "Fabric", + "expr": "sum (aerospike_namespace_migrate_rx_partitions_remaining{cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "legendFormat": "RX", "range": true, - "refId": "fabric" + "refId": "rx" }, { "datasource": { @@ -380,15 +363,15 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum ( aerospike_node_stats_heartbeat_connections {cluster_name=\"$cluster\",service=~\"$node|$^\"})", + "expr": "sum (aerospike_namespace_migrate_tx_partitions_remaining{cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", "hide": false, "interval": "", - "legendFormat": "Heartbeat", + "legendFormat": "TX", "range": true, - "refId": "heartbeat" + "refId": "tx" } ], - "title": "Connections", + "title": "Migrations Remaining", "type": "stat" }, { @@ -420,14 +403,14 @@ "overrides": [] }, "gridPos": { - "h": 4, + "h": 5, "w": 8, "x": 0, "y": 8 }, "id": 6, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", @@ -499,14 +482,14 @@ "overrides": [] }, "gridPos": { - "h": 4, - "w": 8, + "h": 5, + "w": 4, "x": 8, "y": 8 }, "id": 66, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", @@ -536,6 +519,93 @@ "title": "Stop Writes", "type": "stat" }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 6, + "x": 12, + "y": 8 + }, + "id": 22, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(aerospike_node_stats_client_connections{cluster_name=\"$cluster\", service=~\"$node|$^\"})", + "interval": "", + "legendFormat": "Client", + "range": true, + "refId": "client" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum ( aerospike_node_stats_fabric_connections {cluster_name=\"$cluster\",service=~\"$node|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "Fabric", + "range": true, + "refId": "fabric" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum ( aerospike_node_stats_heartbeat_connections {cluster_name=\"$cluster\",service=~\"$node|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "Heartbeat", + "range": true, + "refId": "heartbeat" + } + ], + "title": "Connections", + "type": "gauge" + }, { "datasource": { "type": "prometheus", @@ -565,14 +635,14 @@ "overrides": [] }, "gridPos": { - "h": 4, - "w": 8, - "x": 16, + "h": 5, + "w": 6, + "x": 18, "y": 8 }, "id": 75, "options": { - "colorMode": "value", + "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", @@ -678,13 +748,16 @@ "h": 5, "w": 12, "x": 0, - "y": 12 + "y": 13 }, "id": 18, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -790,13 +863,16 @@ "h": 5, "w": 12, "x": 12, - "y": 12 + "y": 13 }, "id": 72, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -898,13 +974,16 @@ "h": 5, "w": 12, "x": 0, - "y": 17 + "y": 18 }, "id": 71, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -1006,13 +1085,16 @@ "h": 5, "w": 12, "x": 12, - "y": 17 + "y": 18 }, "id": 12, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -1118,13 +1200,16 @@ "h": 5, "w": 12, "x": 0, - "y": 22 + "y": 23 }, "id": 73, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -1153,2288 +1238,2326 @@ "type": "timeseries" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 27 + "y": 28 }, "id": 30, - "panels": [], - "title": "Errors", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "color": "red", - "value": 80 + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 28 - }, - "id": 76, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_read_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Error", - "range": true, - "refId": "read_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_read_not_found{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Not Found", - "range": true, - "refId": "read_not_found" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_read_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Timeout", - "range": true, - "refId": "read_timedout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_read_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Filtered Out", - "range": true, - "refId": "read_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_write_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Filtered Out", - "range": true, - "refId": "write_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_write_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Timeout", - "range": true, - "refId": "write_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_write_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Error", - "range": true, - "refId": "write_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_delete_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Error", - "range": true, - "refId": "del_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_delete_not_found{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Not Found", - "range": true, - "refId": "del_not_found" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_delete_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Timeout", - "range": true, - "refId": "del_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_delete_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Filtered Out", - "range": true, - "refId": "del_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_lang_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Lang Error", - "range": true, - "refId": "lang_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_udf_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF Error", - "range": true, - "refId": "udf_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 29 }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_udf_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF Timeout", - "range": true, - "refId": "udf_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "id": 76, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last", + "sortDesc": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_client_udf_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF Filtered Out", - "range": true, - "refId": "udf_filter_out" - } - ], - "title": "Client - Read, Write, Delete, UDF (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_read_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Error", + "range": true, + "refId": "read_error" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_read_not_found{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Not Found", + "range": true, + "refId": "read_not_found" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_read_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Timeout", + "range": true, + "refId": "read_timedout" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 28 - }, - "id": 77, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_read_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Error", - "range": true, - "refId": "sub_read_err" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_read_not_found{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Not Found", - "range": true, - "refId": "sub_read_not_found" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_read_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Timeout", - "range": true, - "refId": "sub_read_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_read_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Filter Out", - "range": true, - "refId": "sub_read_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_write_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Error", - "range": true, - "refId": "sub_write_err" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_write_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Timeout", - "range": true, - "refId": "sub_write_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_write_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Filter Out", - "range": true, - "refId": "sub_write_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_delete_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Error", - "range": true, - "refId": "sub_del_err" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_delete_not_found{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Not Found", - "range": true, - "refId": "sub_del_not_found" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_delete_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Timeout", - "range": true, - "refId": "sub_del_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_delete_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Filtered Out", - "range": true, - "refId": "sub_del_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_lang_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Lang Error", - "range": true, - "refId": "sub_lang_err" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_udf_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF Error", - "range": true, - "refId": "sub_udf_err" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_udf_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF Filtered Out", - "range": true, - "refId": "sub_udf_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_udf_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF Timeout", - "range": true, - "refId": "sub_udf_timeout" - } - ], - "title": "Batch - Read, Write, Delete, UDF (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_read_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Filtered Out", + "range": true, + "refId": "read_filter_out" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_write_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Filtered Out", + "range": true, + "refId": "write_filter_out" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_write_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Timeout", + "range": true, + "refId": "write_timeout" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 33 - }, - "id": 16, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_read_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "interval": "", - "legendFormat": "{{service}} - Read Error", - "range": true, - "refId": "proxy_read_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_read_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Filter Out", - "range": true, - "refId": "proxy_read_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_read_not_found{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "legendFormat": "{{service}} - Read Not Found", - "range": true, - "refId": "proxy_read_not_found" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_read_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Read Timeout", - "range": true, - "refId": "proxy_read_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_write_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Error", - "range": true, - "refId": "proxy_write_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_write_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Filtered Out", - "range": true, - "refId": "proxy_write_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_write_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Write Timeout", - "range": true, - "refId": "proxy_write_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_delete_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Error", - "range": true, - "refId": "proxy_delete_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_delete_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Filtered Out", - "range": true, - "refId": "proxy_delete_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_delete_not_found{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Not Found", - "range": true, - "refId": "proxy_delete_not_found" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_delete_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Delete Timeout", - "range": true, - "refId": "proxy_delete_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_read_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Read", - "range": true, - "refId": "proxy_bat_sub_read_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_read_filtered_out{cluster_name=~\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Read Filtered Out", - "range": true, - "refId": "proxy_bat_sub_read_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_read_not_found{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Read Not Found", - "range": true, - "refId": "proxy_bat_sub_read_not_found" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_read_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Read Timeout", - "range": true, - "refId": "proxy_bat_sub_read_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_write_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Write Error", - "range": true, - "refId": "proxy_bat_sub_write_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_write_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Write Filter Out", - "range": true, - "refId": "proxy_bat_sub_write_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_write_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Write Timeout", - "range": true, - "refId": "proxy_bat_sub_write_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_delete_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Delete Error", - "range": true, - "refId": "proxy_bat_sub_delete_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_delete_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Delete Filter Out", - "range": true, - "refId": "proxy_bat_sub_delete_filter_out" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_delete_not_found{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Delete Not Found", - "range": true, - "refId": "proxy_bat_sub_delete_not_found" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_delete_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Delete Timeout", - "range": true, - "refId": "proxy_bat_sub_delete_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_tsvc_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batc Sub TSVC Timeout", - "range": true, - "refId": "proxy_bat_sub_tsvc_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_tsvc_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - TSVC Error", - "range": true, - "refId": "proxy_bat_sub_tsvc_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_tsvc_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - TSVC Timeout", - "range": true, - "refId": "proxy_tsvc_timeout" - } - ], - "title": "Incoming Proxy (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_write_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Error", + "range": true, + "refId": "write_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_delete_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Error", + "range": true, + "refId": "del_error" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_delete_not_found{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Not Found", + "range": true, + "refId": "del_not_found" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_delete_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Timeout", + "range": true, + "refId": "del_timeout" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 33 - }, - "id": 14, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (service) ( rate(aerospike_namespace_client_proxy_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - Client Timeout", - "range": true, - "refId": "client_proxy_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (service) ( \nrate(aerospike_namespace_client_proxy_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - Client Error", - "range": true, - "refId": "client_proxy_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_proxy_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "legendFormat": "{{service}} - Batch Sub Timeout", - "range": true, - "refId": "bat_sub_proxy_timeout" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( \nrate(aerospike_namespace_batch_sub_proxy_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Batch Sub Error", - "range": true, - "refId": "bat_sub_proxy_error" - } - ], - "title": "Outgoing Proxy (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_delete_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Filtered Out", + "range": true, + "refId": "del_filter_out" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_lang_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Lang Error", + "range": true, + "refId": "lang_error" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_udf_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF Error", + "range": true, + "refId": "udf_error" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 38 - }, - "id": 60, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_pi_query_long_basic_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Long Basic Abort", - "range": true, - "refId": "long_basic_abort" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( \nrate(aerospike_namespace_pi_query_long_basic_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Long Basic Error", - "range": true, - "refId": "long_basic_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_pi_query_short_basic_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Short Basic Timeout", - "range": true, - "refId": "short_basic_timeout" + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_udf_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF Timeout", + "range": true, + "refId": "udf_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_client_udf_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF Filtered Out", + "range": true, + "refId": "udf_filter_out" + } + ], + "title": "Client - Read, Write, Delete, UDF (rate)", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) ( \nrate(aerospike_namespace_pi_query_short_basic_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Short Basic Error", - "range": true, - "refId": "short_basic_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service)( rate(aerospike_namespace_pi_query_aggr_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Aggr Error", - "range": true, - "refId": "aggr_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 29 }, - "editorMode": "code", - "expr": "sum by (service)( \nrate(aerospike_namespace_pi_query_aggr_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Aggr Abort", - "range": true, - "refId": "aggr_abort" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "id": 77, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_pi_query_udf_bg_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF BG Abort", - "range": true, - "refId": "udf_bg_abort" + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_read_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Error", + "range": true, + "refId": "sub_read_err" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_read_not_found{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Not Found", + "range": true, + "refId": "sub_read_not_found" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_read_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Timeout", + "range": true, + "refId": "sub_read_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_read_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Filter Out", + "range": true, + "refId": "sub_read_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_write_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Error", + "range": true, + "refId": "sub_write_err" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_write_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Timeout", + "range": true, + "refId": "sub_write_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_write_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Filter Out", + "range": true, + "refId": "sub_write_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_delete_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Error", + "range": true, + "refId": "sub_del_err" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_delete_not_found{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Not Found", + "range": true, + "refId": "sub_del_not_found" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_delete_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Timeout", + "range": true, + "refId": "sub_del_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_delete_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Filtered Out", + "range": true, + "refId": "sub_del_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_lang_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Lang Error", + "range": true, + "refId": "sub_lang_err" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_udf_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF Error", + "range": true, + "refId": "sub_udf_err" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_udf_filtered_out{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF Filtered Out", + "range": true, + "refId": "sub_udf_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_udf_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF Timeout", + "range": true, + "refId": "sub_udf_timeout" + } + ], + "title": "Batch - Read, Write, Delete, UDF (rate)", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) ( \nrate(aerospike_namespace_pi_query_udf_bg_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF BG Error", - "range": true, - "refId": "udf_bg_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service)( rate(aerospike_namespace_pi_query_ops_bg_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Ops BG Abort", - "range": true, - "refId": "ops_bg_abort" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 34 }, - "editorMode": "code", - "expr": "sum by (service)( \nrate(aerospike_namespace_pi_query_ops_bg_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Ops BG Error", - "range": true, - "refId": "ops_bg_error" - } - ], - "title": "PI Query - Long, Short, Aggr, UDF (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "id": 16, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_read_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "interval": "", + "legendFormat": "{{service}} - Read Error", + "range": true, + "refId": "proxy_read_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_read_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Filter Out", + "range": true, + "refId": "proxy_read_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_read_not_found{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "legendFormat": "{{service}} - Read Not Found", + "range": true, + "refId": "proxy_read_not_found" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_read_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Read Timeout", + "range": true, + "refId": "proxy_read_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_write_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Error", + "range": true, + "refId": "proxy_write_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_write_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Filtered Out", + "range": true, + "refId": "proxy_write_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (\nrate(aerospike_namespace_from_proxy_write_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Write Timeout", + "range": true, + "refId": "proxy_write_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_delete_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Error", + "range": true, + "refId": "proxy_delete_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_delete_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Filtered Out", + "range": true, + "refId": "proxy_delete_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_delete_not_found{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Not Found", + "range": true, + "refId": "proxy_delete_not_found" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_delete_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Delete Timeout", + "range": true, + "refId": "proxy_delete_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_read_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Read", + "range": true, + "refId": "proxy_bat_sub_read_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_read_filtered_out{cluster_name=~\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Read Filtered Out", + "range": true, + "refId": "proxy_bat_sub_read_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_read_not_found{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Read Not Found", + "range": true, + "refId": "proxy_bat_sub_read_not_found" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_read_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Read Timeout", + "range": true, + "refId": "proxy_bat_sub_read_timeout" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_write_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Write Error", + "range": true, + "refId": "proxy_bat_sub_write_error" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 38 - }, - "id": 61, - "options": { - "legend": { - "calcs": [ - "last" + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_write_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Write Filter Out", + "range": true, + "refId": "proxy_bat_sub_write_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_write_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Write Timeout", + "range": true, + "refId": "proxy_bat_sub_write_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_delete_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Delete Error", + "range": true, + "refId": "proxy_bat_sub_delete_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_delete_filtered_out{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Delete Filter Out", + "range": true, + "refId": "proxy_bat_sub_delete_filter_out" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_delete_not_found{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Delete Not Found", + "range": true, + "refId": "proxy_bat_sub_delete_not_found" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_delete_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Delete Timeout", + "range": true, + "refId": "proxy_bat_sub_delete_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_batch_sub_tsvc_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batc Sub TSVC Timeout", + "range": true, + "refId": "proxy_bat_sub_tsvc_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_tsvc_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - TSVC Error", + "range": true, + "refId": "proxy_bat_sub_tsvc_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_from_proxy_tsvc_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - TSVC Timeout", + "range": true, + "refId": "proxy_tsvc_timeout" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service)( rate(aerospike_namespace_si_query_long_basic_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Long Basic Abort", - "range": true, - "refId": "long_basic_abort" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service)( \nrate(aerospike_namespace_si_query_long_basic_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Long Basic Error", - "range": true, - "refId": "long_basic_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_si_query_short_basic_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Short Basic Timeout", - "range": true, - "refId": "short_basic_timeout" + "title": "Incoming Proxy (rate)", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) ( \nrate(aerospike_namespace_si_query_short_basic_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Short Basic Error", - "range": true, - "refId": "short_basic_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_si_query_aggr_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Aggr Error", - "range": true, - "refId": "aggr_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 34 }, - "editorMode": "code", - "expr": "sum by (service) ( \nrate(aerospike_namespace_si_query_aggr_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Aggr Abort", - "range": true, - "refId": "aggr_abort" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "id": 14, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_si_query_udf_bg_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF BG Abort", - "range": true, - "refId": "udf_bg_abort" + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum by (service) ( rate(aerospike_namespace_client_proxy_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - Client Timeout", + "range": true, + "refId": "client_proxy_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum by (service) ( \nrate(aerospike_namespace_client_proxy_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - Client Error", + "range": true, + "refId": "client_proxy_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_batch_sub_proxy_timeout{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "legendFormat": "{{service}} - Batch Sub Timeout", + "range": true, + "refId": "bat_sub_proxy_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( \nrate(aerospike_namespace_batch_sub_proxy_error{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Batch Sub Error", + "range": true, + "refId": "bat_sub_proxy_error" + } + ], + "title": "Outgoing Proxy (rate)", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) ( \nrate(aerospike_namespace_si_query_udf_bg_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - UDF BG Error", - "range": true, - "refId": "udf_bg_error" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service) ( rate(aerospike_namespace_si_query_ops_bg_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Ops BG Abort", - "range": true, - "refId": "ops_bg_abort" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 39 }, - "editorMode": "code", - "expr": "sum by (service) ( \nrate(aerospike_namespace_si_query_ops_bg_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Ops BG Error", - "range": true, - "refId": "ops_bg_error" - } - ], - "title": "SI Query - Long, Short, Aggr, UDF (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "id": 60, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_pi_query_long_basic_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"\n}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Long Basic Abort", + "range": true, + "refId": "long_basic_abort" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( \nrate(aerospike_namespace_pi_query_long_basic_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Long Basic Error", + "range": true, + "refId": "long_basic_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_pi_query_short_basic_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Short Basic Timeout", + "range": true, + "refId": "short_basic_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( \nrate(aerospike_namespace_pi_query_short_basic_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Short Basic Error", + "range": true, + "refId": "short_basic_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service)( rate(aerospike_namespace_pi_query_aggr_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Aggr Error", + "range": true, + "refId": "aggr_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service)( \nrate(aerospike_namespace_pi_query_aggr_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Aggr Abort", + "range": true, + "refId": "aggr_abort" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_pi_query_udf_bg_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF BG Abort", + "range": true, + "refId": "udf_bg_abort" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( \nrate(aerospike_namespace_pi_query_udf_bg_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF BG Error", + "range": true, + "refId": "udf_bg_error" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service)( rate(aerospike_namespace_pi_query_ops_bg_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Ops BG Abort", + "range": true, + "refId": "ops_bg_abort" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 43 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "last" + "editorMode": "code", + "expr": "sum by (service)( \nrate(aerospike_namespace_pi_query_ops_bg_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Ops BG Error", + "range": true, + "refId": "ops_bg_error" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "PI Query - Long, Short, Aggr, UDF (rate)", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_namespace_migrate_rx_partitions_remaining{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "interval": "", - "legendFormat": "{{service}} - RX Partitions", - "range": true, - "refId": "rx_partitions" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_namespace_migrate_tx_partitions_remaining{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - TX Partitions", - "range": true, - "refId": "tx_partitions" - } - ], - "title": "Migrations Progress - RX, TX", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 39 }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "id": 61, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service)( rate(aerospike_namespace_si_query_long_basic_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Long Basic Abort", + "range": true, + "refId": "long_basic_abort" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service)( \nrate(aerospike_namespace_si_query_long_basic_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Long Basic Error", + "range": true, + "refId": "long_basic_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_si_query_short_basic_timeout{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Short Basic Timeout", + "range": true, + "refId": "short_basic_timeout" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( \nrate(aerospike_namespace_si_query_short_basic_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Short Basic Error", + "range": true, + "refId": "short_basic_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_si_query_aggr_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Aggr Error", + "range": true, + "refId": "aggr_error" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( \nrate(aerospike_namespace_si_query_aggr_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Aggr Abort", + "range": true, + "refId": "aggr_abort" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_si_query_udf_bg_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF BG Abort", + "range": true, + "refId": "udf_bg_abort" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( \nrate(aerospike_namespace_si_query_udf_bg_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - UDF BG Error", + "range": true, + "refId": "udf_bg_error" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 43 - }, - "id": 106, - "options": { - "legend": { - "calcs": [ - "last", - "mean", - "max" + "editorMode": "code", + "expr": "sum by (service) ( rate(aerospike_namespace_si_query_ops_bg_abort{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]) \n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Ops BG Abort", + "range": true, + "refId": "ops_bg_abort" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) ( \nrate(aerospike_namespace_si_query_ops_bg_error{ cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval])\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Ops BG Error", + "range": true, + "refId": "ops_bg_error" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "SI Query - Long, Short, Aggr, UDF (rate)", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": " sum by (service, ns) (\n rate(aerospike_namespace_hwm_breached {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval] )\n)", - "legendFormat": "{{service}} : {{ns}}", - "range": true, - "refId": "A" - } - ], - "title": "HWM Breaches (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 44 + }, + "id": 8, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_namespace_migrate_rx_partitions_remaining{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "interval": "", + "legendFormat": "{{service}} - RX Partitions", + "range": true, + "refId": "rx_partitions" }, - "thresholdsStyle": { - "mode": "off" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_namespace_migrate_tx_partitions_remaining{cluster_name=~\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - TX Partitions", + "range": true, + "refId": "tx_partitions" } + ], + "title": "Migrations Progress - RX, TX", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 48 - }, - "id": 63, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "unit": "none" + }, + "overrides": [] }, - "editorMode": "code", - "expr": " sum by (service) (rate(aerospike_namespace_evicted_objects{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", - "interval": "", - "legendFormat": "{{service}} - Evicted Objects", - "range": true, - "refId": "evict_objects" - } - ], - "title": "Evictions (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 44 }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 106, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 48 - }, - "id": 100, - "options": { - "legend": { - "calcs": [ - "last" + "editorMode": "code", + "expr": " sum by (service, ns) (\n rate(aerospike_namespace_hwm_breached {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval] )\n)", + "legendFormat": "{{service}} : {{ns}}", + "range": true, + "refId": "A" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "HWM Breaches (rate)", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "exemplar": false, - "expr": "(aerospike_latencies_write_ms_bucket{cluster_name=~\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\", le=\"+Inf\"})\n- ignoring (le)\n(aerospike_latencies_write_ms_bucket{cluster_name=~\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\", le=\"$latency_time_bucket\"})", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - {{ns}} - Write : {{le}}", - "range": true, - "refId": "B" - } - ], - "title": "Latencies > $latency_time_bucket ms", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 49 + }, + "id": 63, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 53 - }, - "id": 68, - "options": { - "legend": { - "calcs": [ - "last" + "editorMode": "code", + "expr": " sum by (service) (rate(aerospike_namespace_evicted_objects{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", + "interval": "", + "legendFormat": "{{service}} - Evicted Objects", + "range": true, + "refId": "evict_objects" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "Evictions (rate)", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) (rate( aerospike_namespace_batch_sub_read_not_found{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval] ))", - "interval": "", - "legendFormat": "{{service}} - Batch Sub", - "range": true, - "refId": "batch_sub_reads" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 49 + }, + "id": 100, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "(aerospike_latencies_write_ms_bucket{cluster_name=~\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\", le=\"+Inf\"})\n- ignoring (le)\n(aerospike_latencies_write_ms_bucket{cluster_name=~\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\", le=\"$latency_time_bucket\"})", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - {{ns}} - Write : {{le}}", + "range": true, + "refId": "B" + } + ], + "title": "Latencies > $latency_time_bucket ms", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service)(rate(aerospike_namespace_client_read_not_found{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Client ", - "range": true, - "refId": "client_read_not_found" - } - ], - "title": "Reads Not Found - Batch, Clients (rate)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 54 + }, + "id": 68, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate( aerospike_namespace_batch_sub_read_not_found{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval] ))", + "interval": "", + "legendFormat": "{{service}} - Batch Sub", + "range": true, + "refId": "batch_sub_reads" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 53 - }, - "id": 74, - "options": { - "legend": { - "calcs": [ - "last" + "editorMode": "code", + "expr": "sum by (service)(rate(aerospike_namespace_client_read_not_found{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Client ", + "range": true, + "refId": "client_read_not_found" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "Reads Not Found - Batch, Clients (rate)", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": " sum by (service) ((aerospike_namespace_unavailable_partitions{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}))", - "interval": "", - "legendFormat": "{{service}} - Unavailable", - "range": true, - "refId": "unavail_partitions" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] }, - "editorMode": "code", - "expr": " sum by (service) ((aerospike_namespace_dead_partitions{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}))", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Dead", - "range": true, - "refId": "dead_partitions" - } - ], - "title": "Partitions - Dead, Unavailable", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 54 }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 74, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 58 - }, - "id": 69, - "options": { - "legend": { - "calcs": [ - "last" + "editorMode": "code", + "expr": " sum by (service) ((aerospike_namespace_unavailable_partitions{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}))", + "interval": "", + "legendFormat": "{{service}} - Unavailable", + "range": true, + "refId": "unavail_partitions" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": " sum by (service) ((aerospike_namespace_dead_partitions{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}))", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Dead", + "range": true, + "refId": "dead_partitions" + } ], - "displayMode": "list", - "placement": "right", - "showLegend": true + "title": "Partitions - Dead, Unavailable", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_dup_res_ask{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", - "interval": "", - "legendFormat": "{{service}} - Ask", - "range": true, - "refId": "ask" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 59 }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_dup_res_respond_read{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Respond Read", - "range": true, - "refId": "respond_read" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "id": 69, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "editorMode": "code", - "expr": "sum by (service) (rate(aerospike_namespace_dup_res_respond_no_read{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Respond No Read", - "range": true, - "refId": "respond_no_read" + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_dup_res_ask{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", + "interval": "", + "legendFormat": "{{service}} - Ask", + "range": true, + "refId": "ask" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_dup_res_respond_read{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Respond Read", + "range": true, + "refId": "respond_read" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (rate(aerospike_namespace_dup_res_respond_no_read{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Respond No Read", + "range": true, + "refId": "respond_no_read" + } + ], + "title": "Duplicate Resolutions - Ask, Respond, No Read (rate)", + "type": "timeseries" } ], - "title": "Duplicate Resolutions - Ask, Respond, No Read (rate)", - "type": "timeseries" + "title": "Errors", + "type": "row" }, { "collapsed": true, @@ -3442,7 +3565,7 @@ "h": 1, "w": 24, "x": 0, - "y": 63 + "y": 29 }, "id": 88, "panels": [ @@ -3492,7 +3615,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3507,13 +3631,16 @@ "h": 6, "w": 12, "x": 0, - "y": 81 + "y": 30 }, - "id": 90, + "id": 110, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -3531,14 +3658,26 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", + "hide": false, + "legendFormat": "device - {{service}} - {{ns}}", + "range": true, + "refId": "device_use_by_total" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", "hide": false, "legendFormat": "{{service}} - {{ns}}", "range": true, - "refId": "memory_use_by_size" + "refId": "7.0_data_use_by_size" } ], - "title": "% Memory Used (vs Size) (TopK)", + "title": "% Data Used (vs Size) (TopK) ", "type": "timeseries" }, { @@ -3587,7 +3726,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3602,13 +3742,16 @@ "h": 6, "w": 12, "x": 12, - "y": 81 + "y": 30 }, - "id": 93, + "id": 112, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -3628,9 +3771,9 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", "interval": "", - "legendFormat": "{{service}} - Free : {{ns}}", + "legendFormat": "{{service}} -Used : {{ns}}", "range": true, "refId": "pmem_free_pct" }, @@ -3653,10 +3796,10 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", + "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", "hide": false, "interval": "", - "legendFormat": "{{service}} - Free : {{ns}}", + "legendFormat": "{{service}} - Used : {{ns}}", "range": true, "refId": "device_free_pct" }, @@ -3671,9 +3814,34 @@ "legendFormat": "{{service}} - Available : {{ns}}", "range": true, "refId": "device_avail_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "7.0_data_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "7.0_data_avail_pct" } ], - "title": "% Device / PMem - Free, Available (TopK)", + "title": "% Data - Used, Available (TopK) ", "type": "timeseries" }, { @@ -3722,7 +3890,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3737,13 +3906,16 @@ "h": 6, "w": 12, "x": 0, - "y": 87 + "y": 36 }, - "id": 91, + "id": 90, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -3761,14 +3933,14 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", - "interval": "", + "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, "legendFormat": "{{service}} - {{ns}}", "range": true, - "refId": "device_use_by_total" + "refId": "memory_use_by_size" } ], - "title": "% Device Used vs Total (TopK)", + "title": "% Memory Used (vs Size) (TopK) (deprecated)", "type": "timeseries" } ], @@ -3781,7 +3953,7 @@ "h": 1, "w": 24, "x": 0, - "y": 64 + "y": 30 }, "id": 79, "panels": [ @@ -3831,7 +4003,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3846,13 +4019,16 @@ "h": 6, "w": 12, "x": 0, - "y": 82 + "y": 31 }, "id": 10, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -3975,7 +4151,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3991,13 +4168,16 @@ "h": 6, "w": 12, "x": 12, - "y": 82 + "y": 31 }, "id": 95, "options": { "legend": { "calcs": [ - "last" + "last", + "min", + "max", + "mean" ], "displayMode": "table", "placement": "right", @@ -4099,7 +4279,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4115,568 +4296,580 @@ "h": 6, "w": 12, "x": 0, - "y": 88 + "y": 37 + }, + "id": 86, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "interval": "", + "legendFormat": "{{service}} - Free", + "range": true, + "refId": "sys_free_mem" + } + ], + "title": "% Free System Memory", + "type": "timeseries" + } + ], + "title": "Resources - OS ", + "type": "row" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 31 + }, + "id": 32, + "panels": [], + "title": "Misc", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 44, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_q{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_q{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{service}} - q ", + "range": false, + "refId": "defrag_q" + } + ], + "title": "Defrag Q", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "id": 86, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "single", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "interval": "", - "legendFormat": "{{service}} - Free", - "range": true, - "refId": "sys_free_mem" - } + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 32 + }, + "id": 46, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" ], - "title": "% Free System Memory", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" } - ], - "title": "Resources - OS ", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 65 }, - "id": 32, - "panels": [ + "pluginVersion": "9.3.2", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] + "editorMode": "code", + "exemplar": false, + "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_reads{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_reads{cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{service}} - Defrag Reads ", + "range": false, + "refId": "defrag_reads" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 93 + "editorMode": "code", + "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_writes{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_writes{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", + "hide": false, + "legendFormat": "{{service}} - Defrag Writes", + "range": true, + "refId": "defrag_writes" + } + ], + "title": "Defrag - Reads & Writes", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "id": 44, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "single", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_q{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_q{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "{{service}} - q ", - "range": false, - "refId": "defrag_q" - } + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 37 + }, + "id": 70, + "options": { + "legend": { + "calcs": [ + "last" ], - "title": "Defrag Q", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.2", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 93 + "editorMode": "code", + "exemplar": false, + "expr": "aerospike_namespace_effective_replication_factor{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} ", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{service}} - {{ns}}", + "range": false, + "refId": "eff_repl_factor" + } + ], + "title": "Effective Replication Factor", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "id": 46, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "single", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_reads{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_reads{cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "{{service}} - Defrag Reads ", - "range": false, - "refId": "defrag_reads" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_writes{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_writes{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", - "hide": false, - "legendFormat": "{{service}} - Defrag Writes", - "range": true, - "refId": "defrag_writes" - } + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 37 + }, + "id": 58, + "options": { + "legend": { + "calcs": [ + "last" ], - "title": "Defrag - Reads & Writes", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_bulk_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "interval": "", + "legendFormat": "{{service}} - Bulk Send", + "range": true, + "refId": "bulk_send" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 98 + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_bulk_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Bulk Receive", + "range": true, + "refId": "bulk_receive" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "id": 70, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_rw_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Rw Send", + "range": true, + "refId": "rw_send" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "aerospike_namespace_effective_replication_factor{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} ", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "{{service}} - {{ns}}", - "range": false, - "refId": "eff_repl_factor" - } - ], - "title": "Effective Replication Factor", - "type": "timeseries" + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_rw_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Rw Receive", + "range": true, + "refId": "rw_receive" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] + "editorMode": "code", + "expr": "sum by (service)(aerospike_node_stats_fabric_ctrl_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Ctrl Send", + "range": true, + "refId": "ctrl_send" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 98 + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_ctrl_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Ctrl Receive", + "range": true, + "refId": "ctrl_receive" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "id": 58, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_meta_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Meta Send", + "range": true, + "refId": "meta_send" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_bulk_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "interval": "", - "legendFormat": "{{service}} - Bulk Send", - "range": true, - "refId": "bulk_send" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_bulk_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Bulk Receive", - "range": true, - "refId": "bulk_receive" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_rw_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Rw Send", - "range": true, - "refId": "rw_send" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_rw_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Rw Receive", - "range": true, - "refId": "rw_receive" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service)(aerospike_node_stats_fabric_ctrl_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Ctrl Send", - "range": true, - "refId": "ctrl_send" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_ctrl_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Ctrl Receive", - "range": true, - "refId": "ctrl_receive" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_meta_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Meta Send", - "range": true, - "refId": "meta_send" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_meta_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Meta Receive", - "range": true, - "refId": "meta_recv" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_node_stats_fabric_bulk_send_rate ", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Fabric Send & Receive Rates", - "type": "timeseries" + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_meta_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Meta Receive", + "range": true, + "refId": "meta_recv" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_node_stats_fabric_bulk_send_rate ", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" } ], - "title": "Misc", - "type": "row" + "title": "Fabric Send & Receive Rates", + "type": "timeseries" } ], "refresh": false, @@ -4928,6 +5121,6 @@ "timezone": "", "title": "Rolling Restarts", "uid": "9p1Tc1uVz", - "version": 4, + "version": 5, "weekStart": "" } \ No newline at end of file From 8322b31fce53d9e1d58e847c1ff10b4368d9c755 Mon Sep 17 00:00:00 2001 From: mphanias Date: Thu, 26 Oct 2023 19:57:21 +0530 Subject: [PATCH 3/8] OM135 - review feedback modified Migration panel to include rx/tx active adjust panel colors to same threshold values --- .../dashboards/usecases/rolling_restart.json | 806 +++++++++--------- 1 file changed, 408 insertions(+), 398 deletions(-) diff --git a/config/grafana/dashboards/usecases/rolling_restart.json b/config/grafana/dashboards/usecases/rolling_restart.json index 7f2d051..7eb8719 100644 --- a/config/grafana/dashboards/usecases/rolling_restart.json +++ b/config/grafana/dashboards/usecases/rolling_restart.json @@ -166,14 +166,14 @@ "fieldConfig": { "defaults": { "color": { - "mode": "continuous-GrYlRd" + "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", + "color": "#299c46", "value": null }, { @@ -245,7 +245,7 @@ "mode": "absolute", "steps": [ { - "color": "green", + "color": "#299c46", "value": null }, { @@ -259,7 +259,7 @@ }, "gridPos": { "h": 5, - "w": 6, + "w": 3, "x": 12, "y": 3 }, @@ -311,7 +311,7 @@ "mode": "absolute", "steps": [ { - "color": "green", + "color": "#299c46", "value": null }, { @@ -325,8 +325,8 @@ }, "gridPos": { "h": 5, - "w": 6, - "x": 18, + "w": 9, + "x": 15, "y": 3 }, "id": 4, @@ -353,10 +353,23 @@ }, "editorMode": "code", "expr": "sum (aerospike_namespace_migrate_rx_partitions_remaining{cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "legendFormat": "RX", + "legendFormat": "RX Remaining", "range": true, "refId": "rx" }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum (aerospike_namespace_migrate_rx_partitions_active{cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "RX Active", + "range": true, + "refId": "rx_active" + }, { "datasource": { "type": "prometheus", @@ -366,12 +379,25 @@ "expr": "sum (aerospike_namespace_migrate_tx_partitions_remaining{cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", "hide": false, "interval": "", - "legendFormat": "TX", + "legendFormat": "TX Remaining", "range": true, "refId": "tx" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum (aerospike_namespace_migrate_tx_partitions_active{cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "TX Active", + "range": true, + "refId": "tx_active" } ], - "title": "Migrations Remaining", + "title": "Migrations (Partitions)", "type": "stat" }, { @@ -390,7 +416,7 @@ "mode": "absolute", "steps": [ { - "color": "green", + "color": "#299c46", "value": null }, { @@ -469,7 +495,7 @@ "mode": "absolute", "steps": [ { - "color": "green", + "color": "#299c46", "value": null }, { @@ -531,11 +557,12 @@ "mode": "thresholds" }, "mappings": [], + "noValue": "N/A", "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", + "color": "#299c46", "value": null } ] @@ -622,7 +649,7 @@ "mode": "absolute", "steps": [ { - "color": "green", + "color": "#299c46", "value": null }, { @@ -876,7 +903,9 @@ ], "displayMode": "table", "placement": "right", - "showLegend": true + "showLegend": true, + "sortBy": "Last", + "sortDesc": true }, "tooltip": { "mode": "single", @@ -1292,8 +1321,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1576,8 +1604,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1857,8 +1884,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2267,8 +2293,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2408,8 +2433,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2624,8 +2648,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2841,8 +2864,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2952,8 +2974,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3051,8 +3072,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3150,8 +3170,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3252,8 +3271,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3364,8 +3382,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3476,8 +3493,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3560,7 +3576,7 @@ "type": "row" }, { - "collapsed": true, + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -3568,384 +3584,381 @@ "y": 29 }, "id": 88, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "panels": [], + "title": "Resources - Usage", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 30 - }, - "id": 110, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "tooltip": { - "mode": "single", - "sort": "none" + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", - "hide": false, - "legendFormat": "device - {{service}} - {{ns}}", - "range": true, - "refId": "device_use_by_total" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - {{ns}}", - "range": true, - "refId": "7.0_data_use_by_size" - } + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 30 + }, + "id": 110, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" ], - "title": "% Data Used (vs Size) (TopK) ", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 30 + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - device : {{ns}} - (pre 7x)", + "range": true, + "refId": "device_use_by_total" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "id": 112, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} : {{ns}} ", + "range": true, + "refId": "7.0_data_use_by_size" + } + ], + "title": "% Data Used (vs Size) (TopK) ", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "interval": "", - "legendFormat": "{{service}} -Used : {{ns}}", - "range": true, - "refId": "pmem_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "pmem_avail_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "device_free_pct" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "device_avail_pct" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "7.0_data_free_pct" + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "7.0_data_avail_pct" + "thresholdsStyle": { + "mode": "off" } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 30 + }, + "id": 112, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" ], - "title": "% Data - Used, Available (TopK) ", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] + "editorMode": "code", + "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "pmem_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 36 + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "pmem_avail_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "id": 90, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "editorMode": "code", + "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "device_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "device_avail_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "7.0_data_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "7.0_data_avail_pct" + } + ], + "title": "% Data - Used, Available (TopK) ", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "single", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - {{ns}}", - "range": true, - "refId": "memory_use_by_size" - } + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 36 + }, + "id": 90, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" ], - "title": "% Memory Used (vs Size) (TopK) (deprecated)", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - {{ns}}", + "range": true, + "refId": "memory_use_by_size" } ], - "title": "Resources - Usage", - "type": "row" + "title": "% Memory Used (vs Size) (TopK) (deprecated)", + "type": "timeseries" }, { "collapsed": true, @@ -3953,7 +3966,7 @@ "h": 1, "w": 24, "x": 0, - "y": 30 + "y": 42 }, "id": 79, "panels": [ @@ -4003,8 +4016,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4151,8 +4163,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4279,8 +4290,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4344,7 +4354,7 @@ "h": 1, "w": 24, "x": 0, - "y": 31 + "y": 43 }, "id": 32, "panels": [], @@ -4414,7 +4424,7 @@ "h": 5, "w": 12, "x": 0, - "y": 32 + "y": 44 }, "id": 44, "options": { @@ -4518,7 +4528,7 @@ "h": 5, "w": 12, "x": 12, - "y": 32 + "y": 44 }, "id": 46, "options": { @@ -4634,7 +4644,7 @@ "h": 5, "w": 12, "x": 0, - "y": 37 + "y": 49 }, "id": 70, "options": { @@ -4734,7 +4744,7 @@ "h": 5, "w": 12, "x": 12, - "y": 37 + "y": 49 }, "id": 58, "options": { @@ -5121,6 +5131,6 @@ "timezone": "", "title": "Rolling Restarts", "uid": "9p1Tc1uVz", - "version": 5, + "version": 6, "weekStart": "" } \ No newline at end of file From 4a7b599178118e46b86026ff7d0977b97e8c1ad1 Mon Sep 17 00:00:00 2001 From: mphanias Date: Sun, 29 Oct 2023 16:25:20 +0530 Subject: [PATCH 4/8] OM135 - review feedback 1. updated panel titles and labels 2. updated time-series legends to last, min, max and mean --- .../dashboards/usecases/rolling_restart.json | 1938 +++++++++-------- 1 file changed, 999 insertions(+), 939 deletions(-) diff --git a/config/grafana/dashboards/usecases/rolling_restart.json b/config/grafana/dashboards/usecases/rolling_restart.json index 7eb8719..984a994 100644 --- a/config/grafana/dashboards/usecases/rolling_restart.json +++ b/config/grafana/dashboards/usecases/rolling_restart.json @@ -181,7 +181,8 @@ "value": 80 } ] - } + }, + "unit": "none" }, "overrides": [] }, @@ -250,10 +251,11 @@ }, { "color": "red", - "value": 80 + "value": 1 } ] - } + }, + "unit": "none" }, "overrides": [] }, @@ -292,7 +294,7 @@ "refId": "A" } ], - "title": "HWM Breached", + "title": "HWM breached (sum)", "type": "stat" }, { @@ -315,11 +317,12 @@ "value": null }, { - "color": "red", - "value": 80 + "color": "yellow", + "value": 1 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -397,7 +400,7 @@ "refId": "tx_active" } ], - "title": "Migrations (Partitions)", + "title": "Migrations (Partitions) (total)", "type": "stat" }, { @@ -420,11 +423,12 @@ "value": null }, { - "color": "red", - "value": 80 + "color": "yellow", + "value": 1 } ] - } + }, + "unit": "none" }, "overrides": [] }, @@ -476,7 +480,7 @@ "refId": "B" } ], - "title": "Quiesces", + "title": "Quiesces (total)", "type": "stat" }, { @@ -500,10 +504,11 @@ }, { "color": "red", - "value": 80 + "value": 1 } ] - } + }, + "unit": "none" }, "overrides": [] }, @@ -536,7 +541,7 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum ( aerospike_namespace_stop_writes {cluster_name=\"$cluster\", service=~\"$node|$^\"} )", + "expr": "sum ( aerospike_namespace_stop_writes {cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", "legendFormat": "__auto", "range": true, "refId": "A" @@ -564,9 +569,18 @@ { "color": "#299c46", "value": null + }, + { + "color": "#EAB839", + "value": 200 + }, + { + "color": "red", + "value": 1000 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -654,10 +668,11 @@ }, { "color": "red", - "value": 80 + "value": 1 } ] - } + }, + "unit": "none" }, "overrides": [] }, @@ -710,7 +725,7 @@ "refId": "dead_partitions" } ], - "title": "Partitions", + "title": "Partitions (total)", "type": "stat" }, { @@ -767,7 +782,8 @@ "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -882,7 +898,8 @@ "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -995,7 +1012,8 @@ "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -1106,7 +1124,8 @@ "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -1160,7 +1179,7 @@ "refId": "pending_quiesce" } ], - "title": "Quiesces", + "title": "Quiesces (total)", "type": "timeseries" }, { @@ -1221,7 +1240,8 @@ "value": 300 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -1263,7 +1283,7 @@ "refId": "lag" } ], - "title": "XDR Lag", + "title": "XDR Lag (rate)", "type": "timeseries" }, { @@ -1321,14 +1341,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -1555,7 +1577,7 @@ "refId": "udf_filter_out" } ], - "title": "Client - Read, Write, Delete, UDF (rate)", + "title": "Client - Read, Write, Delete, UDF (rate) (total)", "type": "timeseries" }, { @@ -1604,14 +1626,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -1836,7 +1860,7 @@ "refId": "sub_udf_timeout" } ], - "title": "Batch - Read, Write, Delete, UDF (rate)", + "title": "Batch - Read, Write, Delete, UDF (rate) (total)", "type": "timeseries" }, { @@ -1884,14 +1908,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -2244,7 +2270,7 @@ "refId": "proxy_tsvc_timeout" } ], - "title": "Incoming Proxy (rate)", + "title": "Incoming Proxy (rate) (total)", "type": "timeseries" }, { @@ -2293,14 +2319,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -2385,7 +2413,7 @@ "refId": "bat_sub_proxy_error" } ], - "title": "Outgoing Proxy (rate)", + "title": "Outgoing Proxy (rate) (total)", "type": "timeseries" }, { @@ -2433,14 +2461,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -2600,7 +2630,7 @@ "refId": "ops_bg_error" } ], - "title": "PI Query - Long, Short, Aggr, UDF (rate)", + "title": "PI Query - Long, Short, Aggr, UDF (rate) (total)", "type": "timeseries" }, { @@ -2648,14 +2678,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -2815,7 +2847,7 @@ "refId": "ops_bg_error" } ], - "title": "SI Query - Long, Short, Aggr, UDF (rate)", + "title": "SI Query - Long, Short, Aggr, UDF (rate) (total)", "type": "timeseries" }, { @@ -2864,14 +2896,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -2926,7 +2960,7 @@ "refId": "tx_partitions" } ], - "title": "Migrations Progress - RX, TX", + "title": "Migrations Progress - RX, TX (total)", "type": "timeseries" }, { @@ -2974,7 +3008,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3018,12 +3053,12 @@ }, "editorMode": "code", "expr": " sum by (service, ns) (\n rate(aerospike_namespace_hwm_breached {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval] )\n)", - "legendFormat": "{{service}} : {{ns}}", + "legendFormat": "{{service}}/{{ns}}", "range": true, "refId": "A" } ], - "title": "HWM Breaches (rate)", + "title": "HWM Breaches (rate) (total)", "type": "timeseries" }, { @@ -3072,14 +3107,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -3116,12 +3153,12 @@ "editorMode": "code", "expr": " sum by (service) (rate(aerospike_namespace_evicted_objects{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}[$__rate_interval]))", "interval": "", - "legendFormat": "{{service}} - Evicted Objects", + "legendFormat": "{{service}} - Objects", "range": true, "refId": "evict_objects" } ], - "title": "Evictions (rate)", + "title": "Evictions (rate) (total)", "type": "timeseries" }, { @@ -3170,14 +3207,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -3271,14 +3310,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -3333,7 +3374,7 @@ "refId": "client_read_not_found" } ], - "title": "Reads Not Found - Batch, Clients (rate)", + "title": "Reads Not Found - Batch, Clients (rate) (total)", "type": "timeseries" }, { @@ -3382,14 +3423,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -3444,7 +3487,7 @@ "refId": "dead_partitions" } ], - "title": "Partitions - Dead, Unavailable", + "title": "Partitions - Dead, Unavailable (total)", "type": "timeseries" }, { @@ -3493,14 +3536,16 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -3568,7 +3613,7 @@ "refId": "respond_no_read" } ], - "title": "Duplicate Resolutions - Ask, Respond, No Read (rate)", + "title": "Duplicate Resolutions - Ask, Respond, No Read (rate) (total)", "type": "timeseries" } ], @@ -3576,7 +3621,7 @@ "type": "row" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, @@ -3584,392 +3629,119 @@ "y": 29 }, "id": 88, - "panels": [], - "title": "Resources - Usage", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 30 + }, + "id": 110, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 30 - }, - "id": 110, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - device : {{ns}} - (pre 7x)", + "range": true, + "refId": "device_use_by_total" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} : {{ns}} ", + "range": true, + "refId": "7.0_data_use_by_size" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - device : {{ns}} - (pre 7x)", - "range": true, - "refId": "device_use_by_total" + "title": "% Data used (vs Size) (topk) ", + "type": "timeseries" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} : {{ns}} ", - "range": true, - "refId": "7.0_data_use_by_size" - } - ], - "title": "% Data Used (vs Size) (TopK) ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 30 - }, - "id": 112, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "pmem_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "pmem_avail_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "device_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "device_avail_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "7.0_data_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "7.0_data_avail_pct" - } - ], - "title": "% Data - Used, Available (TopK) ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 36 - }, - "id": 90, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - {{ns}}", - "range": true, - "refId": "memory_use_by_size" - } - ], - "title": "% Memory Used (vs Size) (TopK) (deprecated)", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 42 - }, - "id": 79, - "panels": [ { "datasource": { "type": "prometheus", @@ -4016,24 +3788,26 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 6, "w": 12, - "x": 0, - "y": 31 + "x": 12, + "y": 30 }, - "id": 10, + "id": 112, "options": { "legend": { "calcs": [ @@ -4051,7 +3825,6 @@ "sort": "none" } }, - "pluginVersion": "9.3.2", "targets": [ { "datasource": { @@ -4059,10 +3832,288 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "exemplar": false, - "expr": "topk($topk_limit,\nsum by (service) (aerospike_node_stats_process_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", - "hide": false, - "instant": false, + "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "pmem_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "pmem_avail_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "device_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "device_avail_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "7.0_data_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "7.0_data_avail_pct" + } + ], + "title": "% Data - used, available (topk) ", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 36 + }, + "id": 90, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - {{ns}}", + "range": true, + "refId": "memory_use_by_size" + } + ], + "title": "% Memory used (vs Size) (topk) (deprecated", + "type": "timeseries" + } + ], + "title": "Resources - Usage", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 79, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 31 + }, + "id": 10, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "topk($topk_limit,\nsum by (service) (aerospike_node_stats_process_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", + "hide": false, + "instant": false, "interval": "", "legendFormat": "{{service}} - Process", "range": true, @@ -4163,7 +4214,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4171,7 +4223,7 @@ } ] }, - "unit": "kbytes" + "unit": "bytes" }, "overrides": [] }, @@ -4241,7 +4293,7 @@ "refId": "heap_mapped_kbytes" } ], - "title": "% Heap - Allocated, Active", + "title": "Heap - allocated, active (topk) (total)", "type": "timeseries" }, { @@ -4290,7 +4342,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4341,7 +4394,7 @@ "refId": "sys_free_mem" } ], - "title": "% Free System Memory", + "title": "% Free System memory (topk) (total)", "type": "timeseries" } ], @@ -4349,537 +4402,544 @@ "type": "row" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 43 + "y": 31 }, "id": 32, - "panels": [], - "title": "Misc", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 44 - }, - "id": 44, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.2", - "targets": [ + "panels": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_q{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_q{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "{{service}} - q ", - "range": false, - "refId": "defrag_q" - } - ], - "title": "Defrag Q", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 44, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 44 - }, - "id": 46, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" + "editorMode": "code", + "exemplar": false, + "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_q{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_q{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{service}} - q ", + "range": false, + "refId": "defrag_q" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "Defrag Q (total)", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.2", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_reads{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_reads{cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "{{service}} - Defrag Reads ", - "range": false, - "refId": "defrag_reads" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_writes{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_writes{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", - "hide": false, - "legendFormat": "{{service}} - Defrag Writes", - "range": true, - "refId": "defrag_writes" - } - ], - "title": "Defrag - Reads & Writes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 32 }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 46, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 49 - }, - "id": 70, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "aerospike_namespace_effective_replication_factor{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} ", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "{{service}} - {{ns}}", - "range": false, - "refId": "eff_repl_factor" - } - ], - "title": "Effective Replication Factor", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "editorMode": "code", + "exemplar": false, + "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_reads{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_reads{cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{service}} - Defrag Reads ", + "range": false, + "refId": "defrag_reads" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 49 - }, - "id": 58, - "options": { - "legend": { - "calcs": [ - "last" + "editorMode": "code", + "expr": "sum by (service) (\naerospike_namespace_storage_engine_file_defrag_writes{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} \nor \naerospike_namespace_storage_engine_device_defrag_writes{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n)", + "hide": false, + "legendFormat": "{{service}} - Defrag Writes", + "range": true, + "refId": "defrag_writes" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_bulk_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "interval": "", - "legendFormat": "{{service}} - Bulk Send", - "range": true, - "refId": "bulk_send" + "title": "Defrag - Reads & Writes (total)", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_bulk_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Bulk Receive", - "range": true, - "refId": "bulk_receive" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_rw_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Rw Send", - "range": true, - "refId": "rw_send" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 37 }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_rw_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Rw Receive", - "range": true, - "refId": "rw_receive" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "id": 70, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "editorMode": "code", - "expr": "sum by (service)(aerospike_node_stats_fabric_ctrl_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Ctrl Send", - "range": true, - "refId": "ctrl_send" + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "aerospike_namespace_effective_replication_factor{ cluster_name=~\"$cluster|$^\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} ", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{service}}/{{ns}}", + "range": false, + "refId": "eff_repl_factor" + } + ], + "title": "Effective Replication Factor", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_ctrl_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Ctrl Receive", - "range": true, - "refId": "ctrl_receive" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_meta_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Meta Send", - "range": true, - "refId": "meta_send" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 37 }, - "editorMode": "code", - "expr": "sum by (service) (aerospike_node_stats_fabric_meta_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Meta Receive", - "range": true, - "refId": "meta_recv" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "id": 58, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "editorMode": "code", - "expr": "aerospike_node_stats_fabric_bulk_send_rate ", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_bulk_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "interval": "", + "legendFormat": "{{service}} - Bulk Send", + "range": true, + "refId": "bulk_send" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_bulk_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Bulk Receive", + "range": true, + "refId": "bulk_receive" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_rw_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Rw Send", + "range": true, + "refId": "rw_send" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_rw_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Rw Receive", + "range": true, + "refId": "rw_receive" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service)(aerospike_node_stats_fabric_ctrl_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Ctrl Send", + "range": true, + "refId": "ctrl_send" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_ctrl_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Ctrl Receive", + "range": true, + "refId": "ctrl_receive" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_meta_send_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Meta Send", + "range": true, + "refId": "meta_send" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (service) (aerospike_node_stats_fabric_meta_recv_rate{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Meta Receive", + "range": true, + "refId": "meta_recv" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_node_stats_fabric_bulk_send_rate ", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Fabric Send & Receive Rates (total)", + "type": "timeseries" } ], - "title": "Fabric Send & Receive Rates", - "type": "timeseries" + "title": "Misc", + "type": "row" } ], "refresh": false, @@ -5131,6 +5191,6 @@ "timezone": "", "title": "Rolling Restarts", "uid": "9p1Tc1uVz", - "version": 6, + "version": 18, "weekStart": "" } \ No newline at end of file From fba768851e89d8f25f2a5fea63a8fcbba5e3fe25 Mon Sep 17 00:00:00 2001 From: mphanias Date: Sun, 29 Oct 2023 23:49:39 +0530 Subject: [PATCH 5/8] OM135 - review feedback reverted all-flash dashboard changes from this pr as all-flash is handled as part of OM-134 --- .../dashboards/usecases/all_flash.json | 1176 +++++++---------- 1 file changed, 493 insertions(+), 683 deletions(-) diff --git a/config/grafana/dashboards/usecases/all_flash.json b/config/grafana/dashboards/usecases/all_flash.json index de83925..4e16150 100644 --- a/config/grafana/dashboards/usecases/all_flash.json +++ b/config/grafana/dashboards/usecases/all_flash.json @@ -1,11 +1,5 @@ { "__requires": [ - { - "type": "panel", - "id": "bargauge", - "name": "Bar gauge", - "version": "" - }, { "type": "grafana", "id": "grafana", @@ -72,26 +66,7 @@ "color": { "mode": "thresholds" }, - "links": [ - { - "targetBlank": true, - "title": "Alerts view dashboard", - "url": "/d/hP_Uhx94k/alerts-view?orgId=1&var-node=${node}&var-cluster=${cluster}" - } - ], - "mappings": [ - { - "options": { - "match": "null", - "result": { - "color": "#299c46", - "text": "0" - } - }, - "type": "special" - } - ], - "noValue": "N/A", + "mappings": [], "thresholds": { "mode": "absolute", "steps": [ @@ -100,12 +75,11 @@ "value": null }, { - "color": "dark-red", - "value": 5000 + "color": "red", + "value": 50 } ] - }, - "unit": "none" + } }, "overrides": [] }, @@ -115,39 +89,21 @@ "x": 0, "y": 0 }, - "id": 82, - "links": [], - "maxDataPoints": 100, + "id": 2, "options": { - "displayMode": "basic", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "vertical", + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": [], "fields": "", "values": false }, - "showUnfilled": true + "textMode": "value" }, "pluginVersion": "9.3.2", "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "min (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", - "format": "time_series", - "hide": false, - "instant": true, - "intervalFactor": 1, - "legendFormat": "Min", - "refId": "object_per_sprig_min" - }, { "datasource": { "type": "prometheus", @@ -155,29 +111,14 @@ }, "editorMode": "code", "expr": "avg (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", - "format": "time_series", - "instant": true, - "intervalFactor": 1, - "legendFormat": "Avg", - "refId": "object_per_sprig_avg" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "max (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", - "format": "time_series", "hide": false, - "instant": true, - "intervalFactor": 1, - "legendFormat": "Max", - "refId": "object_per_sprig_max" + "legendFormat": "{{ns}}", + "range": true, + "refId": "A" } ], - "title": "Objects per Sprig (Primary Index)", - "type": "bargauge" + "title": "Average Objects per Sprig (Primary Index) - $namespace", + "type": "stat" }, { "datasource": { @@ -223,7 +164,7 @@ }, "id": 46, "options": { - "colorMode": "background", + "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "auto", @@ -306,7 +247,7 @@ }, "id": 3, "options": { - "colorMode": "background", + "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", @@ -372,7 +313,7 @@ }, "id": 11, "options": { - "colorMode": "background", + "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", @@ -454,13 +395,13 @@ }, "gridPos": { "h": 4, - "w": 16, + "w": 8, "x": 8, "y": 4 }, "id": 55, "options": { - "colorMode": "background", + "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "auto", @@ -559,8 +500,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -576,16 +516,15 @@ "h": 5, "w": 12, "x": 0, - "y": 17 + "y": 9 }, "id": 13, "options": { "legend": { "calcs": [ "last", - "min", - "max", - "mean" + "mean", + "max" ], "displayMode": "table", "placement": "right", @@ -658,8 +597,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -675,16 +613,15 @@ "h": 5, "w": 12, "x": 12, - "y": 17 + "y": 9 }, "id": 9, "options": { "legend": { "calcs": [ "last", - "min", - "max", - "mean" + "mean", + "max" ], "displayMode": "table", "placement": "right", @@ -756,8 +693,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -773,16 +709,15 @@ "h": 5, "w": 12, "x": 0, - "y": 22 + "y": 14 }, "id": 40, "options": { "legend": { "calcs": [ "last", - "min", - "max", - "mean" + "mean", + "max" ], "displayMode": "table", "placement": "right", @@ -814,7 +749,7 @@ "type": "row" }, { - "collapsed": true, + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -822,470 +757,434 @@ "y": 9 }, "id": 15, - "panels": [ + "panels": [], + "title": "Resources - Primary Index - $namespace", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 10 + }, + "id": 48, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 48, - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "avg by (ns) (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", - "legendFormat": "{{ns}}", - "range": true, - "refId": "A" - } - ], - "title": "Average Object per Sprig", - "type": "timeseries" + "editorMode": "code", + "expr": "avg by (ns) (\n (aerospike_namespace_master_objects {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} / 4096) \n / \n (aerospike_namespace_partition_tree_sprigs{job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"}!=0)\n)", + "legendFormat": "{{ns}}", + "range": true, + "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "Represents how much used memory is consumed against the High Water Memory configured, the lower it is the better,\nNOTE: no data will be shown if High Water Pct is not configured.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 7, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 3, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "max": 100, - "noValue": "Not configured", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" + "editorMode": "code", + "expr": "vector(2)", + "hide": false, + "legendFormat": "Threshold (2)", + "range": true, + "refId": "B" + } + ], + "title": "Average Object per Sprig", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "Represents how much used memory is consumed against the High Water Memory configured, the lower it is the better,\nNOTE: no data will be shown if High Water Pct is not configured.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 7, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 60, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "(((aerospike_namespace_index_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})\n/ on ( job, clusrer_name, service, ns)\naerospike_namespace_index_type_mounts_high_water_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} !=0)*100\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}}", - "range": true, - "refId": "6_memory_by_high_water_pct" + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "(((aerospike_namespace_index_mounts_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})\n/ on ( job, clusrer_name, service, ns)\naerospike_namespace_index_type_evict_mounts_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} !=0)*100\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}}", - "range": true, - "refId": "7_data_by_evict_mount_pct" + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } + }, + "mappings": [], + "max": 100, + "noValue": "Not configured", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 10 + }, + "id": 17, + "options": { + "legend": { + "calcs": [ + "last", + "mean", + "max" ], - "title": "Used Data Pct vs High Water Mark Pct ", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 7, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 3, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" + "editorMode": "code", + "expr": "(((aerospike_namespace_index_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})\n/ on ( job, clusrer_name, service, ns)\naerospike_namespace_index_type_mounts_high_water_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} !=0)*100\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}}", + "range": true, + "refId": "C" + } + ], + "title": "Used Memory Pct vs High Water Mark Pct", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 7, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 23 - }, - "id": 62, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_namespace_index_flash_alloc_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} : Allocated", - "range": true, - "refId": "alloc_pct" + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_namespace_index_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} - Used", - "range": true, - "refId": "6_index_flash_used_pct" + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_namespace_index_mounts_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} - Used", - "range": true, - "refId": "7_index_mounts_used_pct" + "thresholdsStyle": { + "mode": "off" } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 15 + }, + "id": 21, + "options": { + "legend": { + "calcs": [ + "last", + "mean", + "max" ], - "title": "% Index - Alloc, Used ", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_flash_alloc_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} : Allocated", + "range": true, + "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 7, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 3, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bytes" + "editorMode": "code", + "expr": "aerospike_namespace_index_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} - Used", + "range": true, + "refId": "A" + } + ], + "title": "% Index - Alloc, Used", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 7, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 23 - }, - "id": 64, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_namespace_index_flash_alloc_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} : Allocated", - "range": true, - "refId": "alloc_bytes" + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_namespace_index_flash_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} - Used", - "range": true, - "refId": "6_index_flash_used_bytes" + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_namespace_index_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}} - Used", - "range": true, - "refId": "7_index_mounts_used_bytes" + "thresholdsStyle": { + "mode": "off" } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 15 + }, + "id": 23, + "options": { + "legend": { + "calcs": [ + "last", + "mean", + "max" ], - "title": "Bytes - Alloc, Used", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_flash_alloc_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} : Allocated", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "aerospike_namespace_index_flash_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "hide": false, + "interval": "", + "legendFormat": "{{service}}:{{ns}} - Used", + "range": true, + "refId": "A" } ], - "title": "Resources - Primary Index - $namespace", - "type": "row" + "title": "Bytes - Alloc, Used", + "type": "timeseries" }, { "collapsed": true, @@ -1293,7 +1192,7 @@ "h": 1, "w": 24, "x": 0, - "y": 10 + "y": 20 }, "id": 50, "panels": [ @@ -1348,8 +1247,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1361,16 +1259,15 @@ "h": 5, "w": 12, "x": 0, - "y": 19 + "y": 11 }, - "id": 66, + "id": 52, "options": { "legend": { "calcs": [ "last", - "min", - "max", - "mean" + "mean", + "max" ], "displayMode": "table", "placement": "right", @@ -1393,23 +1290,10 @@ "interval": "", "legendFormat": "{{service}}:{{ns}}", "range": true, - "refId": "6_flash_used_pct_by_mount_high_water_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "(((aerospike_namespace_sindex_mounts_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"})\n/ on (job, cluster, service, ns) \naerospike_namespace_index_type_evict_mounts_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"} !=0)*100\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}}:{{ns}}", - "range": true, - "refId": "7_mount_pct_by_evict_mounts_pct" + "refId": "C" } ], - "title": "Used Data Pct vs High Water Mark Pct", + "title": "Used Memory Pct vs High Water Mark Pct", "type": "timeseries" }, { @@ -1461,8 +1345,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1474,16 +1357,15 @@ "h": 5, "w": 12, "x": 12, - "y": 19 + "y": 11 }, - "id": 68, + "id": 53, "options": { "legend": { "calcs": [ "last", - "min", - "max", - "mean" + "mean", + "max" ], "displayMode": "table", "placement": "right", @@ -1501,12 +1383,12 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "aerospike_namespace_sindex_flash_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "expr": "aerospike_namespace_sindex_flash_alloc_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", "hide": false, "interval": "", - "legendFormat": "{{service}}:{{ns}} - Used", + "legendFormat": "{{service}}:{{ns}} : Allocated", "range": true, - "refId": "6_sindex_flash_used_bytes" + "refId": "B" }, { "datasource": { @@ -1514,15 +1396,15 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "aerospike_namespace_sindex_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "expr": "aerospike_namespace_sindex_flash_used_bytes{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", "hide": false, "interval": "", "legendFormat": "{{service}}:{{ns}} - Used", "range": true, - "refId": "7_sindex_mounts_used_bytes" + "refId": "A" } ], - "title": "Bytes - Used ", + "title": "Bytes - Alloc, Used", "type": "timeseries" }, { @@ -1574,8 +1456,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1587,16 +1468,15 @@ "h": 5, "w": 12, "x": 0, - "y": 24 + "y": 16 }, - "id": 70, + "id": 54, "options": { "legend": { "calcs": [ "last", - "min", - "max", - "mean" + "mean", + "max" ], "displayMode": "table", "placement": "right", @@ -1614,12 +1494,12 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "aerospike_namespace_sindex_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "expr": "aerospike_namespace_sindex_flash_alloc_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", "hide": false, "interval": "", - "legendFormat": "{{service}}:{{ns}} - Used", + "legendFormat": "{{service}}:{{ns}} : Allocated", "range": true, - "refId": "6_sindex_flash_used_pct" + "refId": "B" }, { "datasource": { @@ -1627,15 +1507,15 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "aerospike_namespace_sindex_mounts_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", + "expr": "aerospike_namespace_sindex_flash_used_pct{job=\"$job_name\", cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}", "hide": false, "interval": "", "legendFormat": "{{service}}:{{ns}} - Used", "range": true, - "refId": "7_sindex_mounts_used_pct" + "refId": "A" } ], - "title": "% SIndex - Used ", + "title": "% SIndex - Alloc, Used", "type": "timeseries" } ], @@ -1648,7 +1528,7 @@ "h": 1, "w": 24, "x": 0, - "y": 11 + "y": 21 }, "id": 44, "panels": [ @@ -1697,8 +1577,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1713,17 +1592,12 @@ "h": 5, "w": 12, "x": 0, - "y": 20 + "y": 12 }, - "id": 72, + "id": 31, "options": { "legend": { - "calcs": [ - "lastNotNull", - "min", - "max", - "mean" - ], + "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true @@ -1740,8 +1614,8 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "legendFormat": "{{service}}:{{ns}} - Device Used", + "expr": "topk($topk_limit, aerospike_namespace_device_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "legendFormat": "{{service}}:{{ns}} - Device Free", "range": true, "refId": "device_free" }, @@ -1751,7 +1625,7 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_device_available_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", + "expr": "topk($topk_limit,aerospike_namespace_device_available_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", "hide": false, "legendFormat": "{{service}}:{{ns}} - Device Available", "range": true, @@ -1763,9 +1637,9 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit,100 - aerospike_namespace_pmem_free_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", + "expr": "topk($topk_limit,aerospike_namespace_pmem_free_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", "hide": false, - "legendFormat": "{{service}}:{{ns}} - Pmem Used", + "legendFormat": "{{service}}:{{ns}} - Pmem Free", "range": true, "refId": "pmem_free" }, @@ -1775,38 +1649,14 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", + "expr": "topk($topk_limit,aerospike_namespace_pmem_available_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", "hide": false, - "legendFormat": "{{service}}:{{ns}} - Pmem Available", + "legendFormat": "{{service}}:{{ns}} - Device Available", "range": true, "refId": "pmem_available" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_used_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"})", - "hide": false, - "legendFormat": "{{service}}:{{ns}} - Data Used", - "range": true, - "refId": "7.0_data_used" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct {job=\"$job_name\", cluster_name=~\"$cluster\", service=~\"$node|$^\",ns=~\"$namespace|$^\"} )", - "hide": false, - "legendFormat": "{{service}}:{{ns}} - Data Available", - "range": true, - "refId": "7.0_data_available" } ], - "title": "% Data - Used, Available ", + "title": "% Device & PMem - Free, Available", "type": "timeseries" }, { @@ -1855,8 +1705,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1872,16 +1721,15 @@ "h": 5, "w": 12, "x": 12, - "y": 20 + "y": 12 }, - "id": 74, + "id": 19, "options": { "legend": { "calcs": [ "last", - "min", - "max", - "mean" + "mean", + "max" ], "displayMode": "table", "placement": "right", @@ -1957,8 +1805,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1974,17 +1821,12 @@ "h": 5, "w": 12, "x": 0, - "y": 25 + "y": 17 }, - "id": 76, + "id": 37, "options": { "legend": { - "calcs": [ - "lastNotNull", - "min", - "max", - "mean" - ], + "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true @@ -2092,8 +1934,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2109,17 +1950,12 @@ "h": 5, "w": 12, "x": 12, - "y": 25 + "y": 17 }, - "id": 78, + "id": 29, "options": { "legend": { - "calcs": [ - "lastNotNull", - "min", - "max", - "mean" - ], + "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true @@ -2192,8 +2028,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2209,14 +2044,13 @@ "h": 5, "w": 12, "x": 0, - "y": 30 + "y": 22 }, - "id": 80, + "id": 39, "options": { "legend": { "calcs": [ "last", - "min", "max", "mean" ], @@ -2256,7 +2090,7 @@ "h": 1, "w": 24, "x": 0, - "y": 12 + "y": 22 }, "id": 42, "panels": [ @@ -2305,8 +2139,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2321,17 +2154,12 @@ "h": 5, "w": 12, "x": 0, - "y": 21 + "y": 13 }, "id": 36, "options": { "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], + "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true @@ -2403,8 +2231,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2419,17 +2246,12 @@ "h": 5, "w": 12, "x": 12, - "y": 21 + "y": 13 }, "id": 56, "options": { "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], + "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true @@ -2513,8 +2335,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2529,17 +2350,12 @@ "h": 5, "w": 12, "x": 0, - "y": 26 + "y": 18 }, "id": 34, "options": { "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], + "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true @@ -2613,8 +2429,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2629,17 +2444,12 @@ "h": 5, "w": 12, "x": 12, - "y": 26 + "y": 18 }, "id": 38, "options": { "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], + "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true @@ -2938,6 +2748,6 @@ "timezone": "", "title": "All Flash", "uid": "LkfaTGC4z", - "version": 9, + "version": 2, "weekStart": "" } \ No newline at end of file From 2fe5357ccb8d2e5d3d9e0fa4f41f52f2653206d6 Mon Sep 17 00:00:00 2001 From: mphanias Date: Mon, 30 Oct 2023 16:57:33 +0530 Subject: [PATCH 6/8] OM135 1. fixed panel titles and order 2. fixed data-types 3. removed unnecessary query --- .../dashboards/usecases/rolling_restart.json | 49 ++++++------------- 1 file changed, 16 insertions(+), 33 deletions(-) diff --git a/config/grafana/dashboards/usecases/rolling_restart.json b/config/grafana/dashboards/usecases/rolling_restart.json index 984a994..fb05ae5 100644 --- a/config/grafana/dashboards/usecases/rolling_restart.json +++ b/config/grafana/dashboards/usecases/rolling_restart.json @@ -705,11 +705,12 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": " sum ((aerospike_namespace_unavailable_partitions{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}))", + "expr": " sum ((aerospike_namespace_dead_partitions{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}))", + "hide": false, "interval": "", - "legendFormat": "Unavailable", + "legendFormat": "Dead", "range": true, - "refId": "unavail_partitions" + "refId": "dead_partitions" }, { "datasource": { @@ -717,12 +718,11 @@ "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, "editorMode": "code", - "expr": " sum ((aerospike_namespace_dead_partitions{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}))", - "hide": false, + "expr": " sum ((aerospike_namespace_unavailable_partitions{cluster_name=\"$cluster\",service=~\"$node|$^\",ns=~\"$namespace|$^\"}))", "interval": "", - "legendFormat": "Dead", + "legendFormat": "Unavailable", "range": true, - "refId": "dead_partitions" + "refId": "unavail_partitions" } ], "title": "Partitions (total)", @@ -804,9 +804,7 @@ ], "displayMode": "table", "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true + "showLegend": true }, "tooltip": { "mode": "single", @@ -920,9 +918,7 @@ ], "displayMode": "table", "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true + "showLegend": true }, "tooltip": { "mode": "single", @@ -1371,9 +1367,7 @@ ], "displayMode": "table", "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": false + "showLegend": true }, "tooltip": { "mode": "single", @@ -4002,7 +3996,7 @@ "refId": "memory_use_by_size" } ], - "title": "% Memory used (vs Size) (topk) (deprecated", + "title": "% Memory used (vs Size) (topk) (deprecated)", "type": "timeseries" } ], @@ -4223,7 +4217,7 @@ } ] }, - "unit": "bytes" + "unit": "decbytes" }, "overrides": [] }, @@ -4789,7 +4783,8 @@ "value": 80 } ] - } + }, + "unit": "decbytes" }, "overrides": [] }, @@ -4920,21 +4915,9 @@ "legendFormat": "{{service}} - Meta Receive", "range": true, "refId": "meta_recv" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "aerospike_node_stats_fabric_bulk_send_rate ", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" } ], - "title": "Fabric Send & Receive Rates (total)", + "title": "Fabric Send & Receive Rates (bytes) (total)", "type": "timeseries" } ], @@ -5191,6 +5174,6 @@ "timezone": "", "title": "Rolling Restarts", "uid": "9p1Tc1uVz", - "version": 18, + "version": 3, "weekStart": "" } \ No newline at end of file From 7bd98c3ae73419fa30cfa7b28235e16c295cc7d8 Mon Sep 17 00:00:00 2001 From: mphanias Date: Thu, 2 Nov 2023 18:54:29 +0530 Subject: [PATCH 7/8] OM135 - review feedback added description included topk and bottok in data used vs total panel as per OM-114 --- .../dashboards/usecases/rolling_restart.json | 1503 +++++++++-------- 1 file changed, 761 insertions(+), 742 deletions(-) diff --git a/config/grafana/dashboards/usecases/rolling_restart.json b/config/grafana/dashboards/usecases/rolling_restart.json index fb05ae5..dc0d95a 100644 --- a/config/grafana/dashboards/usecases/rolling_restart.json +++ b/config/grafana/dashboards/usecases/rolling_restart.json @@ -59,6 +59,7 @@ } ] }, + "description": "A usecase dashboard, which can be used to monitor key server stat and health during a server activity, like 1. Restart, 2. Software upgrade, 3. Investigation etc., ", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, @@ -85,7 +86,7 @@ "showLineNumbers": false, "showMiniMap": false }, - "content": "#\n

\nKey metrics ( Metrics Reference ) which needs to be monitored during a server activity, like 1. Restart, 2. Software upgrade, 3. Investigation etc.,\nData is shown as stats, error and resources, resource utilization is displayed for the TopK major consumers at a service and namespace level\n

\n", + "content": "#\n

\nKey metrics ( Metrics Reference ) which needs to be monitored during a server activity, like 1. Restart, 2. Software upgrade, 3. Investigation etc.,\nData is shown as stats, error and resources, resource utilization is displayed for the TopK major consumers at a service and namespace level\n

\n", "mode": "markdown" }, "pluginVersion": "9.3.2", @@ -1337,8 +1338,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1620,8 +1620,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1902,8 +1901,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2313,8 +2311,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2455,8 +2452,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2672,8 +2668,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2890,8 +2885,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3002,8 +2996,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3101,8 +3094,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3201,8 +3193,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3304,8 +3295,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3417,8 +3407,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3530,8 +3519,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3615,7 +3603,7 @@ "type": "row" }, { - "collapsed": true, + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -3623,777 +3611,812 @@ "y": 29 }, "id": 88, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "panels": [], + "title": "Resources - Usage", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "Display both TopK and BottomK of resource utilization % by each node \n
\n(data_used_bytes/data_total_bytes)*100\n
", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 30 - }, - "id": 110, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "tooltip": { - "mode": "single", - "sort": "none" + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - device : {{ns}} - (pre 7x)", - "range": true, - "refId": "device_use_by_total" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} : {{ns}} ", - "range": true, - "refId": "7.0_data_use_by_size" - } + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 110, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" ], - "title": "% Data used (vs Size) (topk) ", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 30 + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - device : {{ns}} (pre 7.x ) (topk)", + "range": true, + "refId": "device_use_by_total_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "id": 112, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "editorMode": "code", + "expr": "bottomk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - device : {{ns}} (pre 7.x ) (bottomk)", + "range": true, + "refId": "device_use_by_total_bottomk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "pmem_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "pmem_avail_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "device_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "device_avail_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "7.0_data_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "7.0_data_avail_pct" - } - ], - "title": "% Data - used, available (topk) ", - "type": "timeseries" + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - {{storage_engine}} : {{ns}} (topk)", + "range": true, + "refId": "7.0_data_use_total_topk" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 36 + "editorMode": "code", + "expr": "bottomk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - {{storage_engine}} : {{ns}} (bottomk)", + "range": true, + "refId": "7.0_data_use_total_bottomk" + } + ], + "title": "% Data used (vs Size) (topk & bottomk) ", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "id": 90, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "single", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - {{ns}}", - "range": true, - "refId": "memory_use_by_size" - } - ], - "title": "% Memory used (vs Size) (topk) (deprecated)", - "type": "timeseries" - } - ], - "title": "Resources - Usage", - "type": "row" - }, - { - "collapsed": true, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, "gridPos": { - "h": 1, - "w": 24, + "h": 6, + "w": 12, "x": 0, - "y": 30 + "y": 36 }, - "id": 79, - "panels": [ + "id": 90, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 31 + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "{{service}} - {{ns}}", + "range": true, + "refId": "memory_use_by_size" + } + ], + "title": "% Memory used (vs Size) (topk) (deprecated)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "id": 10, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "single", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "exemplar": false, - "expr": "topk($topk_limit,\nsum by (service) (aerospike_node_stats_process_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - Process", - "range": true, - "refId": "process_cpu" + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 36 + }, + "id": 112, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "pmem_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "pmem_avail_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "device_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "device_avail_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Used : {{ns}}", + "range": true, + "refId": "7.0_data_free_pct" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "{{service}} - Available : {{ns}}", + "range": true, + "refId": "7.0_data_avail_pct" + } + ], + "title": "% Data - used, available (topk) ", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 42 + }, + "id": 79, + "panels": [], + "title": "Resources - OS ", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk ($topk_limit,\nsum by (service) (aerospike_node_stats_system_total_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - Total", - "range": true, - "refId": "sys_total_cpu" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk($topk_limit,\nsum by (service) ( aerospike_node_stats_system_user_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - User", - "range": true, - "refId": "sys_user_cpu" + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk($topk_limit,\nsum by (service) ( aerospike_node_stats_system_kernel_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) )", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - Kernel", - "range": true, - "refId": "sys_kernel_cpu" + "thresholdsStyle": { + "mode": "off" } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 43 + }, + "id": 10, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" ], - "title": "% CPU - Process, Total, User, Kernel", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.2", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] + "editorMode": "code", + "exemplar": false, + "expr": "topk($topk_limit,\nsum by (service) (aerospike_node_stats_process_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - Process", + "range": true, + "refId": "process_cpu" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 31 + "editorMode": "code", + "exemplar": false, + "expr": "topk ($topk_limit,\nsum by (service) (aerospike_node_stats_system_total_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - Total", + "range": true, + "refId": "sys_total_cpu" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "id": 95, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "editorMode": "code", + "exemplar": false, + "expr": "topk($topk_limit,\nsum by (service) ( aerospike_node_stats_system_user_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - User", + "range": true, + "refId": "sys_user_cpu" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_allocated_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Allocated", - "range": true, - "refId": "heap_alloc_kbytes" + "editorMode": "code", + "exemplar": false, + "expr": "topk($topk_limit,\nsum by (service) ( aerospike_node_stats_system_kernel_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) )", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - Kernel", + "range": true, + "refId": "sys_kernel_cpu" + } + ], + "title": "% CPU - Process, Total, User, Kernel", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_active_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Active", - "range": true, - "refId": "heap_active_kbytes" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_mapped_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Mapped", - "range": true, - "refId": "heap_mapped_kbytes" + "thresholdsStyle": { + "mode": "off" } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 43 + }, + "id": 95, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" ], - "title": "Heap - allocated, active (topk) (total)", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.2", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_allocated_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Allocated", + "range": true, + "refId": "heap_alloc_kbytes" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 37 + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_active_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Active", + "range": true, + "refId": "heap_active_kbytes" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "id": 86, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_mapped_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Mapped", + "range": true, + "refId": "heap_mapped_kbytes" + } + ], + "title": "Heap - allocated, active (topk) (total)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "single", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "interval": "", - "legendFormat": "{{service}} - Free", - "range": true, - "refId": "sys_free_mem" - } + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 49 + }, + "id": 86, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" ], - "title": "% Free System memory (topk) (total)", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "interval": "", + "legendFormat": "{{service}} - Free (topk)", + "range": true, + "refId": "sys_free_mem_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Free (bottomk)", + "range": true, + "refId": "sys_free_mem_bottomk" } ], - "title": "Resources - OS ", - "type": "row" + "title": "% Free System memory (topk & bottomk ) (total)", + "type": "timeseries" }, { "collapsed": true, @@ -4401,7 +4424,7 @@ "h": 1, "w": 24, "x": 0, - "y": 31 + "y": 55 }, "id": 32, "panels": [ @@ -4451,8 +4474,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4555,8 +4577,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4671,8 +4692,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4775,8 +4795,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -5147,20 +5166,20 @@ { "current": { "selected": false, - "text": "15", - "value": "15" + "text": "10", + "value": "10" }, "hide": 0, - "label": "Top-K", + "label": "Top/Bottom K", "name": "topk_limit", "options": [ { "selected": true, - "text": "15", - "value": "15" + "text": "10", + "value": "10" } ], - "query": "15", + "query": "10", "skipUrlSync": false, "type": "textbox" } From b9b65c151d754f83b1099847c70c987a52f78d99 Mon Sep 17 00:00:00 2001 From: mphanias Date: Fri, 3 Nov 2023 19:59:32 +0530 Subject: [PATCH 8/8] OM135 - review feedback added bottomk in memory and data free,used/available panels also updated labels to represent 5x/6x and 7x server versions added descriptions in few panels --- .../dashboards/usecases/rolling_restart.json | 1550 +++++++++-------- 1 file changed, 817 insertions(+), 733 deletions(-) diff --git a/config/grafana/dashboards/usecases/rolling_restart.json b/config/grafana/dashboards/usecases/rolling_restart.json index dc0d95a..ae65002 100644 --- a/config/grafana/dashboards/usecases/rolling_restart.json +++ b/config/grafana/dashboards/usecases/rolling_restart.json @@ -3603,7 +3603,7 @@ "type": "row" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, @@ -3611,812 +3611,896 @@ "y": 29 }, "id": 88, - "panels": [], - "title": "Resources - Usage", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "Display both TopK and BottomK of resource utilization % by each node \n
\n(data_used_bytes/data_total_bytes)*100\n
", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "Display both TopK and BottomK of resource utilization % by each node and namespace\n
\n(data_used_bytes/data_total_bytes)*100\n
", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 110, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 30 - }, - "id": 110, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", + "hide": false, + "legendFormat": "(topk) {{service}} - device : {{ns}} (pre 7.x ) ", + "range": true, + "refId": "device_use_by_total_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", + "hide": false, + "legendFormat": "(bottomk) {{service}} - device : {{ns}} (pre 7.x ) ", + "range": true, + "refId": "device_use_by_total_bottomk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "(topk) {{service}} - {{storage_engine}} : {{ns}}", + "range": true, + "refId": "7.0_data_use_total_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "(bottomk) {{service}} - {{storage_engine}} : {{ns}}", + "range": true, + "refId": "7.0_data_use_total_bottomk" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "% Data used (vs Size) (topk & bottomk) ", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - device : {{ns}} (pre 7.x ) (topk)", - "range": true, - "refId": "device_use_by_total_topk" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "Display both TopK and BottomK of memory utilization % by each node and namespace\n
\n(memory_used_bytes/memory_size)*100\n
", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] }, - "editorMode": "code", - "expr": "bottomk($topk_limit, \n (aerospike_namespace_device_used_bytes{cluster_name=\"$cluster\"}\n /aerospike_namespace_device_total_bytes{cluster_name=\"$cluster\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - device : {{ns}} (pre 7.x ) (bottomk)", - "range": true, - "refId": "device_use_by_total_bottomk" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 36 }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - {{storage_engine}} : {{ns}} (topk)", - "range": true, - "refId": "7.0_data_use_total_topk" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "bottomk($topk_limit, \n (aerospike_namespace_data_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_data_total_bytes{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - {{storage_engine}} : {{ns}} (bottomk)", - "range": true, - "refId": "7.0_data_use_total_bottomk" - } - ], - "title": "% Data used (vs Size) (topk & bottomk) ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 90, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 36 - }, - "id": 90, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" + "editorMode": "code", + "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": "(topk) {{service}} - {{ns}} ", + "range": true, + "refId": "memory_use_by_size_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", + "hide": false, + "legendFormat": " (bottomk) {{service}} - {{ns}}", + "range": true, + "refId": "memory_use_by_size_bottomk" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "% Memory used (vs Size) (topk & bottomk) (deprecated)", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "topk($topk_limit, \n (aerospike_namespace_memory_used_bytes{cluster_name=\"$cluster\" ,service=~\"$node|$^\",ns=~\"$namespace|$^\"}\n /aerospike_namespace_memory_size{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"}\n )*100\n)", - "hide": false, - "legendFormat": "{{service}} - {{ns}}", - "range": true, - "refId": "memory_use_by_size" - } - ], - "title": "% Memory used (vs Size) (topk) (deprecated)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "Display TopK and BottomK of device, pmem or storage resource utilization across each node and namespace", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 36 + }, + "id": 112, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 36 - }, - "id": 112, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" + "editorMode": "code", + "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "interval": "", + "legendFormat": "(topk) {{service}}/{{ns}} : Used", + "range": true, + "refId": "pmem_free_pct_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "hide": false, + "interval": "", + "legendFormat": "(bottomk) {{service}}/{{ns}} : Used", + "range": true, + "refId": "pmem_free_pct_bottomk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "hide": false, + "interval": "", + "legendFormat": "(topk) {{service}}/{{ns}} : Available ", + "range": true, + "refId": "pmem_avail_pct_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", + "hide": false, + "interval": "", + "legendFormat": "(bottomk) {{service}}/{{ns}} : Available ", + "range": true, + "refId": "pmem_avail_pct_bottomk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "(topk) {{service}}/{{ns}} : Used", + "range": true, + "refId": "device_free_pct_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "(bottomk) {{service}}/{{ns}} : Used", + "range": true, + "refId": "device_free_pct_bottomk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "(topk) {{service}}/{{ns}} : Available", + "range": true, + "refId": "device_avail_pct_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "(bottomk) {{service}}/{{ns}} : Available", + "range": true, + "refId": "device_avail_pct_bottomk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "(topk) {{service}}/{{ns}} : Used", + "range": true, + "refId": "7.0_data_free_pct_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "interval": "", + "legendFormat": "(bottomk) {{service}}/{{ns}} : Used", + "range": true, + "refId": "7.0_data_free_pct_bottomk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "(topk) {{service}}/{{ns}} : Available", + "range": true, + "refId": "7.0_data_avail_pct_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "bottomk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", + "hide": false, + "legendFormat": "(bottomk) {{service}}/{{ns}} : Available", + "range": true, + "refId": "7.0_data_avail_pct_bottomk" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_pmem_free_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "pmem_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_pmem_available_pct{cluster_name=\"$cluster\", service=~\"$node|$^\", ns=~\"$namespace|$^\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "pmem_avail_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, 100 - aerospike_namespace_device_free_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "device_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_device_available_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "device_avail_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_used_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Used : {{ns}}", - "range": true, - "refId": "7.0_data_free_pct" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, aerospike_namespace_data_avail_pct{cluster_name=\"$cluster\"} )", - "hide": false, - "legendFormat": "{{service}} - Available : {{ns}}", - "range": true, - "refId": "7.0_data_avail_pct" + "title": "% Data - used, available (topk) ", + "type": "timeseries" } ], - "title": "% Data - used, available (topk) ", - "type": "timeseries" + "title": "Resources - Usage", + "type": "row" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 42 + "y": 30 }, "id": 79, - "panels": [], - "title": "Resources - OS ", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 31 + }, + "id": 10, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "topk($topk_limit,\nsum by (service) (aerospike_node_stats_process_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - Process", + "range": true, + "refId": "process_cpu" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "topk ($topk_limit,\nsum by (service) (aerospike_node_stats_system_total_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - Total", + "range": true, + "refId": "sys_total_cpu" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 43 - }, - "id": 10, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" + "editorMode": "code", + "exemplar": false, + "expr": "topk($topk_limit,\nsum by (service) ( aerospike_node_stats_system_user_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - User", + "range": true, + "refId": "sys_user_cpu" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "topk($topk_limit,\nsum by (service) ( aerospike_node_stats_system_kernel_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) )", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{service}} - Kernel", + "range": true, + "refId": "sys_kernel_cpu" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk($topk_limit,\nsum by (service) (aerospike_node_stats_process_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - Process", - "range": true, - "refId": "process_cpu" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk ($topk_limit,\nsum by (service) (aerospike_node_stats_system_total_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - Total", - "range": true, - "refId": "sys_total_cpu" + "title": "% CPU - Process, Total, User, Kernel", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "exemplar": false, - "expr": "topk($topk_limit,\nsum by (service) ( aerospike_node_stats_system_user_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) \n)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - User", - "range": true, - "refId": "sys_user_cpu" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] }, - "editorMode": "code", - "exemplar": false, - "expr": "topk($topk_limit,\nsum by (service) ( aerospike_node_stats_system_kernel_cpu_pct{cluster_name=\"$cluster\",service=~\"$node|$^\"}) )", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{service}} - Kernel", - "range": true, - "refId": "sys_kernel_cpu" - } - ], - "title": "% CPU - Process, Total, User, Kernel", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 31 }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 95, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_allocated_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Allocated", + "range": true, + "refId": "heap_alloc_kbytes" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_active_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Active", + "range": true, + "refId": "heap_active_kbytes" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 43 - }, - "id": 95, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_mapped_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Mapped", + "range": true, + "refId": "heap_mapped_kbytes" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_allocated_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Allocated", - "range": true, - "refId": "heap_alloc_kbytes" + "title": "Heap - allocated, active (topk) (total)", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_active_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Active", - "range": true, - "refId": "heap_active_kbytes" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_heap_mapped_kbytes{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Mapped", - "range": true, - "refId": "heap_mapped_kbytes" - } - ], - "title": "Heap - allocated, active (topk) (total)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 37 }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 86, + "options": { + "legend": { + "calcs": [ + "last", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 49 - }, - "id": 86, - "options": { - "legend": { - "calcs": [ - "last", - "min", - "max", - "mean" + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "interval": "", + "legendFormat": "{{service}} - Free (topk)", + "range": true, + "refId": "sys_free_mem_topk" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_AEROSPIKE_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", + "hide": false, + "interval": "", + "legendFormat": "{{service}} - Free (bottomk)", + "range": true, + "refId": "sys_free_mem_bottomk" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "interval": "", - "legendFormat": "{{service}} - Free (topk)", - "range": true, - "refId": "sys_free_mem_topk" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_AEROSPIKE_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "topk($topk_limit, \nsum by (service) (\n aerospike_node_stats_system_free_mem_pct{cluster_name=~\"$cluster\", service=~\"$node|$^\"})\n)", - "hide": false, - "interval": "", - "legendFormat": "{{service}} - Free (bottomk)", - "range": true, - "refId": "sys_free_mem_bottomk" + "title": "% Free System memory (topk & bottomk ) (total)", + "type": "timeseries" } ], - "title": "% Free System memory (topk & bottomk ) (total)", - "type": "timeseries" + "title": "Resources - OS ", + "type": "row" }, { "collapsed": true, @@ -4424,7 +4508,7 @@ "h": 1, "w": 24, "x": 0, - "y": 55 + "y": 31 }, "id": 32, "panels": [ @@ -5193,6 +5277,6 @@ "timezone": "", "title": "Rolling Restarts", "uid": "9p1Tc1uVz", - "version": 3, + "version": 2, "weekStart": "" } \ No newline at end of file