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 Java command line options:
      • set -Dagent.deployment.mode=hybrid,
      • 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):
    CODE
    -Dotel.traces.exporter=otlp