-
Notifications
You must be signed in to change notification settings - Fork 278
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
Allow DDTracerResolver to be disabled. #415
Conversation
5de1bf0
to
c62ea1e
Compare
c62ea1e
to
d3e0323
Compare
thanks. this looks like it will still auto create a NoopTracer though in the case that perhaps it would be better to not generate or register anything at all here? |
} | ||
return Collections.unmodifiableMap(map); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to have a dedicated test coverage for this class, especially considering that it is now public.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of the tests in DDTraceConfigTest
still apply. I'm going to leave it as is for now to avoid further conflicts with your PR.
@jeacott1 the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
ah, ok. I thought something else was calling registerTracer so one would be created regardless. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks to do the job :)
Fixes #408