Skip to content

Commit

Permalink
Update loki-mixin to monitoring-mixins-v1.7.0 (#648)
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 Jan 22, 2024
1 parent e5c121e commit f50b813
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 199 deletions.
6 changes: 3 additions & 3 deletions charts/loki-mixin/Chart.yaml
Expand Up @@ -27,8 +27,8 @@ keywords:
- loki
- monitoring-mixin
- portefaix
version: 1.6.0
appVersion: 2.9.2
version: 1.7.0
appVersion: 2.9.3

maintainers:
- name: nlamirault
Expand All @@ -52,4 +52,4 @@ annotations:
url: https://keybase.io/nlamirault/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: loki-mixin v2.9.2
description: loki-mixin v2.9.3
28 changes: 3 additions & 25 deletions charts/loki-mixin/dashboards/loki-chunks.json
Expand Up @@ -14,7 +14,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0"
"monitoring-mixins-v1.7.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -61,7 +61,6 @@
{
"expr": "sum(loki_ingester_memory_chunks{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "series",
"legendLink": null
}
Expand Down Expand Up @@ -136,7 +135,6 @@
{
"expr": "sum(loki_ingester_memory_chunks{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}) / sum(loki_ingester_memory_streams{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "chunks",
"legendLink": null
}
Expand Down Expand Up @@ -223,21 +221,18 @@
{
"expr": "histogram_quantile(0.99, sum(rate(loki_ingester_chunk_utilization_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) by (le)) * 1",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99th Percentile",
"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"
},
{
"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"
}
Expand Down Expand Up @@ -312,21 +307,18 @@
{
"expr": "histogram_quantile(0.99, sum(rate(loki_ingester_chunk_age_seconds_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) by (le)) * 1e3",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99th Percentile",
"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"
},
{
"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"
}
Expand Down Expand Up @@ -413,21 +405,18 @@
{
"expr": "histogram_quantile(0.99, sum(rate(loki_ingester_chunk_entries_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) by (le)) * 1",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99th Percentile",
"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"
},
{
"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"
}
Expand Down Expand Up @@ -502,7 +491,6 @@
{
"expr": "sum(rate(loki_chunk_store_index_entries_per_chunk_sum{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[5m])) / sum(rate(loki_chunk_store_index_entries_per_chunk_count{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[5m]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Index Entries",
"legendLink": null
}
Expand Down Expand Up @@ -589,7 +577,6 @@
{
"expr": "cortex_ingester_flush_queue_length{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendLink": null
}
Expand Down Expand Up @@ -674,7 +661,6 @@
{
"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"
}
Expand Down Expand Up @@ -761,7 +747,6 @@
{
"expr": "sum(rate(loki_ingester_chunks_flushed_total{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendLink": null
}
Expand Down Expand Up @@ -836,7 +821,6 @@
{
"expr": "sum by (reason) (rate(loki_ingester_chunks_flushed_total{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval])) / ignoring(reason) group_left sum(rate(loki_ingester_chunks_flushed_total{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{reason}}",
"legendLink": null
}
Expand Down Expand Up @@ -1047,21 +1031,18 @@
{
"expr": "histogram_quantile(0.99, sum(rate(loki_ingester_chunk_size_bytes_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99",
"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
},
{
"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
}
Expand Down Expand Up @@ -1148,21 +1129,18 @@
{
"expr": "histogram_quantile(0.5, sum(rate(loki_ingester_chunk_bounds_hours_bucket{cluster=\"$cluster\", job=~\"$namespace/ingester.*\"}[5m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p50",
"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
},
{
"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
}
Expand Down Expand Up @@ -1216,7 +1194,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0",
"monitoring-mixins-v1.7.0",
"portefaix"
],
"templating": {
Expand All @@ -1227,7 +1205,7 @@
"value": "default"
},
"hide": 0,
"label": "Data Source",
"label": "Data source",
"name": "datasource",
"options": [],
"query": "prometheus",
Expand Down
16 changes: 3 additions & 13 deletions charts/loki-mixin/dashboards/loki-deletion.json
Expand Up @@ -14,7 +14,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0"
"monitoring-mixins-v1.7.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -63,7 +63,6 @@
"expr": "sum(loki_compactor_pending_delete_requests_count{cluster=~\"$cluster\", namespace=~\"$namespace\"})",
"format": "time_series",
"instant": true,
"intervalFactor": 2,
"refId": "A"
}
],
Expand Down Expand Up @@ -139,7 +138,6 @@
"expr": "max(loki_compactor_oldest_pending_delete_request_age_seconds{cluster=~\"$cluster\", namespace=~\"$namespace\"})",
"format": "time_series",
"instant": true,
"intervalFactor": 2,
"refId": "A"
}
],
Expand Down Expand Up @@ -225,7 +223,6 @@
{
"expr": "(loki_compactor_delete_requests_received_total{cluster=~\"$cluster\", namespace=~\"$namespace\"} or on() vector(0)) - on () (loki_compactor_delete_requests_processed_total{cluster=~\"$cluster\", namespace=~\"$namespace\"} or on () vector(0))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "in progress",
"legendLink": null
}
Expand Down Expand Up @@ -300,7 +297,6 @@
{
"expr": "sum(increase(loki_compactor_delete_requests_received_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[1d]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "received",
"legendLink": null
}
Expand Down Expand Up @@ -375,7 +371,6 @@
{
"expr": "sum(increase(loki_compactor_delete_requests_processed_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[1d]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "processed",
"legendLink": null
}
Expand Down Expand Up @@ -462,7 +457,6 @@
{
"expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"compactor\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendLink": null
}
Expand Down Expand Up @@ -537,7 +531,6 @@
{
"expr": "go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"compactor\"} / 1024 / 1024 ",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": " {{pod}} ",
"legendLink": null
}
Expand Down Expand Up @@ -612,7 +605,6 @@
{
"expr": "loki_boltdb_shipper_compact_tables_operation_duration_seconds{cluster=~\"$cluster\", namespace=~\"$namespace\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendLink": null
}
Expand Down Expand Up @@ -699,7 +691,6 @@
{
"expr": "sum(increase(loki_compactor_load_pending_requests_attempts_total{status=\"fail\", cluster=~\"$cluster\", namespace=~\"$namespace\"}[1h]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "failures",
"legendLink": null
}
Expand Down Expand Up @@ -774,7 +765,6 @@
{
"expr": "sum(rate(loki_compactor_deleted_lines{cluster=~\"$cluster\",job=~\"$namespace/compactor\"}[$__rate_interval])) by (user)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{user}}",
"legendLink": null
}
Expand Down Expand Up @@ -866,7 +856,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0",
"monitoring-mixins-v1.7.0",
"portefaix"
],
"templating": {
Expand All @@ -877,7 +867,7 @@
"value": "default"
},
"hide": 0,
"label": "Data Source",
"label": "Data source",
"name": "datasource",
"options": [],
"query": "prometheus",
Expand Down
6 changes: 3 additions & 3 deletions charts/loki-mixin/dashboards/loki-logs.json
Expand Up @@ -15,7 +15,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0"
"monitoring-mixins-v1.7.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -853,7 +853,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0",
"monitoring-mixins-v1.7.0",
"portefaix"
],
"templating": {
Expand All @@ -864,7 +864,7 @@
"value": "default"
},
"hide": 0,
"label": "Data Source",
"label": "Data source",
"name": "datasource",
"options": [],
"query": "prometheus",
Expand Down
6 changes: 3 additions & 3 deletions charts/loki-mixin/dashboards/loki-mixin-recording-rules.json
Expand Up @@ -16,7 +16,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0"
"monitoring-mixins-v1.7.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -592,7 +592,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0",
"monitoring-mixins-v1.7.0",
"portefaix"
],
"templating": {
Expand All @@ -603,7 +603,7 @@
"value": "default"
},
"hide": 0,
"label": "Data Source",
"label": "Data source",
"name": "datasource",
"options": [],
"query": "prometheus",
Expand Down
6 changes: 3 additions & 3 deletions charts/loki-mixin/dashboards/loki-operational.json
Expand Up @@ -15,7 +15,7 @@
"keepTime": true,
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0"
"monitoring-mixins-v1.7.0"
],
"targetBlank": false,
"title": "Loki Dashboards",
Expand Down Expand Up @@ -6564,7 +6564,7 @@
"style": "dark",
"tags": [
"loki-mixin",
"monitoring-mixins-v1.6.0",
"monitoring-mixins-v1.7.0",
"portefaix"
],
"templating": {
Expand All @@ -6575,7 +6575,7 @@
"value": "default"
},
"hide": 0,
"label": "Data Source",
"label": "Data source",
"name": "datasource",
"options": [],
"query": "prometheus",
Expand Down

0 comments on commit f50b813

Please sign in to comment.