.NET auto-instrumentation also honors an annotation that will be used to set the .NET Runtime Identifiers(RIDs).
Currently, only two RIDs are supported: linux-x64 and linux-musl-x64.
By default linux-x64 is used.
instrumentation.opentelemetry.io/inject-dotnet: "true"
instrumentation.opentelemetry.io/otel-dotnet-auto-runtime: "linux-x64" # for Linux glibc based images, this is default value and can be omitted
instrumentation.opentelemetry.io/otel-dotnet-auto-runtime: "linux-musl-x64" # for Linux musl based imagesNote: For
DotNetauto-instrumentation, by default, operator sets theOTEL_DOTNET_AUTO_TRACES_ENABLED_INSTRUMENTATIONSenvironment variable which specifies the list of traces source instrumentations you want to enable. The value that is set by default by the operator is all available instrumentations supported by theopenTelemery-dotnet-instrumentationrelease consumed in the image, i.e.AspNet,HttpClient,SqlClient. This value can be overridden by configuring the environment variable explicitly.