feat(hub): Loki (config+datasource), panel de logs en node detail, stat nodos caídos + overview compacto, loki_url en deploy_agent

This commit is contained in:
Egutierrez
2026-06-07 13:22:00 +02:00
parent e87069d366
commit a099488a9d
5 changed files with 111 additions and 47 deletions
+9
View File
@@ -160,6 +160,15 @@
],
"fieldConfig": { "defaults": {}, "overrides": [ { "matcher": { "id": "byName", "options": "RAM %" }, "properties": [ { "id": "unit", "value": "percent" }, { "id": "custom.cellOptions", "value": { "type": "gauge" } }, { "id": "max", "value": 100 } ] } ] },
"options": { "sortBy": [ { "displayName": "RAM %", "desc": true } ] }
},
{
"id": 13,
"type": "logs",
"title": "Logs (journald)",
"gridPos": { "h": 11, "w": 24, "x": 0, "y": 41 },
"datasource": { "type": "loki", "uid": "loki" },
"targets": [ { "refId": "A", "expr": "{instance=\"$node\", job=\"journald\"}", "datasource": { "type": "loki", "uid": "loki" } } ],
"options": { "showTime": true, "wrapLogMessage": true, "prettifyLogMessage": false, "enableLogDetails": true, "dedupStrategy": "none", "sortOrder": "Descending" }
}
]
}