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