MauiOtlpExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |