From 9916bbed88d746a5cdc64e61d5d71d0f74b64300 Mon Sep 17 00:00:00 2001 From: Denis Boulas Date: Sun, 3 May 2015 11:31:41 +0300 Subject: [PATCH] Added absent timers for statsd module. --- manifests/plugin/statsd.pp | 4 ++++ templates/plugin/statsd.conf.erb | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/manifests/plugin/statsd.pp b/manifests/plugin/statsd.pp index 931f52867..e54c5bab7 100644 --- a/manifests/plugin/statsd.pp +++ b/manifests/plugin/statsd.pp @@ -9,6 +9,10 @@ $deletesets = undef, $interval = undef, $timerpercentile = undef, + $timerlower = undef, + $timerupper = undef, + $timersum = undef, + $timercount = undef, ) { collectd::plugin {'statsd': diff --git a/templates/plugin/statsd.conf.erb b/templates/plugin/statsd.conf.erb index c821eff41..b9b5673c8 100644 --- a/templates/plugin/statsd.conf.erb +++ b/templates/plugin/statsd.conf.erb @@ -20,4 +20,16 @@ <% if @timerpercentile -%> TimerPercentile <%= @timerpercentile %> <% end -%> +<% if @timerupper -%> + TimerUpper <%= @timerupper %> +<% end -%> +<% if @timerlower -%> + TimerLower <%= @timerlower %> +<% end -%> +<% if @timersum -%> + TimerSum <%= @timersum %> +<% end -%> +<% if @timercount -%> + TimerCount <%= @timercount %> +<% end -%>