Skip to content

Commit

Permalink
Auto update mimir dashboards
Browse files Browse the repository at this point in the history
Signed-off-by: QuentinBisson <[email protected]>
  • Loading branch information
QuentinBisson committed Apr 16, 2024
1 parent 418fe5f commit 7e7c849
Show file tree
Hide file tree
Showing 46 changed files with 28,249 additions and 6,996 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add script to update all mimir mixins.

## [3.10.4] - 2024-04-10

### Fixed
Expand Down
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 for CAPA controllers",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 121,
"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-provider-aws|capa-iam-operator|aws-resolver-rules-operator|irsa-operator\"} |~ `(?i)error` |= `$cluster` | logfmt",
"queryType": "range",
"refId": "A"
}
],
"title": "Agregated error logs for all CAPA controllers - capa-controller-manager, capa-iam-operator,aws-resolver-rules-operator,irsa-operator",
"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-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "CAPA - agregated error logs for capa controllers",
"uid": "bdiako8tt1b7kc",
"version": 2,
"weekStart": ""
}
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": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"list": []
},
"description": "Elasticsearch cluster stats",
"editable": false,
"editable": true,
"gnetId": 2322,
"graphTooltip": 1,
"id": null,
Expand Down
Loading

0 comments on commit 7e7c849

Please sign in to comment.