18 references to OtlpGrpcEndpointName
Aspire.Hosting (4)
Dashboard\DashboardEventHandlers.cs (3)
417
AddDashboardOtlpEndpoint(dashboardResource, otlpGrpcEndpointUrl, KnownEndpointNames.
OtlpGrpcEndpointName
, endpointContext, transport: "http2");
538
() => GetEndpointUrlAsync(dashboardResource, KnownEndpointNames.
OtlpGrpcEndpointName
, cancellationToken),
819
var otlpGrpc = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpGrpcEndpointName
, KnownNetworkIdentifiers.LocalhostNetwork);
OtlpConfigurationExtensions.cs (1)
295
var grpcEndpoint = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpGrpcEndpointName
);
Aspire.Hosting.Tests (14)
Dashboard\DashboardEventHandlersTests.cs (3)
251
var otlpGrpcEndpoint = new EndpointReference(dashboardResource, KnownEndpointNames.
OtlpGrpcEndpointName
);
456
var otlpGrpcEndpointAnnotation = dashboardResource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
538
var otlpGrpcEndpointAnnotation = dashboardResource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
Dashboard\DashboardResourceTests.cs (5)
210
var otlpGrpcEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
244
var otlpGrpcEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
287
var otlpGrpcEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
503
Assert.DoesNotContain(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
862
if (endpoint.Name == KnownEndpointNames.
OtlpGrpcEndpointName
)
WithOtlpExporterTests.cs (6)
195
dashboard.Resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.
OtlpGrpcEndpointName
, uriScheme: "http", port: 18889, isProxied: true, transport: "http2"));
204
var grpcAnnotation = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
250
dashboard.Resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.
OtlpGrpcEndpointName
, uriScheme: "http", port: 18889, isProxied: true, transport: "http2"));
259
var grpcAnnotation = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);
280
dashboard.Resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.
OtlpGrpcEndpointName
, uriScheme: "http", port: 18889, isProxied: true, transport: "http2"));
316
var dashboardAnnotation = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpGrpcEndpointName
);