Core/Metric: Send metrics in smaller intervals

Send metrics in smaller intervals to reduce the chances of triggering HTTP status "413 Payload Too Large" from InfluxDB.
Another way to avoid this is to set max-body-size to 0 in InfluxDB config.
For more information see https://docs.influxdata.com/influxdb/v1.8/administration/config/#max-body-size--25000000

(cherry picked from commit 055dffaa71)
This commit is contained in:
jackpoz
2022-04-10 16:58:34 +02:00
committed by Shauren
parent 88e42e3dc1
commit 7d9483cfe4

View File

@@ -4280,7 +4280,7 @@ Metric.Enable = 0
# Default: 10 seconds
#
Metric.Interval = 10
Metric.Interval = 1
#
# Metric.ConnectionInfo