NoopTracer warning in v1.73 affects test suites #3515
Closed
bastiankoetsier
started this conversation in
General
Replies: 2 comments
-
Hi @bastiankoetsier. We'll release a version demoting the warning to debug. You can already pull it as |
Beta Was this translation helpful? Give feedback.
0 replies
-
The fixed version was released as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Following the changes in PR #2991 (released in v1.7.3), the
NoopTracer
started logging a warning to encourage explicit tracer initialisation.This change has had a noticeable impact on our testing workflow. Because we rely on the global tracer existing in many test scenarios, we now see this warning frequently, prompting us to add explicit
mocktracer
initialisations in tests where tracing isn't the primary focus. Ideally, aNoopTracer
wouldn't produce log output.Could we explore options to mitigate this? Reverting the warning for the
NoopTracer
or ensuring it remains silent when DD_TRACE_ENABLED
is false would be very helpful for simplifying our test setups.What are your thoughts on this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions