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

support "disable" on diamond::collector #16

Open
neoice opened this issue Sep 9, 2014 · 0 comments
Open

support "disable" on diamond::collector #16

neoice opened this issue Sep 9, 2014 · 0 comments

Comments

@neoice
Copy link
Contributor

neoice commented Sep 9, 2014

it looks like diamond ships the following metrics by default: cpu, diskspace, iostat, loadavg, memory, vmstat

I can override their configuration easily:

  # collect CPU as a simple, normalized metric
  diamond::collector { 'CPUCollector':
    options => {
      'normalize' => true,
      'percore'   => false,
      'simple'    => true,
    }   
  }

but I cannot explicitly disable a collector using this resource.

  # disable iostat
  diamond::collector { 'DiskUsageCollector':
    options => {
      enabled => false,
    }
  } 

this obviously fails :P

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

No branches or pull requests

1 participant