From: Tom Hughes Date: Mon, 8 Feb 2021 18:59:04 +0000 (+0000) Subject: Tune prometheus remote write queues X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/843bfc96d5bb2c93667326b0ad9f101cd3e2efcf Tune prometheus remote write queues --- 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