modify server.conf in docker env
This commit is contained in:
parent
cc32194fb6
commit
cbd416495c
|
@ -158,12 +158,12 @@ MaxIdleConns = 100
|
||||||
MaxIdleConnsPerHost = 10
|
MaxIdleConnsPerHost = 10
|
||||||
|
|
||||||
[WriterOpt]
|
[WriterOpt]
|
||||||
|
# queue channel count
|
||||||
|
QueueCount = 100
|
||||||
# queue max size
|
# queue max size
|
||||||
QueueMaxSize = 10000000
|
QueueMaxSize = 200000
|
||||||
# once pop samples number from queue
|
# once pop samples number from queue
|
||||||
QueuePopSize = 2000
|
QueuePopSize = 2000
|
||||||
# unit: ms
|
|
||||||
SleepInterval = 50
|
|
||||||
|
|
||||||
[[Writers]]
|
[[Writers]]
|
||||||
Url = "http://prometheus:9090/api/v1/write"
|
Url = "http://prometheus:9090/api/v1/write"
|
||||||
|
|
|
@ -165,7 +165,6 @@ MaxConnsPerHost = 0
|
||||||
MaxIdleConns = 100
|
MaxIdleConns = 100
|
||||||
MaxIdleConnsPerHost = 10
|
MaxIdleConnsPerHost = 10
|
||||||
|
|
||||||
|
|
||||||
[WriterOpt]
|
[WriterOpt]
|
||||||
# queue channel count
|
# queue channel count
|
||||||
QueueCount = 100
|
QueueCount = 100
|
||||||
|
|
Loading…
Reference in New Issue