Skip to content

Commit

Permalink
chore: Update linter exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Haudum <[email protected]>
  • Loading branch information
chaudum committed Oct 18, 2024
1 parent 8230e10 commit 636f868
Showing 1 changed file with 30 additions and 26 deletions.
56 changes: 30 additions & 26 deletions production/loki-mixin/.lint
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclusions:
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Writes"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
- 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'"
Expand All @@ -27,7 +27,7 @@ exclusions:
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Writes"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
- dashboard: "Loki / Bloom Gateway"
template-instance-rule:
reason: "These dashboards are cluster overview dashboards, whereas the instance refers to specific pods or nodes"
Expand All @@ -42,7 +42,7 @@ exclusions:
- dashboard: "Loki / Reads Resources"
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
- dashboard: "Loki / Bloom Gateway"
target-instance-rule:
reason: "These dashboards are cluster overview dashboards, whereas the instance refers to specific pods or nodes"
Expand All @@ -57,7 +57,7 @@ exclusions:
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Writes"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
- dashboard: "Loki / Bloom Gateway"
target-job-rule:
reason: "We don't have/need a job template selector for this dashboard"
Expand All @@ -72,7 +72,7 @@ exclusions:
- dashboard: "Loki / Logs"
- dashboard: "Loki / Writes Resources"
- dashboard: "Loki / Writes"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
- dashboard: "Loki / Bloom Gateway"
target-promql-rule:
reason: "The following are logql queries, not promql"
Expand All @@ -89,8 +89,10 @@ exclusions:
panel: "Process tasks with bounds"
- dashboard: "Loki / Bloom Gateway"
panel: "Download enqueue duration"
- dashboard: "Loki / Bloom Compactor"
panel: "Errors Rate"
- dashboard: "Loki / Bloom Build"
panel: "Errors Rate Planner"
- dashboard: "Loki / Bloom Build"
panel: "Errors Rate Builder"
panel-datasource-rule:
reason: "Loki datasource variable is being named as loki_datasource now while linter expects 'datasource'"
entries:
Expand Down Expand Up @@ -183,37 +185,39 @@ exclusions:
panel: "Query Pages"
- dashboard: "Loki / Operational"
panel: "Throttled Rate"
- dashboard: "Loki / Bloom Compactor"
panel: "Errors Rate"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Errors Rate Planner"
- dashboard: "Loki / Bloom Build"
panel: "Errors Rate Builder"
- dashboard: "Loki / Bloom Build"
panel: "Required CPUs to not lag behind"
- dashboard: "Loki / Bloom Compactor"
panel: "Tokens rate (millions)"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Tokens rate"
- dashboard: "Loki / Bloom Build"
panel: "Created Blocks"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Deleted Blocks"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Blocks reused"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Created Metas"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Deleted Metas"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Tenants"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Tenants per pod"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Tenant Tables"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Tenant Tables per pod"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "Series"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "avg series per compaction by pod"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "CPU"
- dashboard: "Loki / Bloom Compactor"
- dashboard: "Loki / Bloom Build"
panel: "CPU per pod"
- dashboard: "Loki / Bloom Gateway"
panel: "Errors Rate"
Expand All @@ -236,4 +240,4 @@ exclusions:
- dashboard: "Loki / Bloom Gateway"
panel: "CPU"
- dashboard: "Loki / Bloom Gateway"
panel: "CPU per pod"
panel: "CPU per pod"

0 comments on commit 636f868

Please sign in to comment.