Skip to content

feat(opentelemetry): Align span options with core span options #10761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

mydea
Copy link
Member

@mydea mydea commented Feb 21, 2024

This aligns the options for startSpan in otel with the core ones. Only the kind is there in addition for now (we may want to remove this, let's see).

Especially, this also adds the ability to pass a scope there and pick up the correct context & span to continue, as well as adding tests for the options.

@mydea mydea requested review from lforst and Lms24 February 21, 2024 09:08
@mydea mydea self-assigned this Feb 21, 2024
@mydea mydea merged commit a60391a into develop Feb 21, 2024
@mydea mydea deleted the fn/startSpan-scope branch February 21, 2024 14:01
AbhiPrasad pushed a commit that referenced this pull request Feb 21, 2024
This aligns the options for `startSpan` in otel with the core ones. Only
the `kind` is there in addition for now (we may want to remove this,
let's see).

Especially, this also adds the ability to pass a `scope` there and pick
up the correct context & span to continue, as well as adding tests for
the options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants