Method: Honeybadger::Agent#collect

Defined in:
lib/honeybadger/agent.rb

#collect(collector) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

[View source]

441
442
443
444
445
446
# File 'lib/honeybadger/agent.rb', line 441

def collect(collector)
  return unless config.insights_enabled?

  init_metrics_worker
  metrics_worker.push(collector)
end