Skip to content

Commit

Permalink
chore: Add dashboards for Bloom Compactor and Gateway (#12855)
Browse files Browse the repository at this point in the history
  • Loading branch information
salvacorts authored May 3, 2024
1 parent 74b28ad commit 079ba64
Show file tree
Hide file tree
Showing 10 changed files with 30,585 additions and 2 deletions.
5,191 changes: 5,191 additions & 0 deletions production/loki-mixin-compiled-ssd/dashboards/loki-bloom-compactor.json

Large diffs are not rendered by default.

5,035 changes: 5,035 additions & 0 deletions production/loki-mixin-compiled-ssd/dashboards/loki-bloom-gateway.json

Large diffs are not rendered by default.

5,191 changes: 5,191 additions & 0 deletions production/loki-mixin-compiled/dashboards/loki-bloom-compactor.json

Large diffs are not rendered by default.

5,035 changes: 5,035 additions & 0 deletions production/loki-mixin-compiled/dashboards/loki-bloom-gateway.json

Large diffs are not rendered by default.

76 changes: 75 additions & 1 deletion production/loki-mixin/.lint
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ exclusions:
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Writes"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Gateway"
template-datasource-rule:
reason: "Based on new convention we are using variable names prometheus_datasource and loki_datasource where as linter expects 'datasource'"
entries:
Expand All @@ -25,6 +27,8 @@ exclusions:
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Writes"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Gateway"
template-instance-rule:
reason: "These dashboards are cluster overview dashboards, whereas the instance refers to specific pods or nodes"
entries:
Expand All @@ -38,6 +42,8 @@ exclusions:
- dashboard: "Loki / Reads Resources"
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Gateway"
target-instance-rule:
reason: "These dashboards are cluster overview dashboards, whereas the instance refers to specific pods or nodes"
entries:
Expand All @@ -51,6 +57,8 @@ exclusions:
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Writes"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Gateway"
target-job-rule:
reason: "We don't have/need a job template selector for this dashboard"
entries:
Expand All @@ -64,6 +72,8 @@ exclusions:
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Writes"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Gateway"
target-promql-rule:
reason: "The following are logql queries, not promql"
entries:
Expand All @@ -73,12 +83,22 @@ exclusions:
panel: "Bad Words"
- dashboard: "Loki / Logs"
panel: "Log Rate"
- dashboard: "Loki / Bloom Gateway"
panel: "Errors Rate"
- dashboard: "Loki / Bloom Gateway"
panel: "Process tasks with bounds"
- dashboard: "Loki / Bloom Gateway"
panel: "Download enqueue duration"
- dashboard: "Loki / Bloom Compactor"
panel: "Errors Rate"
panel-datasource-rule:
reason: "Loki datasource variable is being named as loki_datasource now while linter expects 'datasource'"
entries:
- dashboard:
- dashboard: "Loki / Logs"
panel: "Log Rate"
- dashboard: "Loki / Bloom Gateway"
panel: "Filter ratio"
target-rate-interval-rule:
reason: "This query is using an offset, the lint failure here is not for a rate interval"
entries:
Expand Down Expand Up @@ -162,4 +182,58 @@ exclusions:
- dashboard: "Loki / Operational"
panel: "Query Pages"
- dashboard: "Loki / Operational"
panel: "Throttled Rate"
panel: "Throttled Rate"
- dashboard: "Loki / Bloom Compactor"
panel: "Errors Rate"
- dashboard: "Loki / Bloom Compactor"
panel: "Required CPUs to not lag behind"
- dashboard: "Loki / Bloom Compactor"
panel: "Tokens rate (millions)"
- dashboard: "Loki / Bloom Compactor"
panel: "Created Blocks"
- dashboard: "Loki / Bloom Compactor"
panel: "Deleted Blocks"
- dashboard: "Loki / Bloom Compactor"
panel: "Blocks reused"
- dashboard: "Loki / Bloom Compactor"
panel: "Created Metas"
- dashboard: "Loki / Bloom Compactor"
panel: "Deleted Metas"
- dashboard: "Loki / Bloom Compactor"
panel: "Tenants"
- dashboard: "Loki / Bloom Compactor"
panel: "Tenants per pod"
- dashboard: "Loki / Bloom Compactor"
panel: "Tenant Tables"
- dashboard: "Loki / Bloom Compactor"
panel: "Tenant Tables per pod"
- dashboard: "Loki / Bloom Compactor"
panel: "Series"
- dashboard: "Loki / Bloom Compactor"
panel: "avg series per compaction by pod"
- dashboard: "Loki / Bloom Compactor"
panel: "CPU"
- dashboard: "Loki / Bloom Compactor"
panel: "CPU per pod"
- dashboard: "Loki / Bloom Gateway"
panel: "Errors Rate"
- dashboard: "Loki / Bloom Gateway"
panel: "CPU"
- dashboard: "Loki / Bloom Gateway"
panel: "GC rate"
- dashboard: "Loki / Bloom Gateway"
panel: "QPS"
- dashboard: "Loki / Bloom Gateway"
panel: "QPS per Pod"
- dashboard: "Loki / Bloom Gateway"
panel: "Tasks dequeued/processed"
- dashboard: "Loki / Bloom Gateway"
panel: "Process tasks with bounds"
- dashboard: "Loki / Bloom Gateway"
panel: "Download enqueue duration"
- dashboard: "Loki / Bloom Gateway"
panel: "Block download queue"
- dashboard: "Loki / Bloom Gateway"
panel: "CPU"
- dashboard: "Loki / Bloom Gateway"
panel: "CPU per pod"
4 changes: 3 additions & 1 deletion production/loki-mixin/dashboards.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
(import 'dashboards/loki-reads-resources.libsonnet') +
(import 'dashboards/loki-deletion.libsonnet') +
(import 'dashboards/loki-canary-dashboard.libsonnet') +
(import 'dashboards/recording-rules.libsonnet')
(import 'dashboards/recording-rules.libsonnet') +
(import 'dashboards/loki-bloom-compactor.libsonnet') +
(import 'dashboards/loki-bloom-gateway.libsonnet')
Loading

0 comments on commit 079ba64

Please sign in to comment.