]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/prometheus.yml.erb
Exclude some exporter metrics from promscale archiving
[chef.git] / cookbooks / prometheus / templates / default / prometheus.yml.erb
index c9112bac10e8b80dc13b5425fa27f2635d23b1b6..71ccf68a1b9f2136591cae03ad0f40a36120c16c 100644 (file)
@@ -48,3 +48,10 @@ scrape_configs:
 
 remote_write:
   - url: "http://localhost:9201/write"
+    write_relabel_configs:
+      - source_labels: [__name__]
+        regex: "go_.*"
+        action: drop
+      - source_labels: [__name__]
+        regex: "promhttp_.*"
+        action: drop