diff --git a/kubernetes/helm/openslice/files/observability/grafana_osl_dashboard.json b/kubernetes/helm/openslice/files/observability/grafana_osl_dashboard.json index f417a70cb5e1ee90a68c59818567fcf91eec6f0f..9ec89e3c5bdb8ed366ddfece3d41517037a82719 100644 --- a/kubernetes/helm/openslice/files/observability/grafana_osl_dashboard.json +++ b/kubernetes/helm/openslice/files/observability/grafana_osl_dashboard.json @@ -1023,6 +1023,108 @@ "title": "Memory", "type": "timeseries" }, + { + "datasource": "${DS_PROMETHEUS}", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "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": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "reqps", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 81 + }, + "id": 5, + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Max", + "sortDesc": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": "${DS_PROMETHEUS}", + "editorMode": "code", + "exemplar": true, + "expr": "sum by (http_status_code, pod) ( rate(http_server_duration_count{namespace=~\"$namespace\", pod=~\"$pod\"}[5m]) )", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "({{http_status_code}}) {{pod}}", + "range": true, + "refId": "A" + } + ], + "title": "RPS by HTTP Status", + "type": "timeseries" + }, { "aliasColors": {}, "bars": false,