From cbd416495cf355addb85bab657f47af819306fd2 Mon Sep 17 00:00:00 2001 From: Ulric Qin Date: Mon, 11 Jul 2022 13:04:04 +0800 Subject: [PATCH] modify server.conf in docker env --- docker/n9eetc/server.conf | 6 +++--- etc/server.conf | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker/n9eetc/server.conf b/docker/n9eetc/server.conf index 781e2179..f5803eb3 100644 --- a/docker/n9eetc/server.conf +++ b/docker/n9eetc/server.conf @@ -158,12 +158,12 @@ MaxIdleConns = 100 MaxIdleConnsPerHost = 10 [WriterOpt] +# queue channel count +QueueCount = 100 # queue max size -QueueMaxSize = 10000000 +QueueMaxSize = 200000 # once pop samples number from queue QueuePopSize = 2000 -# unit: ms -SleepInterval = 50 [[Writers]] Url = "http://prometheus:9090/api/v1/write" diff --git a/etc/server.conf b/etc/server.conf index 7b3845c1..07d4c9a4 100644 --- a/etc/server.conf +++ b/etc/server.conf @@ -165,7 +165,6 @@ MaxConnsPerHost = 0 MaxIdleConns = 100 MaxIdleConnsPerHost = 10 - [WriterOpt] # queue channel count QueueCount = 100