aboutsummaryrefslogtreecommitdiffstats
path: root/csit/metrics/dashboards/sla-metrics.json
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2023-02-17 15:14:07 +0000
committerAdheli Tavares <adheli.tavares@est.tech>2023-02-22 13:22:48 +0000
commit1f339f886d01c6d6ac5cfd6467850c61fee4f675 (patch)
tree9c59715170d07c951421f5cf8f4d7d939e289c8b /csit/metrics/dashboards/sla-metrics.json
parenta6664dc5c767210a78f140b9fa149c2a8261b428 (diff)
Restructure of csit files to be used both by docker and k8s config
Issue-ID: POLICY-4125 Change-Id: Id63b3badb1b451b36e3226970dcafaa5a62d860f Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'csit/metrics/dashboards/sla-metrics.json')
-rw-r--r--csit/metrics/dashboards/sla-metrics.json1778
1 files changed, 0 insertions, 1778 deletions
diff --git a/csit/metrics/dashboards/sla-metrics.json b/csit/metrics/dashboards/sla-metrics.json
deleted file mode 100644
index e94d91dc..00000000
--- a/csit/metrics/dashboards/sla-metrics.json
+++ /dev/null
@@ -1,1778 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- 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,
- "iteration": 1673599566103,
- "links": [],
- "liveNow": false,
- "panels": [
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 54,
- "panels": [],
- "title": "Basic Statistics",
- "type": "row"
- },
- {
- "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,
- "links": [],
- "maxDataPoints": 100,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "horizontal",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "8.3.4",
- "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"
- },
- {
- "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,
- "links": [],
- "maxDataPoints": 100,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "horizontal",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "8.3.4",
- "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"
- },
- {
- "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,
- "links": [],
- "maxDataPoints": 100,
- "options": {
- "orientation": "horizontal",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true
- },
- "pluginVersion": "8.3.4",
- "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"
- },
- {
- "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,
- "links": [],
- "maxDataPoints": 100,
- "options": {
- "orientation": "horizontal",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true
- },
- "pluginVersion": "8.3.4",
- "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"
- },
- {
- "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",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "short"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 13
- },
- "id": 96,
- "links": [],
- "options": {
- "legend": {
- "calcs": [
- "mean",
- "lastNotNull",
- "max",
- "min"
- ],
- "displayMode": "table",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "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"
- },
- {
- "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",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "percentunit"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 21
- },
- "id": 95,
- "links": [],
- "options": {
- "legend": {
- "calcs": [
- "mean",
- "lastNotNull",
- "max",
- "min"
- ],
- "displayMode": "table",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "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"
- },
- {
- "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",
- "value": null
- },
- {
- "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"
- },
- "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,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 36
- },
- "id": 18,
- "panels": [],
- "title": "HTTP Statistics",
- "type": "row"
- },
- {
- "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",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 10,
- "w": 23,
- "x": 0,
- "y": 37
- },
- "id": 4,
- "links": [],
- "options": {
- "legend": {
- "calcs": [
- "lastNotNull",
- "sum"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "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.*\"}[5m])",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "{{method}} [{{status}}] - {{instance}}{{uri}}",
- "refId": "A"
- }
- ],
- "title": "Request Count",
- "type": "timeseries"
- },
- {
- "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",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 10,
- "w": 23,
- "x": 0,
- "y": 47
- },
- "id": 2,
- "links": [],
- "options": {
- "legend": {
- "calcs": [
- "mean",
- "max",
- "min",
- "lastNotNull"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "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\", exception=\"None\", uri!~\".*metrics.*|.*prometheus.*\"}[5m]) / irate(http_server_requests_seconds_count{job=~\"api-metrics|acm-metrics|pap-metrics\", exception=\"None\", uri!~\".*metrics.*|.*prometheus.*\"}[5m])",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "{{method}} [{{status}}] - {{instance}}{{uri}}",
- "refId": "A"
- }
- ],
- "title": "Response Time",
- "type": "timeseries"
- },
- {
- "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",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "locale"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 10,
- "w": 22,
- "x": 0,
- "y": 57
- },
- "id": 111,
- "links": [],
- "options": {
- "legend": {
- "calcs": [
- "lastNotNull",
- "max"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "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,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 67
- },
- "id": 115,
- "panels": [],
- "title": "Deployment statistics",
- "type": "row"
- },
- {
- "fieldConfig": {
- "defaults": {
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "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"
- },
- {
- "fieldConfig": {
- "defaults": {
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "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"
- },
- {
- "fieldConfig": {
- "defaults": {
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "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"
- },
- {
- "fieldConfig": {
- "defaults": {
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "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"
- },
- {
- "description": "Policy Executions Total for APEX-PDP",
- "fieldConfig": {
- "defaults": {
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "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"
- },
- {
- "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",
- "value": null
- },
- {
- "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"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "dkSf71fnz"
- },
- "exemplar": true,
- "expr": "irate(pap_policy_deployments_seconds_sum[5m])/irate(pap_policy_deployments_seconds_count[5m])",
- "interval": "",
- "legendFormat": "{{operation}} - {{status}}",
- "refId": "A"
- }
- ],
- "title": "Deployment timing",
- "type": "timeseries"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 90
- },
- "id": 124,
- "panels": [],
- "title": "Apex-PDP",
- "type": "row"
- },
- {
- "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",
- "value": null
- },
- {
- "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"
- },
- {
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "decimals": 0,
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "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)",
- "transformations": [],
- "type": "stat"
- },
- {
- "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",
- "value": null
- },
- {
- "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"
- },
- "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\"}[5m])",
- "format": "time_series",
- "interval": "",
- "legendFormat": "{{ engine_instance_id }}",
- "refId": "A"
- }
- ],
- "title": "Avg Engine Execution Time",
- "type": "timeseries"
- },
- {
- "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",
- "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": 34,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-5m",
- "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": 6,
- "weekStart": ""
-} \ No newline at end of file