You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @bengl for kicking off the work of Node.js built-in support of OpenTelemetry. I would like to call for collaborators to help with reviewing and iterating on this work.
The PR was discussed at a TSC meeting, and the result was that at least for now the code should live in a separate repo within the org, and be brought into Node.js as a dependency, like unicidi and amaro are. In the future, if we hit a brick wall caused by having this code as a separate dependency (e.g. for performance reasons) we can fold it directly into core.
As a first milestone, the intention here is to replicate the functionality of nodejs/node#66587, namely:
Instrumentation of inbound and outbound HTTP transactions, following OTel Semconv.
Egress via OTLP/JSON. (JSON-only to avoid bringing in a gRPC dependency.)
Distributed tracing via W3C Traceparent.
Everything else is out of scope for the initial milestone (but certainly subject to discussion in their own separate issues), including (non-exhaustive):
Any sort of programmatic API in Node.js core
Creation of spans other than the built-in ones
Metrics via OTLP
Logs via OTLP
Publishing to npm (it's only intended as a dependency of Node.js for now, but this could change in the future, maybe)
Once this milestone is achieved, a PR will be opened on Node.js core to add this as a dependency and wire it up properly. This leaves the open question of how to activate and configure it. In the PR, it was activated by environment variables. While it's certainly possible to do that as a library dependency, it likely makes more sense to leave all env var handling to Node.js core, and have it pass the appropriate info through to microtel. That said, as mentioned, this is currently an open question.
Immediate TODOs for me:
Add the volunteers above to the associated GitHub team.
Populate the README and other files with various bits of context (like this post!) and other housekeeping things.
Activity
legendecas commentedon Oct 19, 2026
I would like to nominate @open-telemetry/javascript-approvers to be part of the team.
dyladan commentedon Oct 19, 2026
👋 Happy to help collaborate on this
bengl commentedon Oct 19, 2026
Since there's a lot of overlap: @nodejs/import-in-the-middle-maintainers and @nodejs/orchestrion-js-maintainers too.
timfish commentedon Oct 19, 2026
Happy to collaborate on this too!
isaacs commentedon Oct 19, 2026
And my ax! 🪓
bizob2828 commentedon Oct 19, 2026
Count me in!
AbhiPrasad commentedon Oct 19, 2026
Happy to help review and contribute!
bengl commentedon Oct 20, 2026
And now for a pile of context:
This repo grew out of this PR nodejs/node#66587
The PR was discussed at a TSC meeting, and the result was that at least for now the code should live in a separate repo within the org, and be brought into Node.js as a dependency, like
unicidiandamaroare. In the future, if we hit a brick wall caused by having this code as a separate dependency (e.g. for performance reasons) we can fold it directly into core.As a first milestone, the intention here is to replicate the functionality of nodejs/node#66587, namely:
Everything else is out of scope for the initial milestone (but certainly subject to discussion in their own separate issues), including (non-exhaustive):
Once this milestone is achieved, a PR will be opened on Node.js core to add this as a dependency and wire it up properly. This leaves the open question of how to activate and configure it. In the PR, it was activated by environment variables. While it's certainly possible to do that as a library dependency, it likely makes more sense to leave all env var handling to Node.js core, and have it pass the appropriate info through to
microtel. That said, as mentioned, this is currently an open question.Immediate TODOs for me:
JacksonWeber commentedon Oct 20, 2026
Also happy to be a part of this effort! 🫡
JPeer264 commentedon Oct 20, 2026
I can help too
bernhard-liedl commentedon Oct 20, 2026
I'd be interested in contributing. Count me in.
jsumners-nr commentedon Oct 20, 2026
Sign me up.