4 references to OtelServiceNameAnnotation
Aspire.Hosting (4)
Dcp\ApplicationExecutor.cs (3)
1083exe.Annotate(CustomResource.OtelServiceNameAnnotation, executable.Name); 1115exeSpec.Annotate(CustomResource.OtelServiceNameAnnotation, project.Name); 1477ctr.Annotate(CustomResource.OtelServiceNameAnnotation, container.Name);
OtlpConfigurationExtensions.cs (1)
77context.EnvironmentVariables["OTEL_SERVICE_NAME"] = "{{- index .Annotations \"" + CustomResource.OtelServiceNameAnnotation + "\" -}}";