2 instantiations of OtlpExporterAnnotation
Aspire.Hosting (2)
OtlpConfigurationExtensions.cs (2)
33
resource.Annotations.Add(new
OtlpExporterAnnotation
());
52
resource.Annotations.Add(new
OtlpExporterAnnotation
{ RequiredProtocol = protocol });
3 references to OtlpExporterAnnotation
Aspire.Hosting (2)
OtlpConfigurationExtensions.cs (2)
70
if (!resource.TryGetLastAnnotation<
OtlpExporterAnnotation
>(out
var
otlpExporterAnnotation))
Aspire.Hosting.Docker (1)
DockerComposeInfrastructure.cs (1)
84
if (resource is IResourceWithEnvironment resourceWithEnv && resource.Annotations.OfType<
OtlpExporterAnnotation
>().Any())