14 references to OtlpHttpEndpointName
Aspire.Hosting (5)
Dashboard\DashboardEventHandlers.cs (4)
259
AddDashboardOtlpEndpoint(dashboardResource, otlpHttpEndpointUrl, KnownEndpointNames.
OtlpHttpEndpointName
, endpointContext);
387
() => GetEndpointUrlAsync(dashboardResource, KnownEndpointNames.
OtlpHttpEndpointName
, cancellationToken),
474
var otlpHttp = ((IResourceWithEndpoints)context.Resource).GetEndpoint(KnownEndpointNames.
OtlpHttpEndpointName
, KnownNetworkIdentifiers.LocalhostNetwork);
696
var otlpHttp = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpHttpEndpointName
, KnownNetworkIdentifiers.LocalhostNetwork);
OtlpConfigurationExtensions.cs (1)
311
var httpEndpoint = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpHttpEndpointName
);
Aspire.Hosting.Tests (9)
Dashboard\DashboardEventHandlersTests.cs (2)
549
var otlpHttpEndpointAnnotation = dashboardResource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
631
var otlpHttpEndpointAnnotation = dashboardResource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
Dashboard\DashboardResourceTests.cs (5)
229
var otlpHttpEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
263
var otlpHttpEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
306
var otlpHttpEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
567
Assert.Contains(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
886
else if (endpoint.Name == KnownEndpointNames.
OtlpHttpEndpointName
)
WithOtlpExporterTests.cs (2)
198
dashboard.Resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.
OtlpHttpEndpointName
, uriScheme: "http", port: 18890, isProxied: true));
209
var httpAnnotation = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);