Class: Observed::Plugins::Fluentd

Inherits:
Reporter
  • Object
show all
Includes:
Reporter::RegexpMatching
Defined in:
lib/observed/fluentd.rb

Instance Method Summary collapse

Instance Method Details

#report(tag, time, data) ⇒ Object



19
20
21
# File 'lib/observed/fluentd.rb', line 19

def report(tag, time, data)
  fluent_logger.post(self.tag, transform.call(data))
end