13 references to WithOtlpDevTunnel
Aspire.Hosting.Maui.Tests (11)
MauiPlatformExtensionsTests.cs (11)
692.WithOtlpDevTunnel(); 736.WithOtlpDevTunnel(); 800.WithOtlpDevTunnel(); 825.WithOtlpDevTunnel(); 852var exception = Assert.Throws<DistributedApplicationException>(() => androidEmulator.WithOtlpDevTunnel()); 962nameof(MauiWindowsPlatformResource) => builder => ((IResourceBuilder<MauiWindowsPlatformResource>)builder).WithOtlpDevTunnel(), 963nameof(MauiMacCatalystPlatformResource) => builder => ((IResourceBuilder<MauiMacCatalystPlatformResource>)builder).WithOtlpDevTunnel(), 964nameof(MauiAndroidDeviceResource) => builder => ((IResourceBuilder<MauiAndroidDeviceResource>)builder).WithOtlpDevTunnel(), 965nameof(MauiAndroidEmulatorResource) => builder => ((IResourceBuilder<MauiAndroidEmulatorResource>)builder).WithOtlpDevTunnel(), 966nameof(MauiiOSDeviceResource) => builder => ((IResourceBuilder<MauiiOSDeviceResource>)builder).WithOtlpDevTunnel(), 967nameof(MauiiOSSimulatorResource) => builder => ((IResourceBuilder<MauiiOSSimulatorResource>)builder).WithOtlpDevTunnel(),
AspireWithMaui.AppHost (2)
AppHost.cs (2)
19.WithOtlpDevTunnel() // Needed to get the OpenTelemetry data to "localhost" 30.WithOtlpDevTunnel() // Needed to get the OpenTelemetry data to "localhost"