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:
@@ -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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user