-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
capi-add-aggragated-error-logs (#483)
* capi-add-aggragated-error-logs * fix-cluster-app-list
- Loading branch information
Showing
1 changed file
with
142 additions
and
0 deletions.
There are no files selected for viewing
142 changes: 142 additions & 0 deletions
142
...ds/charts/private_dashboards_al/dashboards/shared/private/capi-aggregated-error-logs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"description": "aggregate error logs for specific cluster ID from all 3 CAPI controllers", | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": 119, | ||
"links": [], | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "loki", | ||
"uid": "${loki_datasource}" | ||
}, | ||
"description": "", | ||
"gridPos": { | ||
"h": 21, | ||
"w": 24, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 1, | ||
"options": { | ||
"dedupStrategy": "none", | ||
"enableLogDetails": true, | ||
"prettifyLogMessage": false, | ||
"showCommonLabels": false, | ||
"showLabels": false, | ||
"showTime": false, | ||
"sortOrder": "Descending", | ||
"wrapLogMessage": true | ||
}, | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "loki", | ||
"uid": "${loki_datasource}" | ||
}, | ||
"editorMode": "builder", | ||
"expr": "{app=~\"cluster-api\"} |~ `(?i)error` |= `$cluster` | logfmt", | ||
"queryType": "range", | ||
"refId": "A" | ||
} | ||
], | ||
"title": "Agregated error logs for all CAPI controllers", | ||
"transparent": true, | ||
"type": "logs" | ||
} | ||
], | ||
"schemaVersion": 39, | ||
"tags": [ | ||
"owner:team-phoenix", | ||
"team:phoenix", | ||
"provider:capi" | ||
], | ||
"templating": { | ||
"list": [ | ||
{ | ||
"current": { | ||
}, | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${datasource}" | ||
}, | ||
"definition": "label_values(up{app=\"kubernetes\"},cluster_id)", | ||
"hide": 0, | ||
"includeAll": false, | ||
"label": "Cluster", | ||
"multi": false, | ||
"name": "cluster", | ||
"options": [], | ||
"query": { | ||
"qryType": 1, | ||
"query": "label_values(up{app=\"kubernetes\"},cluster_id)", | ||
"refId": "PrometheusVariableQueryEditor-VariableQuery" | ||
}, | ||
"refresh": 1, | ||
"regex": "", | ||
"skipUrlSync": false, | ||
"sort": 0, | ||
"type": "query" | ||
}, | ||
{ | ||
"current": { | ||
}, | ||
"hide": 0, | ||
"includeAll": false, | ||
"multi": false, | ||
"name": "loki_datasource", | ||
"options": [], | ||
"query": "loki", | ||
"refresh": 1, | ||
"regex": "", | ||
"skipUrlSync": false, | ||
"type": "datasource" | ||
}, | ||
{ | ||
"current": { | ||
"selected": false, | ||
"text": "Mimir", | ||
"value": "mimir" | ||
}, | ||
"hide": 0, | ||
"includeAll": false, | ||
"multi": false, | ||
"name": "datasource", | ||
"options": [], | ||
"query": "prometheus", | ||
"queryValue": "", | ||
"refresh": 1, | ||
"regex": "", | ||
"skipUrlSync": false, | ||
"type": "datasource" | ||
} | ||
] | ||
}, | ||
"time": { | ||
"from": "now-3h", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "browser", | ||
"title": "CAPI - agregated error logs for capi controllers", | ||
"uid": "bdi7iswg81czkcasd", | ||
"version": 9, | ||
"weekStart": "" | ||
} |