OpenTelemetry interoperability
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.
Enable OpenTelemetry interoperability
With OpenTelemetry interoperability, you can use the instrumentation packages and extensions available for the respective OpenTelemetry implementation, and so monitor technologies (like databases or messaging frameworks) that aren't supported by the Dynatrace AWS Lambda extension out of the box. To enable OpenTelemetry interoperability:
-
For the environment variables configuration method, set the value of the
DT_OPEN_TELEMETRY_ENABLE_INTEGRATION
environment variable totrue
. -
For the JSON file configuration method, set the respective property to
true
in thedtconfig.json
file. For example:1{2 ...other configuration properties...3 "OpenTelemetry": {4 "EnableIntegration": true5 }6}
Learn more
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
.