Watch Aspire live streamsDocsTry Aspire

JavaAppResource.withOtelAgentDefaultPath

Method
📦 Aspire.Hosting.Java v13.6.5-preview.1.26559.7
interface JavaAppResource {
// ... omitted for brevity
withOtelAgentDefaultPath(): JavaAppResource;
}

Signature

methodwithOtelAgentDefaultPathbuilder
Runs the application with the OpenTelemetry Java agent from the location the build tool writes it to.
withOtelAgentDefaultPath(): JavaAppResource
JavaAppResource

Defined on

This method is defined on the following type: