Class StartupInfo
- java.lang.Object
-
- co.elastic.apm.agent.context.AbstractLifecycleListener
-
- co.elastic.apm.agent.configuration.StartupInfo
-
- All Implemented Interfaces:
LifecycleListener
public class StartupInfo extends AbstractLifecycleListener
Logs system information and configuration on startup.Based on
org.stagemonitor.core.Stagemonitorandorg.stagemonitor.core.configuration.ConfigurationLogger, under Apache license 2.0.
-
-
Constructor Summary
Constructors Constructor Description StartupInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(ElasticApmTracer tracer)Callback for tracer initialization.-
Methods inherited from class co.elastic.apm.agent.context.AbstractLifecycleListener
pause, resume, start, stop
-
-
-
-
Method Detail
-
init
public void init(ElasticApmTracer tracer)
Description copied from interface:LifecycleListenerCallback for tracer initialization. As opposed toLifecycleListener.start(ElasticApmTracer), which may be called in a delay, this callback is called at the bootstrap of the JVM, before anything else start. This may be useful for listeners that need to operate very early on, for example such that setup class loading requirement to support OSGi systems.- Specified by:
initin interfaceLifecycleListener- Overrides:
initin classAbstractLifecycleListener- Parameters:
tracer- the tracer
-
-