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 possibility to remove graphite_prefix and graphite_suffix from config file #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ttarczynski
Copy link

I need a possibility to remove options graphite_prefix and graphite_suffix from config file (and from graphite metric names).

With current version from master when I didn't set the graphite_prefix param, I've got this in config file:

:graphite_prefix: undef
:graphite_suffix: puppet
:graphite_reverse_hostname: true

and also got undef in graphite metric names.


After this change:

  • prefix is not added by default
  • both prefix and suffix can be removed by setting them to 'absent':
class { '::graphite_reporter':
  graphite_prefix => 'absent',
  graphite_suffix => 'absent',
}

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.

1 participant