GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Align `Span` interface with changes in Otel Span interface · Issue #12566 · getsentry/sentry-javascript

Align Span interface with changes in Otel Span interface #12566

New issue
Copy link
New issue
Copy link
Closed
#12898
Closed
Align Span interface with changes in Otel Span interface#12566
#12898
Copy link
Assignees
chargome
Labels
Meta: Good First IssuePackage-Meta: OpenTelemetry

Description

@mydea
mydea
opened on Jun 19, 2024
Issue body actions

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.

Reacted by Abhijeet Prasad

Activity

  1. mydea
    added
    Package-Meta: OpenTelemetry
    Meta: Good First Issue
    on Jun 19, 2024
  2. mydea
    added a commit that references this issue on Jun 20, 2024

    feat(core): Add `parentSpan` option to `startSpan*` APIs (#12567)

    0019309
  3. chargome
    self-assigned this
    on Jul 12, 2024
  4. chargome
    closed this as completedin #12898on Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @chargome
    chargome

Labels

Meta: Good First IssuePackage-Meta: OpenTelemetry

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.