opentelemetry-rust
opentelemetry-rust copied to clipboard
Remove `dropped_attributes_count` from SpanLinks and SpanEvents API
not really introduced in this PR, but the API exposing things like `dropped_attributes_count` is not good :( It is up-to the SDK to enforce the limit and store the count of attributes, not that of API.
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute-limits
Originally posted by @cijothomas in https://github.com/open-telemetry/opentelemetry-rust/pull/1515#discussion_r1482283454