-
Notifications
You must be signed in to change notification settings - Fork 31
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
Account negotiation is not disabled with management.metrics.export.wavefront.enabled=false #57
Comments
Found a way to do it via
Not quite sure if this is enough since |
@dmurat thank you for the report, that's useful information. You can disable Wavefront metrics export using the standard Spring Boot property:
These are unrelated. The account negotiation happens very early in the lifecycle of the application as it potentially mutates the Having said that, disabling itself if the configuration above is defined seems reasonable so we'll do that. |
If I understand correctly, once this improvement is implemented, complete turn off will look like the following:
Is this correct? |
No. You won’t need to exclude auto-configurations. You can actually do this now but the starter will try to negotiate an account anyway as I’ve described above and that’s what this issue will fix. |
Oh, that's great :-) Thank you. |
This commit makes sure we don't unnecessarily negotiate an account if metrics export has been disabled. This is also makes sure that `wavefront.freemium-account` takes precedence if set explicitly. The role and description of the property has also been polished as part of this commit Closes wavefrontHQgh-57
Disable account negotiation if metric exports is disabled
I think it might be useful to have a property for disabling Wavefront integration altogether.
I tried it and want to use it for development. However, rather than poking with dependencies for deployment in upstream environments, it seems that disabling via simple property might be convenient until a broader agreement in an organization is achieved.
Tnx.
The text was updated successfully, but these errors were encountered: