5 references to OtelServiceInstanceIdAnnotation
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (4)
937containerExec.Annotate(CustomResource.OtelServiceInstanceIdAnnotation, exeInstance.Suffix); 962exe.Annotate(CustomResource.OtelServiceInstanceIdAnnotation, exeInstance.Suffix); 994exeSpec.Annotate(CustomResource.OtelServiceInstanceIdAnnotation, exeInstance.Suffix); 1328ctr.Annotate(CustomResource.OtelServiceInstanceIdAnnotation, containerObjectInstance.Suffix);
OtlpConfigurationExtensions.cs (1)
69context.EnvironmentVariables["OTEL_RESOURCE_ATTRIBUTES"] = "service.instance.id={{- index .Annotations \"" + CustomResource.OtelServiceInstanceIdAnnotation + "\" -}}";