Skip to content
Snippets Groups Projects
Commit 20439b4a authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

feat: added RPS to graph

parent ecde25cb
No related branches found
No related tags found
1 merge request!56Observability: Default grafana dashboard
Pipeline #15440 passed
...@@ -1023,6 +1023,108 @@ ...@@ -1023,6 +1023,108 @@
"title": "Memory", "title": "Memory",
"type": "timeseries" "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": {}, "aliasColors": {},
"bars": false, "bars": false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment