Skip to main content
Use multiple OTLP exporters when you want to send telemetry data to Dynatrace and Cosmo Cloud at the same time.
Do not commit Dynatrace API tokens to source control. Reference them through an environment variable such as ${DYNATRACE_API_TOKEN}.

Router configuration

The following example exports traces and metrics to both Cosmo Cloud and Dynatrace:

Notes

  • Dynatrace uses different OTLP HTTP paths for traces and metrics.
  • If you do not want to export to Cosmo Cloud, remove the Cosmo Cloud exporters from the configuration.