You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context
The statful-client-vertx is exposing the config flushSize to control the number of metrics to include on each message sent to the statful server.
The size of each metric depends on its data, so attributes like tags can have a big impact on the final message size (with the same number of metrics).
Problem
Given this scenario, it is complicated to set a flushSize value that avoids sending too many messages and also doesn't reach the maximum UPD packet size.
When the message size is bigger than the maximum UDP packet size it is just rejected and the metrics are lost.
Solution proposal
The statful-cient can validate the message size before sending it and therefor reduce the number of metrics included. The metrics that doesn't fit would be sent in the next message.
The text was updated successfully, but these errors were encountered:
Context
The statful-client-vertx is exposing the config
flushSize
to control the number of metrics to include on each message sent to the statful server.The size of each metric depends on its data, so attributes like
tags
can have a big impact on the final message size (with the same number of metrics).Problem
Given this scenario, it is complicated to set a
flushSize
value that avoids sending too many messages and also doesn't reach the maximum UPD packet size.When the message size is bigger than the maximum UDP packet size it is just rejected and the metrics are lost.
Solution proposal
The statful-cient can validate the message size before sending it and therefor reduce the number of metrics included. The metrics that doesn't fit would be sent in the next message.
The text was updated successfully, but these errors were encountered: