-
Notifications
You must be signed in to change notification settings - Fork 933
Empty arrays are meaningful #760
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
Empty arrays are meaningful #760
Conversation
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.
I agree. See open-telemetry/opentelemetry-java#1437 (comment).
|
I think this should also apply to resource attributes and thus be moved to the common attribute spec. |
|
This makes sense to me. Let's wait for other's feedback ;) |
|
Btw, since |
Let's not muddy this PR with a discussion of Resource attributes. I recommend creating an issue or a PR to deal with that, independently. |
Fair enough, will create a follow up issue. |
| attribute's value. | ||
|
|
||
| Attribute values expressing a numerical value of zero or an empty string are | ||
| Attribute values expressing a numerical value of zero, an empty string, or an empty array are |
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.
Should this apply to all attributes? If yes probably we should update https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/common/common.md and remove this.
Changes
Stress that empty arrays must be forwarded to span processors/exporters.