Skip to content

Commit

Permalink
Added absent timers for statsd module.
Browse files Browse the repository at this point in the history
  • Loading branch information
dene14 committed May 3, 2015
1 parent e01c6f2 commit 9916bbe
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/plugin/statsd.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
$deletesets = undef,
$interval = undef,
$timerpercentile = undef,
$timerlower = undef,
$timerupper = undef,
$timersum = undef,
$timercount = undef,
) {

collectd::plugin {'statsd':
Expand Down
12 changes: 12 additions & 0 deletions templates/plugin/statsd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>
</Plugin>

0 comments on commit 9916bbe

Please sign in to comment.