Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpack_utils: Handle exdeeded limits of label values and replace with "..." for exceeded characters #224

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cosmo0920
Copy link
Contributor

Currently, cmetrics just fails over 1024 bytes on labels of metrics.
I investigated this issue and found that cmetrics just returns as error when exceeding 1024 characters of value of labels.
Instead, we need to omit the exceeded bytes and replace with "..." on output stdout in fluent-bit.

Related to fluent/fluent-bit#9297

…"..." for exceeded characters

Signed-off-by: Hiroshi Hatake <[email protected]>
@cosmo0920 cosmo0920 force-pushed the cosmo0920-suppress-over-1024-characters-of-label-values-on-decode-msgpack branch from bdb681f to 04b74e7 Compare September 30, 2024 10:29
@cosmo0920 cosmo0920 marked this pull request as ready for review October 1, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant