Skip to content

Align Span interface with changes in Otel Span interface #12566

Description

@mydea

There are three methods in the OTEL Span interface that we do not have in our own, leading to technical incompatibility - see https://github.com/open-telemetry/opentelemetry-js/blob/main/api/src/trace/span.ts

  • addLink - should noop in SentrySpan
  • addLinks - should noop in SentrySpan
  • recordException - should probably capture an exception??

Without this, you technically can't pass something typed as Span from @sentry/types into some API that expects an OTEL span.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions