diff options
Diffstat (limited to 'compose/metrics/dashboards/dashboard-xacml-pdp.json')
-rw-r--r-- | compose/metrics/dashboards/dashboard-xacml-pdp.json | 316 |
1 files changed, 195 insertions, 121 deletions
diff --git a/compose/metrics/dashboards/dashboard-xacml-pdp.json b/compose/metrics/dashboards/dashboard-xacml-pdp.json index a1c10c5b..75b776bf 100644 --- a/compose/metrics/dashboards/dashboard-xacml-pdp.json +++ b/compose/metrics/dashboards/dashboard-xacml-pdp.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -22,12 +25,16 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 5, + "id": 6, "links": [], "liveNow": false, "panels": [ { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "gridPos": { "h": 1, "w": 24, @@ -36,10 +43,23 @@ }, "id": 19, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, + "refId": "A" + } + ], "title": "Quick Info", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Uptime per pod for Policy XACML-PDP application calculated in days", "fieldConfig": { "defaults": { @@ -60,7 +80,8 @@ "value": 80 } ] - } + }, + "unit": "s" }, "overrides": [] }, @@ -76,25 +97,29 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "vertical", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [], "fields": "", "values": false }, + "showPercentChange": false, "text": { "titleSize": 16 }, - "textMode": "value_and_name" + "textMode": "value_and_name", + "wideLayout": true }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "(time() - process_start_time_seconds{job=\"xacml-pdp-metrics\"}) / 86400", + "expr": "(time() - process_start_time_seconds{job=\"xacml-pdp-metrics\"})", "format": "time_series", "instant": false, "interval": "", @@ -102,12 +127,15 @@ "refId": "A" } ], - "title": "Process Uptime (days)", - "transformations": [], + "title": "Process Uptime", "transparent": true, "type": "stat" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy XACML-PDP CPU Usage Monitoring", "fieldConfig": { "defaults": { @@ -164,12 +192,14 @@ }, "gridPos": { "h": 6, - "w": 8, - "x": 7, + "w": 6, + "x": 6, "y": 1 }, "id": 26, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -180,9 +210,10 @@ }, "showThresholdLabels": false, "showThresholdMarkers": false, + "sizing": "auto", "text": {} }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { @@ -190,7 +221,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "irate(process_cpu_seconds_total{job=\"xacml-pdp-metrics\"}[5m])*100", + "expr": "irate(process_cpu_seconds_total{job=\"xacml-pdp-metrics\"}[$__range])*100", "interval": "", "legendFormat": "{{pod}}", "refId": "A" @@ -200,6 +231,10 @@ "type": "gauge" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy XACML-PDP Memory Usage Monitoring", "fieldConfig": { "defaults": { @@ -259,12 +294,14 @@ }, "gridPos": { "h": 6, - "w": 8, - "x": 16, + "w": 6, + "x": 12, "y": 1 }, "id": 27, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -274,9 +311,10 @@ "values": false }, "showThresholdLabels": false, - "showThresholdMarkers": false + "showThresholdMarkers": false, + "sizing": "auto" }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { @@ -296,6 +334,10 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "gridPos": { "h": 1, "w": 24, @@ -304,10 +346,23 @@ }, "id": 17, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, + "refId": "A" + } + ], "title": "System", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy XACML-PDP CPU Usage Monitoring", "fieldConfig": { "defaults": { @@ -315,6 +370,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -326,6 +384,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -395,8 +454,8 @@ ] }, "gridPos": { - "h": 14, - "w": 12, + "h": 9, + "w": 8, "x": 0, "y": 8 }, @@ -410,6 +469,7 @@ ], "displayMode": "table", "placement": "bottom", + "showLegend": true, "sortBy": "Max", "sortDesc": true }, @@ -424,10 +484,12 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "irate(process_cpu_seconds_total{job=\"xacml-pdp-metrics\"}[5m])*100", + "expr": "irate(process_cpu_seconds_total{job=\"xacml-pdp-metrics\"}[$__range])*100", "interval": "", "legendFormat": "system: {{pod}}", + "range": true, "refId": "A" } ], @@ -435,6 +497,10 @@ "type": "timeseries" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy XACML-PDP Memory Usage Monitoring", "fieldConfig": { "defaults": { @@ -442,6 +508,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -453,6 +522,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -522,9 +592,9 @@ ] }, "gridPos": { - "h": 11, - "w": 12, - "x": 12, + "h": 9, + "w": 7, + "x": 8, "y": 8 }, "id": 13, @@ -537,6 +607,7 @@ ], "displayMode": "table", "placement": "bottom", + "showLegend": true, "sortBy": "Last", "sortDesc": false }, @@ -551,11 +622,13 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "100 * jvm_memory_bytes_used{area=\"heap\", job=\"xacml-pdp-metrics\"} / jvm_memory_bytes_max{area=\"heap\", job=\"xacml-pdp-metrics\"}", + "expr": "100 * (jvm_memory_bytes_used{area=\"heap\", job=\"xacml-pdp-metrics\"} / jvm_memory_bytes_max{area=\"heap\", job=\"xacml-pdp-metrics\"})", "hide": false, "interval": "", "legendFormat": "Heap : {{ pod }}", + "range": true, "refId": "A" } ], @@ -563,6 +636,10 @@ "type": "timeseries" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy XACML-PDP JVM Threads", "fieldConfig": { "defaults": { @@ -570,6 +647,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -581,6 +661,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -616,10 +697,10 @@ "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 19 + "h": 9, + "w": 8, + "x": 15, + "y": 8 }, "id": 8, "options": { @@ -630,7 +711,8 @@ "mean" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -680,18 +762,35 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 32 + "y": 17 }, "id": 15, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, + "refId": "A" + } + ], "title": "Garbage Collection", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "GC operations per second", "fieldConfig": { "defaults": { @@ -699,6 +798,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -710,6 +812,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 1, @@ -748,7 +851,7 @@ "h": 8, "w": 12, "x": 0, - "y": 33 + "y": 18 }, "id": 10, "options": { @@ -759,7 +862,8 @@ "last" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single", @@ -772,10 +876,12 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "rate(jvm_gc_collection_seconds_count{job=\"xacml-pdp-metrics\"}[5m])", + "expr": "rate(jvm_gc_collection_seconds_count{job=\"xacml-pdp-metrics\"}[$__range])", "interval": "", "legendFormat": "{{ gc }} : {{ pod }}", + "range": true, "refId": "A" } ], @@ -783,6 +889,10 @@ "type": "timeseries" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Average GC Time", "fieldConfig": { "defaults": { @@ -790,6 +900,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -801,6 +914,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 1, @@ -838,7 +952,7 @@ "h": 8, "w": 12, "x": 12, - "y": 33 + "y": 18 }, "id": 22, "options": { @@ -847,7 +961,8 @@ "last" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single", @@ -860,10 +975,12 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "rate(jvm_gc_collection_seconds_sum{job=\"xacml-pdp-metrics\"}[5m])/rate(jvm_gc_collection_seconds_count{job=\"xacml-pdp-metrics\"}[5m])", + "expr": "rate(jvm_gc_collection_seconds_sum{job=\"xacml-pdp-metrics\"}[$__range])/rate(jvm_gc_collection_seconds_count{job=\"xacml-pdp-metrics\"}[$__range])", "interval": "", "legendFormat": "avg {{ gc }} : {{ pod }}", + "range": true, "refId": "A" } ], @@ -872,18 +989,35 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 41 + "y": 26 }, "id": 21, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, + "refId": "A" + } + ], "title": "Requests", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy Deployments Total for XACML-PDP", "fieldConfig": { "defaults": { @@ -912,11 +1046,15 @@ "h": 8, "w": 12, "x": 0, - "y": 42 + "y": 27 }, "id": 12, "options": { "displayMode": "gradient", + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ @@ -925,9 +1063,11 @@ "fields": "", "values": false }, - "showUnfilled": true + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { @@ -981,6 +1121,10 @@ "type": "bargauge" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy Decisions Total for XACML-PDP per instance", "fieldConfig": { "defaults": { @@ -1009,11 +1153,15 @@ "h": 8, "w": 12, "x": 12, - "y": 42 + "y": 27 }, "id": 30, "options": { "displayMode": "gradient", + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ @@ -1022,9 +1170,11 @@ "fields": "", "values": false }, - "showUnfilled": true + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { @@ -1065,98 +1215,22 @@ ], "title": "Policy Decisions", "type": "bargauge" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 50 - }, - "id": 34, - "panels": [], - "title": "Logging", - "type": "row" - }, - { - "description": "Policy number of log entries for XACML-PDP", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 51 - }, - "id": 36, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "8.3.4", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "logback_appender_total{job=\"xacml-pdp-metrics\"}", - "interval": "", - "legendFormat": "Level", - "refId": "A" - } - ], - "title": "Logback Total", - "type": "stat" } ], "refresh": "", - "schemaVersion": 34, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [] }, "time": { - "from": "now-3h", + "from": "now-30m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Policy XACML-PDP", "uid": "Fk_2HkmVk", - "version": 2, + "version": 3, "weekStart": "" }
\ No newline at end of file |