Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Jan 2, 2024

This was brought up in Slack, currently you cannot pass other span properties directly to otel startSpan(). This now adds attributes, kind and startTime to better align with OTEL.

Note that I chose to omit root and links options, not sure if we want to support those in none-OTEL environments, and this API should (~~) be the same for node & non-node in v8.

@mydea mydea requested review from AbhiPrasad and Lms24 January 2, 2024 08:59
@mydea mydea self-assigned this Jan 2, 2024
@mydea mydea merged commit 84ca84f into develop Jan 3, 2024
@mydea mydea deleted the fn/startSpanAttributes branch January 3, 2024 08:33
anonrig pushed a commit that referenced this pull request Jan 3, 2024
…hods (#10006)

This was brought up in Slack, currently you cannot pass other span
properties directly to otel `startSpan()`. This now adds `attributes`,
`kind` and `startTime` to better align with OTEL.

Note that I chose to omit `root` and `links` options, not sure if we
want to support those in none-OTEL environments, and this API should
(~~) be the same for node & non-node in v8.
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.

3 participants