Class Agent
- java.lang.Object
-
- co.elastic.apm.agent.impl.payload.Agent
-
public class Agent extends java.lang.ObjectName and version of the Elastic APM agent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEphemeralId()java.lang.StringgetName()Name of the Elastic APM agent, e.g.java.lang.StringgetVersion()Version of the Elastic APM agent, e.g."1.0.0" (Required)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Name of the Elastic APM agent, e.g. "Python" (Required)
-
getVersion
public java.lang.String getVersion()
Version of the Elastic APM agent, e.g."1.0.0" (Required)
-
getEphemeralId
public java.lang.String getEphemeralId()
- Returns:
- A unique agent ID, non-persistent (i.e. changes on restart).
-
-