mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
working for now without sprintf =/
This commit is contained in:
parent
1fc2b4d361
commit
c620a3b8c1
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ class LogStash::Outputs::Statsd < LogStash::Outputs::Base
|
|||
@client.namespace = event.sprintf(@namespace)
|
||||
@sender = event.sprintf(@sender)
|
||||
@increment.each do |metric|
|
||||
metric = event.sprintf(metric)
|
||||
@client.increment(build_stat(metric), @sample_rate)
|
||||
@client.increment(build_stat(event.sprintf(metric)), @sample_rate)
|
||||
end
|
||||
@decrement.each do |metric|
|
||||
@client.decrement(build_stat(event.sprintf(metric)), @sample_rate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue