aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/Random.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2022-04-10 16:58:34 +0200
committerShauren <shauren.trinity@gmail.com>2022-06-10 16:22:24 +0200
commit7d9483cfe4efbbda54fcda2a813f98035600bb9a (patch)
tree843095b8b2b6b74772388e78d0d1076865c1741b /src/common/Utilities/Random.cpp
parent88e42e3dc13924348e0c8d794b8b6cb849c1ee84 (diff)
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 055dffaa7129b22f37d9afec4ab68e03a4f8a71f)
Diffstat (limited to 'src/common/Utilities/Random.cpp')
0 files changed, 0 insertions, 0 deletions