From 843bfc96d5bb2c93667326b0ad9f101cd3e2efcf Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 8 Feb 2021 18:59:04 +0000 Subject: [PATCH] Tune prometheus remote write queues --- cookbooks/prometheus/templates/default/prometheus.yml.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cookbooks/prometheus/templates/default/prometheus.yml.erb b/cookbooks/prometheus/templates/default/prometheus.yml.erb index 71ccf68a1..281447f0a 100644 --- a/cookbooks/prometheus/templates/default/prometheus.yml.erb +++ b/cookbooks/prometheus/templates/default/prometheus.yml.erb @@ -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 -- 2.39.5