feat(observability): ✨ add VictoriaLogs log panels to platform, forgejo, argocd dashboards
This commit is contained in:
parent
bcf583a055
commit
b6fbd3f6eb
3 changed files with 50 additions and 0 deletions
|
|
@ -158,6 +158,28 @@ spec:
|
|||
"title": "OAuth Apps",
|
||||
"type": "stat",
|
||||
"targets": [{"expr": "gitea_oauths{cluster_environment=~\"$cluster_environment\"}", "legendFormat": "{{cluster_environment}}"}]
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {"h": 1, "w": 24, "x": 0, "y": 15},
|
||||
"title": "Forgejo Logs",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {"type": "victoriametrics-logs-datasource"},
|
||||
"gridPos": {"h": 10, "w": 12, "x": 0, "y": 16},
|
||||
"title": "Forgejo Server Logs",
|
||||
"type": "logs",
|
||||
"targets": [{"expr": "{cluster_environment=~\"$cluster_environment\", kubernetes.namespace=\"gitea\"}", "refId": "A"}],
|
||||
"options": {"showTime": true, "showLabels": true, "wrapLogMessage": true, "enableLogDetails": true, "sortOrder": "Descending"}
|
||||
},
|
||||
{
|
||||
"datasource": {"type": "victoriametrics-logs-datasource"},
|
||||
"gridPos": {"h": 10, "w": 12, "x": 12, "y": 16},
|
||||
"title": "Forgejo Errors",
|
||||
"type": "logs",
|
||||
"targets": [{"expr": "{cluster_environment=~\"$cluster_environment\", kubernetes.namespace=\"gitea\"} error OR Error OR ERROR OR panic", "refId": "A"}],
|
||||
"options": {"showTime": true, "showLabels": true, "wrapLogMessage": true, "enableLogDetails": true, "sortOrder": "Descending"}
|
||||
}
|
||||
],
|
||||
"schemaVersion": 39,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue