Skip to content
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

Add a no-op WavefrontSender implementation #65

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

mssrinivas
Copy link
Contributor

No description provided.

Copy link
Contributor

@oppegard oppegard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the submission @mssrinivas! Could you give an example of your use-case that requires a no-op Sender, rather than just not instantiating a Sender at all?

@mssrinivas
Copy link
Contributor Author

@oppegard We have a service A currently using DirectConfig to send metrics to WF. We also have another service B which implements interfaces of service A but do not want to enable metrics capturing. Since things are tightly coupled we wanted to have a way to initialize Noop sender.

Copy link
Contributor

@hanwavefront hanwavefront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ajayj89 ajayj89 merged commit f0f4078 into wavefrontHQ:master Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants