Skip to content
Snippets Groups Projects

Grafana: Payments dashboard log fix & fine tune

Merged Florian Sesser requested to merge grafana-fix-payment-logs into develop
@@ -1031,7 +1031,7 @@
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
"uid": "000000002"
},
"description": "Exercise in counting maybe interesting lines. This can be alerted on.",
"fieldConfig": {
@@ -1043,7 +1043,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"drawStyle": "bars",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
@@ -1052,6 +1052,9 @@
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
@@ -1107,10 +1110,9 @@
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
"uid": "000000002"
},
"expr": "count_over_time({host=\"payments\",unit=\"zkapissuer.service\"} !~ \"200|GET|Accept\" [5m])",
"maxLines": 0,
"expr": "count_over_time({host=\"payments\",unit=\"zkapissuer.service\"} !~ \"200|/metrics|Accept\" [5m])",
"refId": "A"
}
],
@@ -1121,7 +1123,7 @@
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
"uid": "000000002"
},
"description": "Exercise in filtering the payment server logs.",
"gridPos": {
@@ -1137,7 +1139,7 @@
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
@@ -1145,9 +1147,9 @@
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
"uid": "000000002"
},
"expr": "{host=\"payments\",unit=\"zkapissuer.service\"} !~ \"200|GET|Accept\"",
"expr": "{host=\"payments\",unit=\"zkapissuer.service\"} !~ \"200|/metrics|Accept\"",
"refId": "A"
}
],
@@ -1163,7 +1165,7 @@
"list": []
},
"time": {
"from": "now-3h",
"from": "now-7d",
"to": "now"
},
"timepicker": {
Loading