-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat: support TRACEPARENT and TRACESTATE environment variables for OpenTelemetry context propagation #9295
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
Conversation
✅ Deploy Preview for vitest-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: hi-ogawa <[email protected]>
Co-authored-by: hi-ogawa <[email protected]>
…oach) Co-authored-by: hi-ogawa <[email protected]>
Co-authored-by: hi-ogawa <[email protected]>
Co-authored-by: hi-ogawa <[email protected]>
@vitest/browser
@vitest/browser-playwright
@vitest/browser-preview
@vitest/browser-webdriverio
@vitest/coverage-istanbul
@vitest/coverage-v8
@vitest/expect
@vitest/mocker
@vitest/pretty-format
@vitest/runner
@vitest/snapshot
@vitest/spy
@vitest/ui
@vitest/utils
vitest
@vitest/web-worker
@vitest/ws-client
commit: |
Thanks for feedback. We might explore further, but at the moment, this is indeed targeted as performance debugging feature to visualize Vitest's inner working https://vitest.dev/guide/open-telemetry.html. Your use case would be more closer to reporter feature https://vitest.dev/guide/reporters.html and I don't think we'll adjust in that way from our side. |
|
When I wrote the implementation, I wasn't sure how deep it should be. It was even more debuggier at one stage. Does dagger support filtering traces by name? I would expect the tool to control that, not Vitest. |

Vitest now automatically propagates OpenTelemetry trace context from parent processes via
TRACEPARENTandTRACESTATEenvironment variables. This follows standard and enables integrating trace with some known instrumented CI/CD pipelines (e.g., Dagger).Example
Tested with https://github.com/dagger/dagger
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.