With Dynatrace interoperability for OpenTelemetry, you can use the instrumentation packages available from OpenTelemetry to monitor technologies (like databases or messaging frameworks) that aren't supported by the Dynatrace AWS Lambda extension out-of-the box. The Dynatrace AWS Lambda extension automatically captures the additional span instrumentation and integrates it with any other telemetry captured without any need to configure additional OpenTelemetry exporters.
OpenTelemetry is a collection of tools, APIs, and SDKs. You can use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis to get insights into your software's performance and behavior. OpenTelemetry interoperability connects Dynatrace AWS Lambda extension to OpenTelemetry API for the respective instrumentation.
For the environment variables configuration method, set the value of the DT_OPEN_TELEMETRY_ENABLE_INTEGRATION
environment variable to true
.
For the JSON file configuration method, set the respective property to true
in the dtconfig.json
file. For example:
{...other configuration properties..."OpenTelemetry": {"EnableIntegration": true}}
To learn more about how OpenTelemetry interoperability works, see
If OpenTelemetry interoperability is enabled and an OpenTelemetry SDK already exists, the OpenTelemetry SDK might be evicted by the Dynatrace AWS Lambda extension. To disable OpenTelemetry interoperability, set the values to false
.