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

Replace Statsite prefix with Service prefix #3293

Closed
wants to merge 4 commits into from
Closed

Replace Statsite prefix with Service prefix #3293

wants to merge 4 commits into from

Conversation

VoyTechnology
Copy link

Currently the sitestat_prefix is used for all metrics. This is very counterintuitive. This change adds a service_prefix configuration option instead and deprecates sitestat_prefix.

Also included:

  • Minor import fix
  • Documentation

@VoyTechnology VoyTechnology changed the title Service prefix Replace Statsite prefix with Service prefix Jul 20, 2017
@slackpad slackpad modified the milestones: 0.9.3, Next Sep 2, 2017
@slackpad slackpad added type/enhancement Proposed improvement or new feature theme/operator-usability Replaces UX. Anything related to making things easier for the practitioner labels Sep 8, 2017
@magiconair
Copy link
Contributor

This needs to come after #3480 is merged.

@magiconair
Copy link
Contributor

@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.

@magiconair magiconair self-assigned this Sep 22, 2017
@VoyTechnology
Copy link
Author

Thanks for response :) I forgot about this change. Will look at it soon

magiconair added a commit that referenced this pull request Sep 26, 2017
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
@magiconair
Copy link
Contributor

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!

@magiconair magiconair closed this Sep 26, 2017
slackpad pushed a commit that referenced this pull request Sep 27, 2017
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/operator-usability Replaces UX. Anything related to making things easier for the practitioner type/enhancement Proposed improvement or new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants