Class CGroupMetrics
- java.lang.Object
-
- co.elastic.apm.agent.context.AbstractLifecycleListener
-
- co.elastic.apm.agent.metrics.builtin.CGroupMetrics
-
- All Implemented Interfaces:
LifecycleListener
public class CGroupMetrics extends AbstractLifecycleListener
Record metrics related to the CGroup Usage.Implements the cgroup metrics spec - https://github.com/elastic/apm/blob/master/docs/agents/agent-development.md#cgroup-metrics
-
-
Constructor Summary
Constructors Constructor Description CGroupMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(ElasticApmTracer tracer)Callback for when theElasticApmTracerstarts.-
Methods inherited from class co.elastic.apm.agent.context.AbstractLifecycleListener
init, pause, resume, stop
-
-
-
-
Method Detail
-
start
public void start(ElasticApmTracer tracer)
Description copied from interface:LifecycleListenerCallback for when theElasticApmTracerstarts.- Specified by:
startin interfaceLifecycleListener- Overrides:
startin classAbstractLifecycleListener- Parameters:
tracer- The tracer.
-
-