Skip to content

Make OtelSpan public instead of package-private #808

@ThomasVitale

Description

@ThomasVitale

The OtelSpan class implementing the Span interface is package private, which makes it not possible to act on the underlying OpenTelemetry Span object (unless Reflection is used). One use case for this would be to add structured events to a Span (necessary until micrometer-metrics/micrometer#5238 is implemented).

That is different from the BraveSpan class, which is set as public.

Is it possible to make OtelSpan public in the 1.3.x release line?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions