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
Let's make queuedMaxSpans a function of messageMaxBytes, instead of an arbitrary default.
Rationale
This will better manage the queue backlog, allowing people to use a higher messageTimeout than 1s, but still clear the queue faster when under pressure.
Example Scenario
A small json span will reach the default 500,000 byte limit by about 1500 spans. A typical one will reach much sooner (typical e.g. sleuth/micrometer which adds more than one tag, and possibly a remote endpoint).
Feature
Let's make
queuedMaxSpans
a function ofmessageMaxBytes
, instead of an arbitrary default.Rationale
This will better manage the queue backlog, allowing people to use a higher
messageTimeout
than 1s, but still clear the queue faster when under pressure.Example Scenario
A small json span will reach the default 500,000 byte limit by about 1500 spans. A typical one will reach much sooner (typical e.g. sleuth/micrometer which adds more than one tag, and possibly a remote endpoint).
Prior Art
The text was updated successfully, but these errors were encountered: