Skip to content

Commit 6a5dba6

Browse files
committed
Overwrite default prometheus relabel configs
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent 2d729fc commit 6a5dba6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

coder-observability/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ prometheus:
452452
serverFiles:
453453
prometheus.yml:
454454
# disables scraping of metrics by the Prometheus helm chart since this is managed by the collector
455-
scrape_configs:
455+
scrape_configs: []
456456
# use custom rule files to be able to render templates (can't do that in values.yaml, unless that value is evaluated by a tpl call)
457457
rule_files:
458458
- /etc/config/alerts/*.yaml

compiled/resources.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ data:
818818
scrape_timeout: 10s
819819
rule_files:
820820
- /etc/config/alerts/*.yaml
821+
scrape_configs: []
821822
alerting:
822823
alertmanagers:
823824
- kubernetes_sd_configs:

0 commit comments

Comments
 (0)