]> git.openstreetmap.org Git - chef.git/commitdiff
Tune prometheus remote write queues
authorTom Hughes <tom@compton.nu>
Mon, 8 Feb 2021 18:59:04 +0000 (18:59 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 8 Feb 2021 18:59:04 +0000 (18:59 +0000)
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