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
What is the expected behavior?
Trace ID in OpenTelemetry for Python is defined as "16-bytes bytes" which is following OpenTelemetry's spec
What is the actual behavior?
Trace ID is just defined as int and there is no validation for the length of the ID in the SpanContext constructor.
Additional context
If we make OpenTelemetry for Python follow the existing spec as-is, it may be braking changes for existing libraries including 1st party and 3rd parties.
Some other languages are validating the length of data:
Describe your environment
Steps to reproduce
What is the expected behavior?
Trace ID in OpenTelemetry for Python is defined as "16-bytes bytes" which is following OpenTelemetry's spec
What is the actual behavior?
Trace ID is just defined as
int
and there is no validation for the length of the ID in the SpanContext constructor.Additional context
If we make OpenTelemetry for Python follow the existing spec as-is, it may be braking changes for existing libraries including 1st party and 3rd parties.
Some other languages are validating the length of data:
The text was updated successfully, but these errors were encountered: