2 instantiations of OtlpExporterAnnotation
Aspire.Hosting (2)
OtlpConfigurationExtensions.cs (2)
34resource.Annotations.Add(new OtlpExporterAnnotation()); 53resource.Annotations.Add(new OtlpExporterAnnotation { RequiredProtocol = protocol });
6 references to OtlpExporterAnnotation
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (1)
1254if (containers.Any(c => c.TryGetAnnotationsOfType<OtlpExporterAnnotation>(out _)))
Dcp\OtlpEndpointReferenceGatherer.cs (2)
24if (!resource.IsContainer() || !resource.TryGetLastAnnotation<OtlpExporterAnnotation>(out var oea))
OtlpConfigurationExtensions.cs (2)
71if (!resource.TryGetLastAnnotation<OtlpExporterAnnotation>(out var otlpExporterAnnotation))
Aspire.Hosting.Docker (1)
DockerComposeInfrastructure.cs (1)
114if (resource is IResourceWithEnvironment resourceWithEnv && resource.Annotations.OfType<OtlpExporterAnnotation>().Any())