Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator: Adds structured metadata dashboards #11330

Closed
wants to merge 12 commits into from
1 change: 1 addition & 0 deletions operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Main

- [11330](https://github.com/grafana/loki/pull/11330) **JoaoBraveCoding**: Update loki-mixins, reworked retention dashboard, new structure metadata write dashboard
- [11357](https://github.com/grafana/loki/pull/11357) **periklis**: Fix storing authentication credentials in the Loki ConfigMap
- [11393](https://github.com/grafana/loki/pull/11393) **periklis**: Add infra annotations for OpenShift based deployments
- [11094](https://github.com/grafana/loki/pull/11094) **periklis**: Add support for blocking queries per tenant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@
"steppedLine": false,
"targets": [
{
"expr": "cortex_ingester_flush_queue_length{namespace=\"$namespace\", job=~\".+-ingester-http\"}",
"expr": "loki_ingester_flush_queue_length{namespace=\"$namespace\", job=~\".+-ingester-http\"} or cortex_ingester_flush_queue_length{namespace=\"$namespace\", job=~\".+-ingester-http\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,17 @@
"dashes": false,
"datasource": "$datasource",
"fieldConfig": {
"custom": {
"fillOpacity": 50,
"showPoints": "never",
"stacking": {
"group": "A",
"mode": "normal"
"defaults": {
"custom": {
"fillOpacity": 50,
"showPoints": "never",
"stacking": {
"group": "A",
"mode": "normal"
}
}
}
},
"unit": "s"
},
"fill": 1,
"id": 3,
Expand Down Expand Up @@ -482,14 +485,17 @@
"dashes": false,
"datasource": "$datasource",
"fieldConfig": {
"custom": {
"fillOpacity": 50,
"showPoints": "never",
"stacking": {
"group": "A",
"mode": "normal"
"defaults": {
"custom": {
"fillOpacity": 50,
"showPoints": "never",
"stacking": {
"group": "A",
"mode": "normal"
}
}
}
},
"unit": "s"
},
"fill": 1,
"id": 6,
Expand Down Expand Up @@ -755,14 +761,17 @@
"dashes": false,
"datasource": "$datasource",
"fieldConfig": {
"custom": {
"fillOpacity": 50,
"showPoints": "never",
"stacking": {
"group": "A",
"mode": "normal"
"defaults": {
"custom": {
"fillOpacity": 50,
"showPoints": "never",
"stacking": {
"group": "A",
"mode": "normal"
}
}
}
},
"unit": "s"
},
"fill": 1,
"id": 9,
Expand Down Expand Up @@ -1028,14 +1037,17 @@
"dashes": false,
"datasource": "$datasource",
"fieldConfig": {
"custom": {
"fillOpacity": 50,
"showPoints": "never",
"stacking": {
"group": "A",
"mode": "normal"
"defaults": {
"custom": {
"fillOpacity": 50,
"showPoints": "never",
"stacking": {
"group": "A",
"mode": "normal"
}
}
}
},
"unit": "s"
},
"fill": 1,
"id": 15,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
"renderer": "flot",
"seriesOverrides": [ ],
"spaceLength": 10,
"span": 4,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
Expand All @@ -389,7 +389,7 @@
"thresholds": [ ],
"timeFrom": null,
"timeShift": null,
"title": "Last Compact and Mark Operation Success",
"title": "Last Compact Tables Operation Success",
"tooltip": {
"shared": true,
"sort": 2,
Expand Down Expand Up @@ -449,7 +449,7 @@
"renderer": "flot",
"seriesOverrides": [ ],
"spaceLength": 10,
"span": 4,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
Expand All @@ -465,7 +465,7 @@
"thresholds": [ ],
"timeFrom": null,
"timeShift": null,
"title": "Compact and Mark Operations Duration",
"title": "Compact Tables Operations Duration",
"tooltip": {
"shared": true,
"sort": 2,
Expand Down Expand Up @@ -497,15 +497,27 @@
"show": false
}
]
},
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Compaction",
"titleSize": "h6"
},
{
"collapse": false,
"height": "250px",
"panels": [
{
"aliasColors": { },
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fill": 1,
"id": 6,
"id": 7,
"legend": {
"avg": false,
"current": false,
Expand All @@ -525,7 +537,7 @@
"renderer": "flot",
"seriesOverrides": [ ],
"spaceLength": 10,
"span": 4,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
Expand All @@ -541,7 +553,7 @@
"thresholds": [ ],
"timeFrom": null,
"timeShift": null,
"title": "Compact and Mark Operations Per Status",
"title": "Compact Tables Operations Per Status",
"tooltip": {
"shared": true,
"sort": 2,
Expand Down Expand Up @@ -579,7 +591,7 @@
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Compact and Mark",
"title": "",
"titleSize": "h6"
},
{
Expand All @@ -593,7 +605,7 @@
"dashes": false,
"datasource": "$datasource",
"fill": 10,
"id": 7,
"id": 11,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -669,7 +681,7 @@
"dashes": false,
"datasource": "$datasource",
"fill": 10,
"id": 8,
"id": 12,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -745,7 +757,7 @@
"dashes": false,
"datasource": "$datasource",
"fill": 10,
"id": 9,
"id": 13,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -834,7 +846,7 @@
"datasource": "$datasource",
"fill": 1,
"format": "short",
"id": 10,
"id": 14,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -909,7 +921,7 @@
"dashes": false,
"datasource": "$datasource",
"fill": 1,
"id": 11,
"id": 15,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -1014,7 +1026,7 @@
"datasource": "$datasource",
"fill": 1,
"format": "short",
"id": 12,
"id": 16,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -1089,7 +1101,7 @@
"dashes": false,
"datasource": "$datasource",
"fill": 1,
"id": 13,
"id": 17,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -1193,7 +1205,7 @@
"dashes": false,
"datasource": "$datasource",
"fill": 1,
"id": 14,
"id": 18,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -1269,7 +1281,7 @@
"dashes": false,
"datasource": "$datasource",
"fill": 1,
"id": 15,
"id": 19,
"legend": {
"avg": false,
"current": false,
Expand Down Expand Up @@ -1345,7 +1357,7 @@
"dashes": false,
"datasource": "$datasource",
"fill": 1,
"id": 16,
"id": 20,
"legend": {
"avg": false,
"current": false,
Expand Down