Method: ElasticAPM::Agent#start
- Defined in:
- lib/elastic_apm/agent.rb
#start ⇒ 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.
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/elastic_apm/agent.rb', line 108 def start unless config. config.logger.info format( '[%s] Starting agent, reporting to %s', VERSION, config.server_url ) end central_config.start transport.start instrumenter.start metrics.start config.enabled_instrumentations.each do |lib| debug "Requiring spy: #{lib}" require "elastic_apm/spies/#{lib}" end self end |