feat(log-analyser): updated grafana dashboards (#1885)

This commit is contained in:
Ilayda Dastan
2024-08-30 15:25:01 +03:00
committed by GitHub
parent 1e589f3b71
commit 9f2489de80
5 changed files with 1067 additions and 28 deletions

View File

@@ -18,15 +18,15 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 3,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "loki",
"uid": "b8130a28-4867-4668-917d-539c93852857"
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -67,13 +67,13 @@
}
]
},
"unit": "none"
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"h": 13,
"w": 24,
"x": 0,
"y": 0
},
@@ -107,14 +107,51 @@
"uid": "b8130a28-4867-4668-917d-539c93852857"
},
"editorMode": "code",
"expr": "sum by (attributes_log_file_name) (\n rate({exporter=\"OTLP\"} | json | line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m]))",
"legendFormat": "{{attributes_log_file_name}}",
"expr": "sum by (attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json | line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m]))",
"legendFormat": "{{attributes_attrs_service}}",
"queryType": "range",
"refId": "A"
}
],
"title": "Jicofo and JVB Log Counts",
"title": "Jicofo, Prosody, Jitsi Web and JVB Log Counts",
"type": "barchart"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 13
},
"id": 2,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "{exporter=\"OTLP\"} ",
"queryType": "range",
"refId": "A"
}
],
"title": "Jitsi All Logs (Jicofo, Prosody, JVB, Web)",
"type": "logs"
}
],
"refresh": "",
@@ -129,8 +166,8 @@
},
"timepicker": {},
"timezone": "",
"title": "Jitsi All Components",
"title": "Jitsi All Components Dashboard",
"uid": "b75d666d-4537-45e2-94a1-2783f9362b65",
"version": 1,
"version": 14,
"weekStart": ""
}