Skip to content

feat(otel): span context propagators #28460

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 21 commits into from
Mar 13, 2025

Conversation

crowlKats
Copy link
Member

@crowlKats crowlKats commented Mar 11, 2025

Closes #27919

TODO: add opentelemetry-js copyright

@crowlKats crowlKats changed the title feat(otel): propagators feat(otel): span context propagators Mar 11, 2025
@@ -0,0 +1,295 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of DENO_UNSTABLE_OTEL_DETERMINISTIC, there are now multiple span ids named 0000000000000001 here - that's not good.

We need to update DENO_UNSTABLE_OTEL_DETERMINISTIC to take a prefix to use for span IDs, so that different processes generate different (sequential) span IDs. I'll push a fix for this shortly.

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lucacasonato lucacasonato merged commit 28e5c38 into denoland:main Mar 13, 2025
18 checks passed
@crowlKats crowlKats deleted the telemetry-propagators branch March 14, 2025 00:58
ry pushed a commit that referenced this pull request Mar 14, 2025
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.

[otel] automatically propagate span context in Deno.serve and fetch
2 participants