Enable Hybrid Mode

Hybrid mode is not supported on JVMs based on IBM J9, for example, OpenJ9. In this mode, if you do not explicitly set service.name, its value will default to the tier name as used by the Java Agent.
  1. To enable this mode, set one of the following:
    • For Java Agent 22.3.0 to 25.2.0, set -Dappdynamics.opentelemetry.enabled=true.
    • For Java Agent 25.3.0 or higher, set -Dagent.deployment.mode=hybrid.
    • For Java Agent 25.7.0 or higher, use the above system property or set environment variable AGENT_DEPLOYMENT_MODE=hybrid.
  2. Set the traces exporter to OTLP (the OpenTelemetry-enabled Java Agent will send OpenTelemetry spans in the OTLP format):
    -Dotel.traces.exporter=otlp