You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing a list/dict of links/attributes that exceed the maximum configured limit to start_span a ValueError is raised instead of truncating the exceeding links/attributes.
Steps to reproduce
Add following tests to opentelemetry-sdk/tests/trace/test_trace.py
When passing a list/dict of links/attributes that exceed the maximum configured limit to
start_span
a ValueError is raised instead of truncating the exceeding links/attributes.Steps to reproduce
Add following tests to
opentelemetry-sdk/tests/trace/test_trace.py
What is the expected behavior?
The SDK should not raise an exception but rather truncate the exceeding attributes/links.
What is the actual behavior?
Exceeding the max number of links raises a ValueError in
BoundedList
:Exceeding the max number of attributes on a Span raises a ValueError in
BoundedDict
:The text was updated successfully, but these errors were encountered: