ci: update grafana dashboard
All checks were successful
Build and Push Docker Image / tests (push) Successful in 39s
Build and Push Docker Image / build (push) Successful in 4m16s

This commit is contained in:
Lars Hampe 2024-11-12 23:18:17 +01:00
parent 235c7c1ef4
commit fc001b4dfb

View File

@ -34,6 +34,118 @@
"title": "Service: API",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "points",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": 5000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#73BF69",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 1
},
"id": 11,
"options": {
"legend": {
"calcs": ["sum"],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0",
"targets": [
{
"editorMode": "builder",
"expr": "count(rate({service=\"api\"} | json | status <= 399 [$__auto]))",
"legendFormat": "<= 300",
"queryType": "range",
"refId": "A"
},
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
},
"editorMode": "code",
"expr": "count(rate({service=\"api\"} | json | status >= 400 and status <= 499 [$__auto]))",
"hide": false,
"legendFormat": "400 - 499",
"queryType": "range",
"refId": "B"
},
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
},
"editorMode": "builder",
"expr": "count(rate({service=\"api\"} | json | status >= 500 [$__auto]))",
"hide": false,
"legendFormat": ">= 500",
"queryType": "range",
"refId": "C"
}
],
"title": "Requests",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
@ -61,9 +173,9 @@
"h": 8,
"w": 4,
"x": 0,
"y": 1
"y": 8
},
"id": 2,
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "none",
@ -118,7 +230,7 @@
"h": 8,
"w": 4,
"x": 4,
"y": 1
"y": 8
},
"id": 3,
"options": {
@ -175,7 +287,7 @@
"h": 8,
"w": 4,
"x": 8,
"y": 1
"y": 8
},
"id": 4,
"options": {
@ -232,7 +344,7 @@
"h": 8,
"w": 4,
"x": 0,
"y": 9
"y": 16
},
"id": 7,
"options": {
@ -289,7 +401,7 @@
"h": 8,
"w": 4,
"x": 4,
"y": 9
"y": 16
},
"id": 8,
"options": {
@ -346,7 +458,7 @@
"h": 8,
"w": 4,
"x": 8,
"y": 9
"y": 16
},
"id": 9,
"options": {
@ -389,7 +501,7 @@
"h": 17,
"w": 24,
"x": 0,
"y": 17
"y": 24
},
"id": 5,
"options": {
@ -429,6 +541,6 @@
"timezone": "browser",
"title": "Logging",
"uid": "be3r0x46iwlq8f",
"version": 1,
"version": 2,
"weekStart": "monday"
}