]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/prometheus.yml.erb
Tune prometheus remote write queues
[chef.git] / cookbooks / prometheus / templates / default / prometheus.yml.erb
index 71ccf68a1b9f2136591cae03ad0f40a36120c16c..281447f0a8884ab2ad5858319b1996fdc0527ce3 100644 (file)
@@ -55,3 +55,8 @@ remote_write:
       - source_labels: [__name__]
         regex: "promhttp_.*"
         action: drop
+    queue_config:
+      capacity: 10000
+      min_shards: 4
+      batch_send_deadline: 30s
+      max_backoff: 1s