-
Notifications
You must be signed in to change notification settings - Fork 528
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
Revisit 1024 char limit on label values #14721
Comments
AFAIR OpenTelemetry is also enforcing some limits on the |
There is truncation for OTel attributes but default truncation length is unlimited by default: https://opentelemetry.io/docs/specs/otel/common/#attribute-limits |
A few things discovered while working on this:
Given the above, I wonder if we should consistently remove the 1024 limit everywhere. WDYT ? |
I don't have any data on the impact of this that can help me form a useful opinion.
|
it could be reversible but the limit is hardcoded and it would require a new version. Another option could be a user manually configuring a pipeline to limit the field length. |
moving this to it 106 |
The APM spec defines:
Therefore only removing the 1024 field limits might not make an actual change for users leveraging Elastic APM agents (Though it is a SHOULD and not a MUST spec, so not every agent might have it implemented). If we move forward with custom config, this can be done in two ways
The solution chosen defines the urgency. @mlunadia any preference from product perspective? |
@mlunadia friendly ping for input on this. |
@felixbarny do you have any insights on why the new otel-data plugin is also defining |
Both apm-data and otel-data effectively still use Having said all of that, I'm not sure if it makes sense to make changes to APM Server and especially all classic agents as we're on a path towards succeeding APM components with OTel/EDOT. Therefore, we should only spend energy on APM components if this is fixing a bug or if it otherwise lowers our maintenance burden. |
In alignment with @felixbarny 's point of |
TIL! fwiw given the above I'm also ok with keeping the 1024 limit (I've changed the apm-data PR to draft. We can close it along with this issue). |
We just synced on this and decided to not move forward with this change for now for the above discussed reasons. |
There is a 1024 character (as in unicode characters) limit on string label values, on otlp (see code) and intakev2, because we used to depend on Beats & Fleet to set up mappings which would both set
ignore_above: 1024
on keyword fields. As apm-server has migrated to ES apm-data plugin, revisit this limitation on label value.#14716 is a related issue to handle an inconsistency in enforcing this limit.
The text was updated successfully, but these errors were encountered: