VoidZero @voidzero.dev · Dec 17

Want to understand why some of your @vitest.dev tests are slower than expected? Then you can use the built-in experimental @opentelemetry.io support to figure out what makes tests slow and how much time is spent on each part of it. 📈

33 likes 2 replies

?

Replies

VoidZero · Dec 17

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.

Rodrigo Dias · Dec 18

OpenTelemetry integration looks promising. Need to try this with my tests.