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

pull/1737/merge
Ilayda Dastan 3 months ago committed by GitHub
parent 1e589f3b71
commit 9f2489de80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 305
      log-analyser/grafana-provisioning/dashboards/jicofo.json
  2. 57
      log-analyser/grafana-provisioning/dashboards/jitsi-all.json
  3. 275
      log-analyser/grafana-provisioning/dashboards/jitsi-web.json
  4. 50
      log-analyser/grafana-provisioning/dashboards/jvb.json
  5. 408
      log-analyser/grafana-provisioning/dashboards/prosody.json

@ -18,14 +18,50 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 1,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
{ {
"datasource": { "datasource": {
"type": "loki", "type": "loki",
"uid": "b8130a28-4867-4668-917d-539c93852857" "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 6,
"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\"} | json | attributes_attrs_service=\"jitsi-jicofo\"",
"queryType": "range",
"refId": "A"
}
],
"title": "Jicofo Logs",
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -46,7 +82,7 @@
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 12,
"y": 0 "y": 0
}, },
"id": 2, "id": 2,
@ -81,19 +117,19 @@
"uid": "b8130a28-4867-4668-917d-539c93852857" "uid": "b8130a28-4867-4668-917d-539c93852857"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_log_file_name=\"jicofo.log\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)", "expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jicofo\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)",
"legendFormat": "Level: {{attributes_level}}", "legendFormat": "Level: {{attributes_level}}",
"queryType": "range", "queryType": "range",
"refId": "A" "refId": "A"
} }
], ],
"title": "Log Levels Pie Chart", "title": "Jicofo Log Levels Pie Chart",
"type": "piechart" "type": "piechart"
}, },
{ {
"datasource": { "datasource": {
"type": "loki", "type": "loki",
"uid": "b8130a28-4867-4668-917d-539c93852857" "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -105,7 +141,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -147,15 +184,261 @@
"uid": "b8130a28-4867-4668-917d-539c93852857" "uid": "b8130a28-4867-4668-917d-539c93852857"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum by (attributes_level, attributes_log_file_name) (\n rate({exporter=\"OTLP\"} | json|attributes_log_file_name=\"jicofo.log\"| line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_log_file_name>: <_>\"[5m]))", "expr": "sum by (attributes_level, attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jicofo\"| line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
"legendFormat": "Level: {{attributes_level}}", "legendFormat": "Level: {{attributes_level}}",
"queryType": "range", "queryType": "range",
"refId": "A" "refId": "A"
} }
], ],
"title": "Log Levels Bar Chart", "title": "Jicofo Log Levels Bar Chart",
"transformations": [], "transformations": [],
"type": "bargauge" "type": "bargauge"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 3,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "right",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
},
"editorMode": "code",
"expr": "sum by (attributes_codefile) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jicofo\"| attributes_level=\"ERROR\" | line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
"queryType": "range",
"refId": "A"
}
],
"title": "Jicofo Total Rate of ERROR Logs Aggregated by Code File",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"description": "This panel shows the number of conference requests over time.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "right",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-jicofo\" |= \"Conference request\" [1m])",
"queryType": "range",
"refId": "A"
}
],
"title": "Jicofo Number of Conference Requests",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 5,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum(count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-jicofo\" |~ \"Member left|Terminating|Removed participant\" [1m]))",
"queryType": "range",
"refId": "A"
}
],
"title": "Jicofo Total Counts of Member Left, Terminating, Removed Participant",
"type": "gauge"
} }
], ],
"refresh": "", "refresh": "",
@ -170,8 +453,8 @@
}, },
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "Jicofo Logs", "title": "Jicofo Dashboard",
"uid": "f2dcfe84-3c27-4b1d-8583-bc2c97a8d22d", "uid": "f2dcfe84-3c27-4b1d-8583-bc2c97a8d22d",
"version": 5, "version": 20,
"weekStart": "" "weekStart": ""
} }

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

@ -0,0 +1,275 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 5,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "{exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-web\"",
"queryType": "range",
"refId": "A"
}
],
"title": "Jitsi Web Logs",
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 4,
"options": {
"displayLabels": [
"percent"
],
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "right",
"showLegend": false,
"values": []
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-web\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)",
"legendFormat": "Level: {{attributes_level}}",
"queryType": "range",
"refId": "A"
}
],
"title": "Jitsi Web Log Levels Pie Chart",
"type": "piechart"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 3,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"valueMode": "color"
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum by (attributes_level, attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-web\"| line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
"legendFormat": "Level: {{attributes_level}}",
"queryType": "range",
"refId": "A"
}
],
"title": "Jitsi Web Log Levels Bar Chart",
"type": "bargauge"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "semi-dark-red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 2,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum(count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-web\" |= \"GET\" [5m])) by (instance)",
"queryType": "range",
"refId": "A"
}
],
"title": "Jitsi Web Sum of 'GET' Log Counts",
"type": "gauge"
}
],
"refresh": "",
"schemaVersion": 38,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Jitsi Web Dashboard",
"uid": "d1f8ba02-9b8d-42c7-8934-d30ea3559a49",
"version": 4,
"weekStart": ""
}

