Enable OpenTelemetry in the .NET Agent
- .NET Agent version >= 22.6.0
- Applications using .NET version >= 6.0
- For a list of .NET frameworks supported for OpenTelemetry, see .NET Agent Frameworks for OpenTelemetry.
AppDynamics On-Premises
list_alt
APPDYNAMICS_OPENTELEMETRY_ENABLED=true
OTEL_TRACES_EXPORTER=otlp
service.name
) and application name (in
service.namespace
) for the application:
service.name
, the value defaults to the tier name
originally registered by the .NET Agent (when the tier was first
instrumented by Splunk AppDynamics).OTEL_RESOURCE_ATTRIBUTES=service.name=myServiceName,service.namespace=myServiceNameSpace
You
also have the option to set tier and application names in your OpenTelemetry
otel-config.yml
file. See Set service.nameandservice.namespace to Your Application and Tier Names.