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]>
|
@arminru @jsuereth @yurishkuro All issues addressed! |
|
|
||
| #### Exempt Entities | ||
|
|
||
| Attributes which belong to Metrics MUST NOT implement the aforementioned |
There was a problem hiding this comment.
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