@ -18,14 +18,50 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 2,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
{ {
"datasource": { "datasource": {
"type": "loki", "type": "loki",
"uid": "b8130a28-4867-4668-917d-539c93852857" "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 3,
"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\"} | json | attributes_attrs_service=\"jitsi-jvb\"",
"queryType": "range",
"refId": "A"
}
],
"title": "JVB Logs",
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -46,7 +82,7 @@
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 12,
"y": 0 "y": 0
}, },
"id": 2, "id": 2,
@ -80,7 +116,7 @@
"uid": "b8130a28-4867-4668-917d-539c93852857" "uid": "b8130a28-4867-4668-917d-539c93852857"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_log_file_name=\"jvb.log\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)", "expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jvb\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)",
"legendFormat": "Level: {{attributes_level}}", "legendFormat": "Level: {{attributes_level}}",
"queryType": "range", "queryType": "range",
"refId": "A" "refId": "A"
@ -92,7 +128,7 @@
{ {
"datasource": { "datasource": {
"type": "loki", "type": "loki",
"uid": "b8130a28-4867-4668-917d-539c93852857" "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -148,7 +184,7 @@
"uid": "b8130a28-4867-4668-917d-539c93852857" "uid": "b8130a28-4867-4668-917d-539c93852857"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum by (attributes_level, attributes_log_file_name) (\n rate({exporter=\"OTLP\"} | json|attributes_log_file_name=\"jvb.log\"| line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_log_file_name>: <_>\"[5m]))", "expr": "sum by (attributes_level, attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jvb\" | line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
"legendFormat": "Level: {{attributes_level}}", "legendFormat": "Level: {{attributes_level}}",
"queryType": "range", "queryType": "range",
"refId": "A" "refId": "A"
@ -172,6 +208,6 @@
"timezone": "", "timezone": "",
"title": "JVB Dashboard", "title": "JVB Dashboard",
"uid": "d53a9efb-ca3b-4f47-af3a-9638de8a35fa", "uid": "d53a9efb-ca3b-4f47-af3a-9638de8a35fa",
"version": 1, "version": 10,
"weekStart": "" "weekStart": ""
} }

@ -0,0 +1,408 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 6,
"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\"} | json | attributes_attrs_service=\"jitsi-prosody\"",
"queryType": "range",
"refId": "A"
}
],
"title": "Prosody Logs",
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 1,
"options": {
"displayLabels": [
"percent"
],
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "right",
"showLegend": false,
"values": []
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-prosody\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)",
"legendFormat": "Level: {{attributes_level}}",
"queryType": "range",
"refId": "A"
}
],
"title": "Prosody Log Levels Pie Chart",
"type": "piechart"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 7,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"valueMode": "color"
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum by (attributes_level, attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-prosody\"| line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
"legendFormat": "Level: {{attributes_level}}",
"queryType": "range",
"refId": "A"
}
],
"title": "Prosody Log Levels Bar Chart",
"type": "bargauge"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 5,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum(count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-prosody\" |~ \"Starting room\" [1m]))",
"queryType": "range",
"refId": "A"
}
],
"title": "Prosody Total Number of Rooms Started",
"type": "gauge"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 3,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum(count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-prosody\" |~ \"Client disconnected\" [1m]))",
"queryType": "range",
"refId": "A"
}
],
"title": "Prosody Total Number of Clients Disconnected",
"type": "gauge"
},
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 2,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
},
"editorMode": "code",
"expr": "sum(count_over_time({exporter=\"OTLP\"} | json |attributes_attrs_service=\"jitsi-prosody\" |~ \"Client connected\" [1m]))",
"queryType": "range",
"refId": "A"
}
],
"title": "Prosody Total Number of Clients Connected",
"type": "gauge"
}
],
"refresh": "",
"schemaVersion": 38,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Prosody Dashboard",
"uid": "fe2d57bc-b09b-4688-8037-f642047b0cfc",
"version": 1,
"weekStart": ""
}
Loading…
Cancel
Save