Class: Sensu::Plugin::Metric::CLI::Graphite
- Defined in:
- lib/sensu-plugin/metric/cli.rb
Instance Attribute Summary
Attributes inherited from CLI
Instance Method Summary collapse
Methods inherited from CLI
Instance Method Details
#output(path = nil, value = nil, timestamp = Time.now.to_i) ⇒ Object
19 20 21 22 23 |
# File 'lib/sensu-plugin/metric/cli.rb', line 19 def output(path=nil, value=nil, =Time.now.to_i) unless path.nil? || path.is_a?(Exception) || value.nil? puts [path, value, ].join("\t") end end |