Method: Fluent::Plugin::Input#configure

Defined in:
lib/fluent/plugin/input.rb

#configure(conf) ⇒ Object



48
49
50
51
52
53
54
# File 'lib/fluent/plugin/input.rb', line 48

def configure(conf)
  super

  @emit_records_metrics = metrics_create(namespace: "fluentd", subsystem: "input", name: "emit_records", help_text: "Number of count emit records")
  @emit_size_metrics = metrics_create(namespace: "fluentd", subsystem: "input", name: "emit_size", help_text: "Total size of emit events")
  @enable_size_metrics = !!system_config.enable_size_metrics
end