14 references to OtlpHttpEndpointName
Aspire.Hosting (5)
Dashboard\DashboardEventHandlers.cs (4)
412
AddDashboardOtlpEndpoint(dashboardResource, otlpHttpEndpointUrl, KnownEndpointNames.
OtlpHttpEndpointName
, endpointContext);
542
() => GetEndpointUrlAsync(dashboardResource, KnownEndpointNames.
OtlpHttpEndpointName
, cancellationToken),
627
var otlpHttp = ((IResourceWithEndpoints)context.Resource).GetEndpoint(KnownEndpointNames.
OtlpHttpEndpointName
, KnownNetworkIdentifiers.LocalhostNetwork);
825
var otlpHttp = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpHttpEndpointName
, KnownNetworkIdentifiers.LocalhostNetwork);
OtlpConfigurationExtensions.cs (1)
296
var httpEndpoint = dashboardResource.GetEndpoint(KnownEndpointNames.
OtlpHttpEndpointName
);
Aspire.Hosting.Tests (9)
Dashboard\DashboardEventHandlersTests.cs (2)
458
var otlpHttpEndpointAnnotation = dashboardResource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
540
var otlpHttpEndpointAnnotation = dashboardResource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
Dashboard\DashboardResourceTests.cs (5)
211
var otlpHttpEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
245
var otlpHttpEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
288
var otlpHttpEndpoint = Assert.Single(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
549
Assert.Contains(dashboard.Annotations.OfType<EndpointAnnotation>(), e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);
866
else if (endpoint.Name == KnownEndpointNames.
OtlpHttpEndpointName
)
WithOtlpExporterTests.cs (2)
196
dashboard.Resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.
OtlpHttpEndpointName
, uriScheme: "http", port: 18890, isProxied: true));
207
var httpAnnotation = dashboard.Resource.Annotations.OfType<EndpointAnnotation>().Single(e => e.Name == KnownEndpointNames.
OtlpHttpEndpointName
);