IMauiPlatformResource.WithOtlpDevTunnel

Method
📦 Aspire.Hosting.Maui v17.0.0-preview.1.26567.5
type IMauiPlatformResource interface {
// ... omitted for brevity
WithOtlpDevTunnel() IMauiPlatformResource
}

Signature

methodWithOtlpDevTunnelbuilder
Configures the MAUI platform resource to send OpenTelemetry data through an automatically created dev tunnel. This is the easiest option for most scenarios, as it handles tunnel creation, configuration, and endpoint injection automatically.
WithOtlpDevTunnel() IMauiPlatformResource
IMauiPlatformResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: