Skip to content

Commit 9916bbe

Browse files
committed
Added absent timers for statsd module.
1 parent e01c6f2 commit 9916bbe

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

manifests/plugin/statsd.pp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
$deletesets = undef,
1010
$interval = undef,
1111
$timerpercentile = undef,
12+
$timerlower = undef,
13+
$timerupper = undef,
14+
$timersum = undef,
15+
$timercount = undef,
1216
) {
1317

1418
collectd::plugin {'statsd':

templates/plugin/statsd.conf.erb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,16 @@
2020
<% if @timerpercentile -%>
2121
TimerPercentile <%= @timerpercentile %>
2222
<% end -%>
23+
<% if @timerupper -%>
24+
TimerUpper <%= @timerupper %>
25+
<% end -%>
26+
<% if @timerlower -%>
27+
TimerLower <%= @timerlower %>
28+
<% end -%>
29+
<% if @timersum -%>
30+
TimerSum <%= @timersum %>
31+
<% end -%>
32+
<% if @timercount -%>
33+
TimerCount <%= @timercount %>
34+
<% end -%>
2335
</Plugin>

0 commit comments

Comments
 (0)