From a9cfca6a72405400193189045645f50d62f8afcc Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 19 Jun 2019 17:48:07 +0300 Subject: [PATCH] README.md: add `max_shards: 100` to the recommended Prometheus config Prometheus establishes a connection per shard in remote_write config. By default it establishes up to 1000 connections to remote storage (max_shards: 1000). This is quite big, so set `max_shards: 100` in the recommmended Prometheus config. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a67120ec2..1115b400d 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,7 @@ remote_write: - url: http://:8428/api/v1/write queue_config: max_samples_per_send: 10000 + max_shards: 100 ``` Substitute `` with the hostname or IP address of VictoriaMetrics.