| { |
| "annotations": { |
| "list": [ |
| { |
| "builtIn": 1, |
| "datasource": { |
| "type": "datasource", |
| "uid": "grafana" |
| }, |
| "enable": true, |
| "hide": true, |
| "iconColor": "rgba(0, 211, 255, 1)", |
| "name": "Annotations & Alerts", |
| "target": { |
| "limit": 100, |
| "matchAny": false, |
| "tags": [], |
| "type": "dashboard" |
| }, |
| "type": "dashboard" |
| } |
| ] |
| }, |
| "description": "Dashboard for Service Level Agreeements", |
| "editable": true, |
| "fiscalYearStartMonth": 0, |
| "gnetId": 14430, |
| "graphTooltip": 0, |
| "id": 3, |
| "links": [], |
| "liveNow": false, |
| "panels": [ |
| { |
| "collapsed": false, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 0 |
| }, |
| "id": 54, |
| "panels": [], |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "refId": "A" |
| } |
| ], |
| "title": "Basic Statistics", |
| "type": "row" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "decimals": 1, |
| "mappings": [ |
| { |
| "options": { |
| "match": "null", |
| "result": { |
| "text": "N/A" |
| } |
| }, |
| "type": "special" |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "s" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 6, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 52, |
| "maxDataPoints": 100, |
| "options": { |
| "colorMode": "value", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "percentChangeColorMode": "standard", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showPercentChange": false, |
| "textMode": "auto", |
| "wideLayout": true |
| }, |
| "pluginVersion": "11.1.0", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "process_uptime_seconds", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "{{job}}", |
| "metric": "", |
| "refId": "A", |
| "step": 14400 |
| } |
| ], |
| "title": "Uptime", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "mappings": [ |
| { |
| "options": { |
| "match": "null", |
| "result": { |
| "text": "N/A" |
| } |
| }, |
| "type": "special" |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "dateTimeAsIso" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 6, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 56, |
| "maxDataPoints": 100, |
| "options": { |
| "colorMode": "value", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "percentChangeColorMode": "standard", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showPercentChange": false, |
| "textMode": "auto", |
| "wideLayout": true |
| }, |
| "pluginVersion": "11.1.0", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "process_start_time_seconds{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"}*1000", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "{{instance}}", |
| "metric": "", |
| "refId": "A", |
| "step": 14400 |
| } |
| ], |
| "title": "Start time", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "decimals": 1, |
| "mappings": [ |
| { |
| "options": { |
| "match": "null", |
| "result": { |
| "text": "N/A" |
| } |
| }, |
| "type": "special" |
| } |
| ], |
| "max": 100, |
| "min": 0, |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "rgba(50, 172, 45, 0.97)", |
| "value": null |
| }, |
| { |
| "color": "rgba(237, 129, 40, 0.89)", |
| "value": 70 |
| }, |
| { |
| "color": "rgba(245, 54, 54, 0.9)", |
| "value": 90 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 6, |
| "x": 0, |
| "y": 7 |
| }, |
| "id": 58, |
| "maxDataPoints": 100, |
| "options": { |
| "minVizHeight": 75, |
| "minVizWidth": 75, |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showThresholdLabels": false, |
| "showThresholdMarkers": true, |
| "sizing": "auto" |
| }, |
| "pluginVersion": "11.1.0", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "sum(jvm_memory_used_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\", area=\"heap\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "", |
| "refId": "A", |
| "step": 14400 |
| } |
| ], |
| "title": "Heap Used", |
| "type": "gauge" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "decimals": 1, |
| "mappings": [ |
| { |
| "options": { |
| "match": "null", |
| "result": { |
| "text": "N/A" |
| } |
| }, |
| "type": "special" |
| }, |
| { |
| "options": { |
| "from": -1e+32, |
| "result": { |
| "text": "N/A" |
| }, |
| "to": 0 |
| }, |
| "type": "range" |
| } |
| ], |
| "max": 100, |
| "min": 0, |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "rgba(50, 172, 45, 0.97)", |
| "value": null |
| }, |
| { |
| "color": "rgba(237, 129, 40, 0.89)", |
| "value": 70 |
| }, |
| { |
| "color": "rgba(245, 54, 54, 0.9)", |
| "value": 90 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 6, |
| "x": 6, |
| "y": 7 |
| }, |
| "id": 60, |
| "maxDataPoints": 100, |
| "options": { |
| "minVizHeight": 75, |
| "minVizWidth": 75, |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showThresholdLabels": false, |
| "showThresholdMarkers": true, |
| "sizing": "auto" |
| }, |
| "pluginVersion": "11.1.0", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "sum(jvm_memory_used_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\", area=\"nonheap\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "", |
| "refId": "A", |
| "step": 14400 |
| } |
| ], |
| "title": "Non-Heap Used", |
| "type": "gauge" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisBorderShow": false, |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 10, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "insertNulls": false, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "never", |
| "spanNulls": true, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "links": [], |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "short" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 13 |
| }, |
| "id": 96, |
| "options": { |
| "legend": { |
| "calcs": [ |
| "mean", |
| "lastNotNull", |
| "max", |
| "min" |
| ], |
| "displayMode": "table", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "pluginVersion": "8.3.4", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "avg(system_load_average_1m{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "Load Average [1m] ", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "avg(system_cpu_count{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "CPU Core Size", |
| "refId": "B" |
| } |
| ], |
| "title": "Load Average", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisBorderShow": false, |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 10, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "insertNulls": false, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "never", |
| "spanNulls": true, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "links": [], |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "percentunit" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 0, |
| "y": 21 |
| }, |
| "id": 95, |
| "options": { |
| "legend": { |
| "calcs": [ |
| "mean", |
| "lastNotNull", |
| "max", |
| "min" |
| ], |
| "displayMode": "table", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "pluginVersion": "8.3.4", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "avg(system_cpu_usage{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "System CPU Usage", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "avg(process_cpu_usage{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "Process CPU Usage", |
| "refId": "B" |
| } |
| ], |
| "title": "CPU Usage", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "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": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 28 |
| }, |
| "id": 113, |
| "options": { |
| "legend": { |
| "calcs": [ |
| "lastNotNull", |
| "min", |
| "max" |
| ], |
| "displayMode": "table", |
| "placement": "right", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "avg by (id) (jvm_memory_used_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
| "interval": "", |
| "legendFormat": "{{id}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Memory Usage", |
| "type": "timeseries" |
| }, |
| { |
| "collapsed": false, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 36 |
| }, |
| "id": 18, |
| "panels": [], |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "refId": "A" |
| } |
| ], |
| "title": "HTTP Statistics", |
| "type": "row" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 10, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "never", |
| "spanNulls": true, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "links": [], |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "none" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 10, |
| "w": 23, |
| "x": 0, |
| "y": 37 |
| }, |
| "id": 4, |
| "options": { |
| "legend": { |
| "calcs": [ |
| "lastNotNull", |
| "sum" |
| ], |
| "displayMode": "table", |
| "placement": "right", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single" |
| } |
| }, |
| "pluginVersion": "8.3.4", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "rate(http_server_requests_seconds_count{uri!~\".*metrics.*|.*prometheus.*\"}[$__range])", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{method}} [{{status}}] - {{instance}}{{uri}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Request Count", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 10, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "never", |
| "spanNulls": true, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "links": [], |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "s" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 10, |
| "w": 23, |
| "x": 0, |
| "y": 47 |
| }, |
| "id": 2, |
| "options": { |
| "legend": { |
| "calcs": [ |
| "mean", |
| "max", |
| "min", |
| "lastNotNull" |
| ], |
| "displayMode": "table", |
| "placement": "right", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single" |
| } |
| }, |
| "pluginVersion": "8.3.4", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "irate(http_server_requests_seconds_sum{job=~\"api-metrics|acm-metrics|pap-metrics\",outcome=\"SUCCESS\",uri!~\".*metrics.*|.*prometheus.*\"}[$__range]) / irate(http_server_requests_seconds_count{job=~\"api-metrics|acm-metrics|pap-metrics\",outcome=\"SUCCESS\",uri!~\".*metrics.*|.*prometheus.*\"}[$__range])", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{method}} [{{status}}] - {{instance}}{{uri}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Response Time", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 10, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "never", |
| "spanNulls": true, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "links": [], |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "locale" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 10, |
| "w": 22, |
| "x": 0, |
| "y": 57 |
| }, |
| "id": 111, |
| "options": { |
| "legend": { |
| "calcs": [ |
| "lastNotNull", |
| "max" |
| ], |
| "displayMode": "table", |
| "placement": "right", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single" |
| } |
| }, |
| "pluginVersion": "8.3.4", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "http_server_requests_seconds_max{job=~\"api-metrics|acm-metrics|pap-metrics\",uri!~\".*metrics.*|.*prometheus.*\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{method}} [{{status}}] - {{instance}}{{uri}}", |
| "refId": "A" |
| } |
| ], |
| "title": "HTTP Server Requests Max", |
| "type": "timeseries" |
| }, |
| { |
| "collapsed": false, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 67 |
| }, |
| "id": 115, |
| "panels": [], |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "refId": "A" |
| } |
| ], |
| "title": "Deployment statistics", |
| "type": "row" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "short" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 3, |
| "x": 0, |
| "y": 68 |
| }, |
| "id": 117, |
| "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": "pap_policy_deployments_total{operation=\"deploy\",status=\"SUCCESS\"}", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "A" |
| } |
| ], |
| "title": "Successful deployments", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "short" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 3, |
| "x": 3, |
| "y": 68 |
| }, |
| "id": 118, |
| "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": "pap_policy_deployments_total{operation=\"undeploy\",status=\"SUCCESS\"}", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "A" |
| } |
| ], |
| "title": "Successful undeployments", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 1 |
| } |
| ] |
| }, |
| "unit": "short" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 3, |
| "x": 6, |
| "y": 68 |
| }, |
| "id": 119, |
| "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": "pap_policy_deployments_total{operation=\"deploy\",status=\"FAILURE\"}", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "A" |
| } |
| ], |
| "title": "Failed deployments", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 1 |
| } |
| ] |
| }, |
| "unit": "short" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 3, |
| "x": 9, |
| "y": 68 |
| }, |
| "id": 120, |
| "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": "pap_policy_deployments_total{operation=\"undeploy\",status=\"FAILURE\"}", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "A" |
| } |
| ], |
| "title": "Failed undeployments", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "description": "Policy Executions Total for APEX-PDP", |
| "fieldConfig": { |
| "defaults": { |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "short" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 74 |
| }, |
| "id": 128, |
| "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": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"SUCCESS\"}", |
| "interval": "", |
| "legendFormat": "Successful", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"FAIL\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Failed", |
| "refId": "B" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"TOTAL\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Total", |
| "refId": "C" |
| } |
| ], |
| "title": "Policy Executions", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "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": 400 |
| } |
| ] |
| }, |
| "unit": "ms" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 82 |
| }, |
| "id": 122, |
| "options": { |
| "legend": { |
| "calcs": [ |
| "lastNotNull", |
| "min", |
| "max" |
| ], |
| "displayMode": "table", |
| "placement": "right", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "irate(pap_policy_deployments_seconds_sum[$__range])/irate(pap_policy_deployments_seconds_count[$__range])", |
| "interval": "", |
| "legendFormat": "{{operation}} - {{status}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Deployment timing", |
| "type": "timeseries" |
| }, |
| { |
| "collapsed": false, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 90 |
| }, |
| "id": 124, |
| "panels": [], |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "refId": "A" |
| } |
| ], |
| "title": "Apex-PDP", |
| "type": "row" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "fixed" |
| }, |
| "mappings": [ |
| { |
| "options": { |
| "0": { |
| "color": "red", |
| "index": 0, |
| "text": "Undefined" |
| }, |
| "1": { |
| "color": "#ffffff", |
| "index": 1, |
| "text": "Stopped" |
| }, |
| "2": { |
| "color": "blue", |
| "index": 2, |
| "text": "Ready" |
| }, |
| "3": { |
| "color": "green", |
| "index": 3, |
| "text": "Running" |
| }, |
| "4": { |
| "color": "yellow", |
| "index": 4, |
| "text": "Stopping" |
| } |
| }, |
| "type": "value" |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "short" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 5, |
| "x": 0, |
| "y": 91 |
| }, |
| "id": 126, |
| "options": { |
| "colorMode": "value", |
| "graphMode": "area", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "text": { |
| "titleSize": 20, |
| "valueSize": 20 |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "8.3.4", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "pdpa_engine_state{job=\"apex-pdp-metrics\"}", |
| "interval": "", |
| "legendFormat": "{{ engine_instance_id }}", |
| "refId": "A" |
| } |
| ], |
| "title": "Engines Stats", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "decimals": 0, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "ms" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 8, |
| "x": 5, |
| "y": 91 |
| }, |
| "id": 130, |
| "options": { |
| "colorMode": "none", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "text": { |
| "titleSize": 25, |
| "valueSize": 25 |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "8.3.4", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": false, |
| "expr": "(time() * 1000) - (pdpa_engine_last_start_timestamp_epoch{job=\"apex-pdp-metrics\"})", |
| "format": "time_series", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "{{ engine_instance_id }}", |
| "refId": "A" |
| } |
| ], |
| "title": "Engine Uptime (since last start)", |
| "type": "stat" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "description": "Number of APEX event execution counter per engine thread", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "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": "ops" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 99 |
| }, |
| "id": 132, |
| "options": { |
| "legend": { |
| "calcs": [ |
| "lastNotNull", |
| "min", |
| "max" |
| ], |
| "displayMode": "table", |
| "placement": "right", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "pluginVersion": "8.4.5", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "rate(pdpa_engine_average_execution_time_seconds{job=\"apex-pdp-metrics\"}[$__range])", |
| "format": "time_series", |
| "interval": "", |
| "legendFormat": "{{ engine_instance_id }}", |
| "refId": "A" |
| } |
| ], |
| "title": "Avg Engine Execution Time", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "description": "Number of APEX event execution counter per engine thread", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| } |
| }, |
| "mappings": [], |
| "unit": "short" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 107 |
| }, |
| "id": 133, |
| "options": { |
| "displayLabels": [ |
| "percent" |
| ], |
| "legend": { |
| "displayMode": "table", |
| "placement": "right", |
| "showLegend": true, |
| "values": [ |
| "value" |
| ] |
| }, |
| "pieType": "donut", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "tooltip": { |
| "mode": "single" |
| } |
| }, |
| "pluginVersion": "8.4.5", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "dkSf71fnz" |
| }, |
| "exemplar": true, |
| "expr": "pdpa_engine_event_executions{job=\"apex-pdp-metrics\"}", |
| "format": "time_series", |
| "interval": "", |
| "legendFormat": "{{ engine_instance_id }}", |
| "refId": "A" |
| } |
| ], |
| "title": "Engine Executions Count", |
| "type": "piechart" |
| } |
| ], |
| "refresh": "10s", |
| "schemaVersion": 39, |
| "tags": [], |
| "templating": { |
| "list": [] |
| }, |
| "time": { |
| "from": "now-30m", |
| "to": "now" |
| }, |
| "timepicker": { |
| "refresh_intervals": [ |
| "10s", |
| "30s", |
| "1m", |
| "5m", |
| "15m", |
| "30m", |
| "1h", |
| "2h", |
| "1d" |
| ], |
| "time_options": [ |
| "5m", |
| "15m", |
| "1h", |
| "6h", |
| "12h", |
| "24h", |
| "2d", |
| "7d", |
| "30d" |
| ] |
| }, |
| "timezone": "", |
| "title": "SLA's Metrics", |
| "uid": "ySoel0jnk", |
| "version": 7, |
| "weekStart": "" |
| } |