withOtelAgent
Method
interface ContainerResource { // ... omitted for brevity withOtelAgent(agentPath?: string): IResourceWithEnvironment;}Signature
method
withOtelAgent builder Configures the OpenTelemetry Java Agent for the Java application.
withOtelAgent(agentPath?: string): IResourceWithEnvironmentParameters
agentPath string optional Returns
IResourceWithEnvironment Applies to
This method applies to the following types: