Method: ElasticAPM::Agent.instance

Defined in:
lib/elastic_apm/agent.rb

.instanceObject

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.

life cycle



42
43
44
# File 'lib/elastic_apm/agent.rb', line 42

def self.instance # rubocop:disable Style/TrivialAccessors
  @instance
end