Enable the Combined Mode for .NET Agent
You can configure the combined mode for .NET Agent (Splunk-only mode and Dual-signal mode). The combined mode is not supported in NuGet-based distributions and Azure AppService Extensions.
Enable Dual-signal mode
Ensure your .NET application is running on a supported runtime that is mutually compatible with both AppDynamics and OpenTelemetry (OTEL) profilers.
To enable dual mode, set the AGENT_DEPLOYMENT_MODE=dual environment variables before starting your application.
Enable Splunk-only mode
To enable this mode, set the AGENT_DEPLOYMENT_MODE=otel environment variables before starting your application.
Configure .Net OpenTelemetry Agent
- Service Identification: A unique name to identify your service in the observability platform.
- Telemetry Export Destination: The endpoint (the Splunk Distribution of the OpenTelemetry Collector) where the agent should send telemetry data.
OTEL_SERVICE_NAME: Specify the service name.OTEL_RESOURCE_ATTRIBUTES: Specify service namespace and deployment environment variables.OTEL_EXPORTER_OTLP_ENDPOINT: This environment variable changes the OTLP endpoint.
OTEL_SERVICE_NAME=<service_name>
OTEL_RESOURCE_ATTRIBUTES=service.namespace=<service_namespace>,deployment.environment.name=<environment>
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318