From 85d3c3e115fc9facefa65d5927ddda5952cef19e Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 9 May 2026 19:19:10 -0500 Subject: [PATCH] fix: update datasource --- dashboards/platform/openbao.json | 1441 ++++++++++++++++++++++-------- 1 file changed, 1046 insertions(+), 395 deletions(-) diff --git a/dashboards/platform/openbao.json b/dashboards/platform/openbao.json index 28151e3..c3411eb 100644 --- a/dashboards/platform/openbao.json +++ b/dashboards/platform/openbao.json @@ -3,9 +3,6 @@ "list": [ { "builtIn": 1, - "datasource": { - "uid": "${DS_PROMXY}" - }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -19,7 +16,8 @@ "panels": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { @@ -50,8 +48,7 @@ ] }, "unit": "Misc" - }, - "overrides": [] + } }, "gridPos": { "h": 4, @@ -78,11 +75,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "up{job=\"openbao-active\"}", "format": "time_series", @@ -96,21 +94,14 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": { - "align": "auto", - "cellOptions": { - "type": "auto" - }, - "footer": { - "reducers": [] - }, - "inspect": false + "color": { + "mode": "palette-classic" }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ @@ -124,21 +115,7 @@ } ] } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Mount Path" - }, - "properties": [ - { - "id": "custom.width", - "value": 166 - } - ] - } - ] + } }, "gridPos": { "h": 8, @@ -146,71 +123,48 @@ "x": 9, "y": 0 }, - "id": 59, - "maxDataPoints": 100, + "id": 105, "options": { - "cellHeight": "sm", - "showHeader": true, - "sortBy": [ - { - "desc": true, - "displayName": "Number of Entries" - } - ] + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, - "expr": "sum by (exported_namespace,mount_point) (${metrics_prefix}_secret_kv_count)", - "format": "table", - "instant": true, - "interval": "", - "legendFormat": "{{ mount_point }}", + "editorMode": "code", + "expr": "${metrics_prefix}_secret_kv_count", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], "title": "Secrets", - "transformations": [ - { - "id": "seriesToColumns", - "options": { - "byField": "mount_point" - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "__name__": true, - "cluster": true, - "env": true, - "instance": true, - "job": true, - "namespace": true, - "project": true - }, - "indexByName": {}, - "renameByName": { - "Value": "Number of Entries", - "exported_namespace": "Namespace", - "mount_point": "Mount Path" - } - } - } - ], - "type": "table" + "type": "stat" }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ @@ -220,8 +174,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 4, @@ -247,11 +200,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(${metrics_prefix}_identity_num_entities)", "interval": "", @@ -264,7 +218,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { @@ -279,10 +234,8 @@ } }, "decimals": 0, - "mappings": [], "unit": "short" - }, - "overrides": [] + } }, "gridPos": { "h": 8, @@ -317,11 +270,12 @@ "sort": "none" } }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg without(instance) (${metrics_prefix}_identity_entity_alias_count)", "format": "time_series", @@ -335,7 +289,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { @@ -370,8 +325,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 4, @@ -397,11 +351,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "max(1 + ${metrics_prefix}_core_unsealed{})", "format": "time_series", @@ -415,11 +370,11 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ @@ -441,8 +396,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 4, @@ -468,11 +422,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(${metrics_prefix}_expire_num_leases)", "interval": "", @@ -484,169 +439,307 @@ "type": "stat" }, { - "collapsed": true, + "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 8 }, - "id": 74, - "panels": [ - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 24, - "options": { - "dataLinks": [] - }, - "targets": [ - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(increase(${metrics_prefix}_route_create_${mountpoint}__count[5m]))", - "format": "time_series", - "interval": "5m", - "legendFormat": "Create", - "refId": "A" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(increase(${metrics_prefix}_route_delete_${mountpoint}__count[5m]))", - "interval": "5m", - "legendFormat": "Delete", - "refId": "B" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(increase(${metrics_prefix}_route_read_${mountpoint}__count[5m]))", - "format": "time_series", - "instant": false, - "interval": "5m", - "intervalFactor": 1, - "legendFormat": "Read", - "refId": "C" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(increase(${metrics_prefix}_route_list_${mountpoint}__count[5m]))", - "format": "time_series", - "interval": "5m", - "legendFormat": "List", - "refId": "D" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(increase(${metrics_prefix}_route_rollback_${mountpoint}__count[5m]))", - "hide": true, - "interval": "5m", - "legendFormat": "Rollback", - "refId": "E" - } - ], - "title": "Number of Operations in \"$mountpoint\"", - "type": "timeseries" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 35, - "options": { - "dataLinks": [] - }, - "targets": [ - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(rate(${metrics_prefix}_route_create_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_create_${mountpoint}__count[1m]) * 1000)", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Create", - "refId": "A" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(rate(${metrics_prefix}_route_delete_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_delete_${mountpoint}__count[1m]) * 1000)", - "interval": "", - "legendFormat": "Delete", - "refId": "B" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(rate(${metrics_prefix}_route_read_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_read_${mountpoint}__count[1m]) * 1000)", - "interval": "", - "legendFormat": "Read", - "refId": "C" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(rate(${metrics_prefix}_route_list_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_list_${mountpoint}__count[1m]) * 1000)", - "interval": "", - "legendFormat": "List", - "refId": "D" - }, - { - "datasource": { - "uid": "${DS_PROMXY}" - }, - "expr": "avg(rate(${metrics_prefix}_route_rollback_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_rollback_${mountpoint}__count[1m]) * 1000)", - "hide": true, - "interval": "", - "legendFormat": "Rollback", - "refId": "E" - } - ], - "title": "Time of Operations in \"$mountpoint\"", - "type": "timeseries" - } - ], + "id": 106, "repeat": "mountpoint", "title": "Path Info: $mountpoint", "type": "row" }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 9 + }, + "id": 24, + "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "13.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(increase(${metrics_prefix}_route_create_${mountpoint}__count[5m]))", + "format": "time_series", + "interval": "5m", + "legendFormat": "Create", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(increase(${metrics_prefix}_route_delete_${mountpoint}__count[5m]))", + "interval": "5m", + "legendFormat": "Delete", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(increase(${metrics_prefix}_route_read_${mountpoint}__count[5m]))", + "format": "time_series", + "instant": false, + "interval": "5m", + "intervalFactor": 1, + "legendFormat": "Read", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(increase(${metrics_prefix}_route_list_${mountpoint}__count[5m]))", + "format": "time_series", + "interval": "5m", + "legendFormat": "List", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(increase(${metrics_prefix}_route_rollback_${mountpoint}__count[5m]))", + "hide": true, + "interval": "5m", + "legendFormat": "Rollback", + "refId": "E" + } + ], + "title": "Number of Operations in \"$mountpoint\"", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 9 + }, + "id": 35, + "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "13.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(rate(${metrics_prefix}_route_create_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_create_${mountpoint}__count[1m]) * 1000)", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "Create", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(rate(${metrics_prefix}_route_delete_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_delete_${mountpoint}__count[1m]) * 1000)", + "interval": "", + "legendFormat": "Delete", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(rate(${metrics_prefix}_route_read_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_read_${mountpoint}__count[1m]) * 1000)", + "interval": "", + "legendFormat": "Read", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(rate(${metrics_prefix}_route_list_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_list_${mountpoint}__count[1m]) * 1000)", + "interval": "", + "legendFormat": "List", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, + "expr": "avg(rate(${metrics_prefix}_route_rollback_${mountpoint}__sum[1m]) / rate(${metrics_prefix}_route_rollback_${mountpoint}__count[1m]) * 1000)", + "hide": true, + "interval": "", + "legendFormat": "Rollback", + "refId": "E" + } + ], + "title": "Time of Operations in \"$mountpoint\"", + "type": "timeseries" + }, { "collapsed": false, "gridPos": { @@ -655,18 +748,17 @@ "x": 0, "y": 18 }, - "id": 45, - "panels": [], + "id": 107, "title": "CPU/Mem Info: $node", "type": "row" }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "mappings": [], "noValue": "N/A", "thresholds": { "mode": "absolute", @@ -681,8 +773,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 5, @@ -708,11 +799,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(${metrics_prefix}_runtime_heap_objects{} / ${metrics_prefix}_runtime_malloc_count{})", "interval": "", @@ -726,11 +818,11 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "mappings": [], "noValue": "N/A", "thresholds": { "mode": "absolute", @@ -753,8 +845,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 5, @@ -780,11 +871,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(${metrics_prefix}_runtime_num_goroutines{})", "interval": "", @@ -797,7 +889,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { @@ -814,14 +907,14 @@ "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, - "gradientMode": "none", + "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -829,7 +922,7 @@ }, "showPoints": "never", "showValues": false, - "spanNulls": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -838,7 +931,6 @@ "mode": "off" } }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ @@ -853,8 +945,7 @@ ] }, "unit": "decbytes" - }, - "overrides": [] + } }, "gridPos": { "h": 5, @@ -864,6 +955,10 @@ }, "id": 43, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "dataLinks": [], "legend": { "calcs": [ @@ -882,11 +977,12 @@ "sort": "none" } }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(${metrics_prefix}_runtime_alloc_bytes{})", "interval": "", @@ -906,18 +1002,17 @@ "x": 0, "y": 24 }, - "id": 16, - "panels": [], + "id": 108, "title": "Token", "type": "row" }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "mappings": [], "noValue": "N/A", "thresholds": { "mode": "absolute", @@ -928,8 +1023,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 4, @@ -955,11 +1049,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(${metrics_prefix}_token_count)", "interval": "", @@ -972,14 +1067,14 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ @@ -993,8 +1088,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 8, @@ -1031,11 +1125,12 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg without(instance) (${metrics_prefix}_token_count_by_policy)", "interval": "", @@ -1048,11 +1143,11 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", @@ -1072,8 +1167,7 @@ ] }, "unit": "none" - }, - "overrides": [] + } }, "gridPos": { "h": 4, @@ -1105,11 +1199,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.4.2", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(${metrics_prefix}_token_create_count - ${metrics_prefix}_token_store_count)", "format": "time_series", @@ -1124,13 +1219,25 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {} - }, - "overrides": [] + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } }, "gridPos": { "h": 8, @@ -1140,12 +1247,36 @@ }, "id": 102, "options": { - "dataLinks": [] + "dataLinks": [], + "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg without(instance) (${metrics_prefix}_token_count_by_ttl)", "format": "time_series", @@ -1159,13 +1290,25 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {} - }, - "overrides": [] + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } }, "gridPos": { "h": 8, @@ -1175,12 +1318,36 @@ }, "id": 100, "options": { - "dataLinks": [] + "dataLinks": [], + "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg without(instance) (${metrics_prefix}_token_count_by_auth)", "interval": "", @@ -1193,17 +1360,54 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {}, - "mappings": [], + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -1211,8 +1415,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 6, @@ -1223,13 +1426,29 @@ "id": 65, "maxDataPoints": 100, "options": { - "dataLinks": [] + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } }, - "pluginVersion": "7.0.3", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg by(auth_method, creation_ttl) (${metrics_prefix}_token_creation)", "format": "time_series", @@ -1245,13 +1464,62 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {} - }, - "overrides": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } }, "gridPos": { "h": 6, @@ -1261,12 +1529,29 @@ }, "id": 6, "options": { - "dataLinks": [] + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg without(instance) (${metrics_prefix}_token_create_count)", "format": "time_series", @@ -1278,7 +1563,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg without(instance) (${metrics_prefix}_token_store_count)", "format": "time_series", @@ -1294,13 +1580,62 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {} - }, - "overrides": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } }, "gridPos": { "h": 6, @@ -1310,12 +1645,29 @@ }, "id": 14, "options": { - "dataLinks": [] + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_token_lookup_count[1m]))", "interval": "", @@ -1334,24 +1686,23 @@ "x": 0, "y": 53 }, - "id": 20, - "panels": [], + "id": 109, "title": "Audit", "type": "row" }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {}, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -1359,8 +1710,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 5, @@ -1375,19 +1725,24 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "max" ], "fields": "", "values": false - } + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "7.0.3", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "max(idelta(${metrics_prefix}_audit_log_request_failure[1m]))", "format": "time_series", @@ -1401,13 +1756,62 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {} - }, - "overrides": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } }, "gridPos": { "h": 10, @@ -1417,12 +1821,29 @@ }, "id": 4, "options": { - "dataLinks": [] + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_audit_log_request_count[1m]))", "format": "time_series", @@ -1434,7 +1855,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_audit_log_response_count[1m]))", "format": "time_series", @@ -1446,7 +1868,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_core_handle_request_count[1m]))", "format": "time_series", @@ -1461,13 +1884,62 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {} - }, - "overrides": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } }, "gridPos": { "h": 10, @@ -1477,12 +1949,29 @@ }, "id": 61, "options": { - "dataLinks": [] + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_consul_get_count[1m]))", "interval": "", @@ -1492,7 +1981,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_consul_put_count[1m]))", "interval": "", @@ -1501,7 +1991,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_consul_delete_count[1m]))", "interval": "", @@ -1510,7 +2001,8 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "irate(${metrics_prefix}_consul_list_count{instance=\"$node:$port\"}[1m])", "interval": "", @@ -1523,17 +2015,17 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {}, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -1541,8 +2033,7 @@ } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 5, @@ -1557,19 +2048,24 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "max" ], "fields": "", "values": false - } + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "7.0.3", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "max(idelta(${metrics_prefix}_audit_log_response_failure[1m]))", "format": "time_series", @@ -1589,20 +2085,71 @@ "x": 0, "y": 64 }, - "id": 18, - "panels": [], + "id": 110, "title": "Policy", "type": "row" }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {} - }, - "overrides": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } }, "gridPos": { "h": 6, @@ -1612,12 +2159,29 @@ }, "id": 10, "options": { - "dataLinks": [] + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_policy_set_policy_count[1m]))", "format": "time_series", @@ -1632,13 +2196,62 @@ }, { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "fieldConfig": { "defaults": { - "custom": {} - }, - "overrides": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + } }, "gridPos": { "h": 6, @@ -1648,12 +2261,29 @@ }, "id": 12, "options": { - "dataLinks": [] + "annotations": { + "clustering": -1, + "multiLane": false + }, + "dataLinks": [], + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { - "uid": "${DS_PROMXY}" + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "expr": "avg(irate(${metrics_prefix}_policy_get_policy_count[1m]))", "format": "time_series", @@ -1672,54 +2302,80 @@ "templating": { "list": [ { + "allowCustomValue": true, "current": { "text": "", "value": "" }, + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, "definition": "label_values(up{job=\"openbao-active\"}, instance)", "hide": 2, "includeAll": false, "label": "Host:", + "multi": false, "name": "node", "options": [], "query": "label_values(up{job=\"openbao-active\"}, instance)", "refresh": 1, "regex": "/([^:]+):.*/", "regexApplyTo": "value", + "skipUrlSync": false, "sort": 1, "type": "query" }, { + "allowCustomValue": true, "current": { "text": "", "value": "" }, + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" + }, "definition": "label_values(up{job=\"openbao-active\",instance=~\"$node:(.*)\"}, instance)", "hide": 2, "includeAll": false, + "multi": false, "name": "port", "options": [], "query": "label_values(up{job=\"openbao-active\",instance=~\"$node:(.*)\"}, instance)", "refresh": 1, "regex": "/[^:]+:(.*)/", "regexApplyTo": "value", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { + "allowCustomValue": true, "current": { - "text": "", - "value": "" + "text": [ + "" + ], + "value": [ + "" + ] + }, + "datasource": { + "type": "prometheus", + "uid": "kube-prometheus-stack" }, "definition": "label_values(${metrics_prefix}_secret_kv_count, mount_point)", + "hide": 0, "includeAll": true, "label": "Mount Point:", "multi": true, "name": "mountpoint", "options": [], "query": "label_values(${metrics_prefix}_secret_kv_count, mount_point)", - "refresh": 2, + "refresh": 1, "regex": "/(.*)//", "regexApplyTo": "value", + "skipUrlSync": false, "sort": 1, "type": "query" }, @@ -1729,16 +2385,11 @@ "value": "vault" }, "description": "Metrics Prefix defined in the OpenBao configuration with `metrics_prefix`", + "hide": 0, "label": "Metrics Prefix", "name": "metrics_prefix", - "options": [ - { - "selected": true, - "text": "vault", - "value": "vault" - } - ], "query": "vault", + "skipUrlSync": false, "type": "textbox" } ]