Share via


MauiOtlpExtensions Class

Definition

Provides extension methods for configuring OpenTelemetry endpoints for MAUI platform resources.

public static class MauiOtlpExtensions
type MauiOtlpExtensions = class
Public Module MauiOtlpExtensions
Inheritance
MauiOtlpExtensions

Methods

WithOtlpDevTunnel<T>(IResourceBuilder<T>)

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.

Applies to