Skip to content

Commit

Permalink
Merge pull request redhat-openstack#260 from dene14/master
Browse files Browse the repository at this point in the history
Added absent timers for statsd module.
  • Loading branch information
blkperl committed May 3, 2015
2 parents e01c6f2 + 9916bbe commit 6343c5b
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 6343c5b

Please sign in to comment.