lib/logstash/inputs/graphite.rb in logstash-input-graphite-0.1.0 vs lib/logstash/inputs/graphite.rb in logstash-input-graphite-0.1.1
- old
+ new
@@ -2,19 +2,19 @@
require "logstash/inputs/tcp"
require "logstash/namespace"
require "logstash/timestamp"
# Receive graphite metrics. This plugin understands the text-based graphite
-# carbon protocol. Both 'N' and specific-timestamp forms are supported, example:
-#
+# carbon protocol. Both `N` and `specific-timestamp` forms are supported, example:
+# [source,ruby]
# mysql.slow_query.count 204 N
# haproxy.live_backends 7 1364608909
#
-# 'N' means 'now' for a timestamp. This plugin also supports having the time
+# `N` means `now` for a timestamp. This plugin also supports having the time
# specified in the metric payload:
#
# For every metric received from a client, a single event will be emitted with
-# the metric name as the field (like 'mysql.slow_query.count') and the metric
+# the metric name as the field (like `mysql.slow_query.count`) and the metric
# value as the field's value.
class LogStash::Inputs::Graphite < LogStash::Inputs::Tcp
config_name "graphite"
milestone 1