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