4 references to OtelServiceInstanceIdAnnotation
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (3)
772exe.Annotate(CustomResource.OtelServiceInstanceIdAnnotation, exeInstance.Suffix); 804exeSpec.Annotate(CustomResource.OtelServiceInstanceIdAnnotation, exeInstance.Suffix); 1049ctr.Annotate(CustomResource.OtelServiceInstanceIdAnnotation, containerObjectInstance.Suffix);
OtlpConfigurationExtensions.cs (1)
68context.EnvironmentVariables["OTEL_RESOURCE_ATTRIBUTES"] = "service.instance.id={{- index .Annotations \"" + CustomResource.OtelServiceInstanceIdAnnotation + "\" -}}";