6 references to OtlpGrpcEndpointName
Aspire.Hosting.Maui (2)
MauiOtlpExtensions.cs (2)
129
throw new DistributedApplicationException($"The Aspire dashboard resource '{KnownResourceNames.AspireDashboard}' does not have an allocated OTLP endpoint named '{KnownEndpointNames.
OtlpGrpcEndpointName
}' or '{KnownEndpointNames.OtlpHttpEndpointName}', so the MAUI OTLP dev tunnel for resource '{parentBuilder.Resource.Name}' cannot start. Ensure dashboard OTLP ingestion is enabled, or configure an explicit OTLP endpoint URL.");
198
var grpcEndpoint = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpGrpcEndpointName
);
Aspire.Hosting.Maui.Tests (4)
MauiPlatformExtensionsTests.cs (4)
685
name: KnownEndpointNames.
OtlpGrpcEndpointName
,
703
var dashboardEndpoint = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
740
name: KnownEndpointNames.
OtlpGrpcEndpointName
,
835
Assert.Contains(KnownEndpointNames.
OtlpGrpcEndpointName
, exception.Message);