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 055dffaa7129b22f37d9afec4ab68e03a4f8a71f)