Skip to content

Commit

Permalink
Update loki-mixin to monitoring-mixins-v1.6.0 (#615)
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Lamirault <nlamirault@users.noreply.github.com>
Co-authored-by: Nicolas Lamirault <nlamirault@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nlamirault committed Nov 19, 2023
1 parent 017c2f5 commit 5dcfd92
Show file tree
Hide file tree
Showing 11 changed files with 746 additions and 353 deletions.
6 changes: 3 additions & 3 deletions charts/loki-mixin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ keywords:
- loki
- monitoring-mixin
- portefaix
version: 1.5.0
appVersion: 2.7.0
version: 1.6.0
appVersion: 2.9.2

maintainers:
- name: nlamirault
Expand All @@ -52,4 +52,4 @@ annotations:
url: https://keybase.io/nlamirault/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Includes additionalLabels and additionalAnnotations on configmaps
description: loki-mixin v2.9.2
74 changes: 27 additions & 47 deletions charts/loki-mixin/dashboards/loki-chunks.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.3.0"
"monitoring-mixins-v1.6.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -63,8 +63,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "series",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -139,8 +138,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "chunks",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -227,24 +225,21 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99th Percentile",
"refId": "A",
"step": 10
"refId": "A"
},
{
"expr": "histogram_quantile(0.50, sum(rate(loki_ingester_chunk_utilization_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) by (le)) * 1",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "50th Percentile",
"refId": "B",
"step": 10
"refId": "B"
},
{
"expr": "sum(rate(loki_ingester_chunk_utilization_sum{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) * 1 / sum(rate(loki_ingester_chunk_utilization_count{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Average",
"refId": "C",
"step": 10
"refId": "C"
}
],
"thresholds": [],
Expand Down Expand Up @@ -319,24 +314,21 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99th Percentile",
"refId": "A",
"step": 10
"refId": "A"
},
{
"expr": "histogram_quantile(0.50, sum(rate(loki_ingester_chunk_age_seconds_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) by (le)) * 1e3",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "50th Percentile",
"refId": "B",
"step": 10
"refId": "B"
},
{
"expr": "sum(rate(loki_ingester_chunk_age_seconds_sum{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) * 1e3 / sum(rate(loki_ingester_chunk_age_seconds_count{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Average",
"refId": "C",
"step": 10
"refId": "C"
}
],
"thresholds": [],
Expand Down Expand Up @@ -423,24 +415,21 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99th Percentile",
"refId": "A",
"step": 10
"refId": "A"
},
{
"expr": "histogram_quantile(0.50, sum(rate(loki_ingester_chunk_entries_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) by (le)) * 1",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "50th Percentile",
"refId": "B",
"step": 10
"refId": "B"
},
{
"expr": "sum(rate(loki_ingester_chunk_entries_sum{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) * 1 / sum(rate(loki_ingester_chunk_entries_count{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Average",
"refId": "C",
"step": 10
"refId": "C"
}
],
"thresholds": [],
Expand Down Expand Up @@ -515,8 +504,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Index Entries",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -603,8 +591,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -650,6 +637,8 @@
"3xx": "#6ED0E0",
"4xx": "#EF843C",
"5xx": "#E24D42",
"OK": "#7EB26D",
"cancel": "#A9A9A9",
"error": "#E24D42",
"success": "#7EB26D"
},
Expand Down Expand Up @@ -683,12 +672,11 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (status) (\n label_replace(label_replace(rate(loki_ingester_chunk_age_seconds_count{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n",
"expr": "sum by (status) (\n label_replace(label_replace(rate(loki_ingester_chunk_age_seconds_count{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-zA-Z]+)\"))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{status}}",
"refId": "A",
"step": 10
"refId": "A"
}
],
"thresholds": [],
Expand Down Expand Up @@ -775,8 +763,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -851,8 +838,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{reason}}",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -1063,24 +1049,21 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99",
"legendLink": null,
"step": 10
"legendLink": null
},
{
"expr": "histogram_quantile(0.90, sum(rate(loki_ingester_chunk_size_bytes_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p90",
"legendLink": null,
"step": 10
"legendLink": null
},
{
"expr": "histogram_quantile(0.50, sum(rate(loki_ingester_chunk_size_bytes_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p50",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -1167,24 +1150,21 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p50",
"legendLink": null,
"step": 10
"legendLink": null
},
{
"expr": "histogram_quantile(0.99, sum(rate(loki_ingester_chunk_bounds_hours_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[5m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99",
"legendLink": null,
"step": 10
"legendLink": null
},
{
"expr": "sum(rate(loki_ingester_chunk_bounds_hours_sum{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[5m])) / sum(rate(loki_ingester_chunk_bounds_hours_count{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[5m]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "avg",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -1236,7 +1216,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.3.0",
"monitoring-mixins-v1.6.0",
"portefaix"
],
"templating": {
Expand Down
28 changes: 10 additions & 18 deletions charts/loki-mixin/dashboards/loki-deletion.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.3.0"
"monitoring-mixins-v1.6.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -227,8 +227,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "in progress",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -303,8 +302,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "received",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -379,8 +377,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "processed",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -467,8 +464,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -543,8 +539,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": " {{pod}} ",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -619,8 +614,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -707,8 +701,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "failures",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -783,8 +776,7 @@
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{user}}",
"legendLink": null,
"step": 10
"legendLink": null
}
],
"thresholds": [],
Expand Down Expand Up @@ -874,7 +866,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.3.0",
"monitoring-mixins-v1.6.0",
"portefaix"
],
"templating": {
Expand Down
4 changes: 2 additions & 2 deletions charts/loki-mixin/dashboards/loki-logs.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.3.0"
"monitoring-mixins-v1.6.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -853,7 +853,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.3.0",
"monitoring-mixins-v1.6.0",
"portefaix"
],
"templating": {
Expand Down
4 changes: 2 additions & 2 deletions charts/loki-mixin/dashboards/loki-mixin-recording-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.3.0"
"monitoring-mixins-v1.6.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -592,7 +592,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.3.0",
"monitoring-mixins-v1.6.0",
"portefaix"
],
"templating": {
Expand Down

0 comments on commit 5dcfd92

Please sign in to comment.