-
Notifications
You must be signed in to change notification settings - Fork 897
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
Add an option to limit length of values of attributes and metric values #1130
Add an option to limit length of values of attributes and metric values #1130
Conversation
Docs are based on existing Java implenetation open-telemetry/opentelemetry-java#1484
|
Please create an issue for this PR. |
PR extended to include metric label values. |
Co-authored-by: Armin Ruech <[email protected]>
👍 I was just reminded that resource values might also be relevant here. Sorry for the piece-wise comments 🙈 |
One more thing @jtmalinowski: Please either fill out the PR description or remove the part of the template that you don't use. |
Co-authored-by: Nikita Salnikov-Tarnovski <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
@arminru @jsuereth @yurishkuro All issues addressed! |
specification/common/common.md
Outdated
|
||
#### Exempt Entities | ||
|
||
Attributes which belong to Metrics MUST NOT implement the aforementioned |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, you cannot put MUST's into spec if the intention is to change the rules in the near future. It's not a backwards compatible change. Either leave the behavior unspecified or use the weak MAY.
@jsuereth Do you approve or something else should be changed? |
Sorry for delay @iNikem. Changes LGTM |
@arminru Let's do it 🚀 |
Fine to merge but I really want to have a follow up having what happens when you define both |
@carlosalberto https://github.com/open-telemetry/opentelemetry-specification/pull/1130/files#diff-500cb43b9725373c25ea03660c293e59681e6e2f6ba3eb588188ed3b83dcbdcdR78 describes it like so:
I think that it can be inferred from the context that it extends to environment variables, ie. if |
@open-telemetry/technical-committee can anybody press merge? |
I think we can do better than leave things inferred and we can put a link to this section from the env vars ;) But let's definitely do that as a minor amendment after this PR. |
Docs are based on existing Java implementation open-telemetry/opentelemetry-java#1484
Fixes #1133
Messaging about truncation was extracted to open-telemetry/semantic-conventions#1163
Metrics support extracted to #1830