OneAgent SDK

Dynatrace provides extensive monitoring capabilities for nearly all popular languages and technologies, including Java, .NET, Node.js, PHP, and Golang. See our our supported technologies page for details about all supported technologies.

The Dynatrace OneAgent SDK enables you to instrument your application manually to extend end-to-end visibility for frameworks and technologies for which there is no code module available yet. With the SDK, you get full access to all analysis and monitoring functionality, including auto-baselining and AI-based root cause analysis.

The Dynatrace OneAgent SDK is available in GitHub. Feedback and feature requests can be filed directly in GitHub.

What you can do with Dynatrace OneAgent SDK

With the Dynatrace OneAgent SDK, you can:

  • Trace incoming and outgoing remote calls
  • Trace database requests
  • Trace incoming and outgoing web requests
  • Trace in-process asynchronous execution
  • Trace queues and messages
  • Capture request attributes

More functionality will be added to the OneAgent SDK over time. The feature sets differ slightly with each language implementation.

What you can't do with Dynatrace OneAgent SDK

With the Dynatrace OneAgent SDK, you can't:

  • Create user sessions and user actions: This functionality is provided by Dynatrace OpenKit

How to use the Dynatrace OneAgent SDK

As the OneAgent SDK works hand-in-hand with Dynatrace OneAgent, no additional configuration is required.

The main requirements for using the OneAgent SDK are:

  • Access to the source code of the application (and willingness to change the code)
  • As the OneAgent SDK communicates directly with OneAgent, OneAgent (minimum required OneAgent version depends on the SDK version) needs to be installed and running on the host that runs the application. Container environments are supported.
  • OneAgent in full-stack monitoring mode.

OneAgent automatically detects that your application is instrumented with the OneAgent SDK and immediately begins monitoring it. A restart of the application is required following OneAgent installation on the host.

OneAgent SDK on GitHub

The Dynatrace OneAgent SDK is published directly to GitHub together with the technical documentation. To get a detailed overview of the current features of the OneAgent SDK, check out the following links:

Further reading