Post

When enabled, Vitest will generate traces automatically, while you are also able to add custom tracing to it. More on GitHub github.com/vitest-dev/v... PS: Keep in mind that OTEL will increase the time of the tests when enabled.

github.comStabilizing `openTelemetry` · vitest-dev vitest · Discussion #9222experimental.openTelemetry Introduced in 4.0.11 Docs: Config option Guide Rational: It could be hard to analyze the performance of your tests with built-in tools like a CPU Profiler (for example, N...

0 reposts5 likes

Could you tell me what kind of data I can get from this out of the box? I tried it with the given configs, but it seems like I more or less "just" see the duration of the individual test files? Can I deep dive somehow why/where tests took long? Or do I have to write custom instrumentation for this?