-
Notifications
You must be signed in to change notification settings - Fork 276
Open
Description
The SpanKind (span.kind) is inherently considered immutable and only to be set on Span creation.
However a SpanProcessor should be able to essentially perform any kind of change to Spans (especially on the on_start and on_finishing methods).
Currently there is no way to adjust the kind within a Span processor without resulting to unsafe Ruby core functionality (e.g. span.instance_variable_set(:@kind, ::OpenTelemetry::Trace::SpanKind::CONSUMER)). It would be better if there were a dedicated way for a SpanProcessor to adjust the kind.
JHK
Metadata
Metadata
Assignees
Labels
No labels