-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Replace Statsite prefix with Service prefix #3293
Conversation
This needs to come after #3480 is merged. |
@VoyTechnology if you feel comfortable then I'd ask you to rewrite that change on top of the refactor-config branch since we're going to merge that soon. This will change the entire handling of configuration for the agent. Otherwise, I'll pick this up. |
Thanks for response :) I forgot about this change. Will look at it soon |
The metrics prefix isn't statsite specific and is in fact used for all metrics providers. Since we are deprecating fields anyway we should fix this one as well. Fixes #3293
Since we're breaking things for 1.0 anyway we might just do this one properly. We will pull all the doc fixes into a separate commit. I'll close this one in favor of #3498 . Thanks for your submission! |
* metrics: replace statsite_prefix with service_prefix The metrics prefix isn't statsite specific and is in fact used for all metrics providers. Since we are deprecating fields anyway we should fix this one as well. Fixes #3293 * Updates docs and sorts telemetry section. * Renames to "metrics_prefix" to disambiguate with Consul services. * Updates the change log.
Currently the
sitestat_prefix
is used for all metrics. This is very counterintuitive. This change adds aservice_prefix
configuration option instead and deprecatessitestat_prefix
.Also included: