monitoring: add logs to scraping job dashboard

This commit is contained in:
ibizaman 2025-11-02 21:34:08 +01:00
parent 4568c45e85
commit 8a1d5acc4f

View file

@ -21,6 +21,50 @@
"id": 5,
"links": [],
"panels": [
{
"datasource": {
"type": "loki",
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 5,
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "12.2.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
},
"direction": "backward",
"editorMode": "code",
"expr": "{unit=~\"prometheus-.*-exporter.service\"}",
"queryType": "range",
"refId": "A"
}
],
"title": "Exporter Logs",
"type": "logs"
},
{
"datasource": {
"type": "prometheus",
@ -286,5 +330,5 @@
"timezone": "",
"title": "Scraping Jobs",
"uid": "debb763d-77aa-47bd-9290-2e02583c8ed2",
"version": 22
"version": 24
}