Skip to content

Commit

Permalink
explain defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtado committed Feb 18, 2014
1 parent 0cba8ff commit fd8a0f8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/logstash/outputs/statsd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@
# A simple example usage of this is to count HTTP hits by response code; to learn
# more about that, check out the [log metrics tutorial](../tutorials/metrics-from-logs)
#
# The final metric sent to statsd will look like the following (assuming defaults)
# logstash.sender.file_name
# The default final metric sent to statsd will look like this:
#
# logstash.sender.metric_name
#
# With regards to this plugin, the default namespace is "logstash", the default sender
# is the ${host} field, and the metric name depends on what is set as the metric name
# in the increment, decrement, timing, count, set or gauge variable.
#
class LogStash::Outputs::Statsd < LogStash::Outputs::Base
## Regex stolen from statsd code
Expand Down

0 comments on commit fd8a0f8

Please sign in to comment.