18 references to OtlpGrpcEndpointName
Aspire.Hosting (4)
Dashboard\DashboardEventHandlers.cs (3)
264
AddDashboardOtlpEndpoint(dashboardResource, otlpGrpcEndpointUrl, KnownEndpointNames.
OtlpGrpcEndpointName
, endpointContext, transport: "http2");
383
() => GetEndpointUrlAsync(dashboardResource, KnownEndpointNames.
OtlpGrpcEndpointName
, cancellationToken),
690
var otlpGrpc = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpGrpcEndpointName
, KnownNetworkIdentifiers.LocalhostNetwork);
OtlpConfigurationExtensions.cs (1)
310
var grpcEndpoint = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpGrpcEndpointName
);
Aspire.Hosting.Tests (14)
Dashboard\DashboardEventHandlersTests.cs (3)
280
var otlpGrpcEndpoint = new EndpointReference(dashboardResource, KnownEndpointNames.
OtlpGrpcEndpointName
);
547
var otlpGrpcEndpointAnnotation = dashboardResource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
629
var otlpGrpcEndpointAnnotation = dashboardResource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
Dashboard\DashboardResourceTests.cs (5)
228
var otlpGrpcEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
262
var otlpGrpcEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
305
var otlpGrpcEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
521
Assert.DoesNotContain(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
882
if (endpoint.Name == KnownEndpointNames.
OtlpGrpcEndpointName
)
WithOtlpExporterTests.cs (6)
197
dashboard.Resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.
OtlpGrpcEndpointName
, uriScheme: "http", port: 18889, isProxied: true, transport: "http2"));
206
var grpcAnnotation = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
252
dashboard.Resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.
OtlpGrpcEndpointName
, uriScheme: "http", port: 18889, isProxied: true, transport: "http2"));
261
var grpcAnnotation = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
282
dashboard.Resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.
OtlpGrpcEndpointName
, uriScheme: "http", port: 18889, isProxied: true, transport: "http2"));
318
var dashboardAnnotation = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);