What is the 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 an open source project, in beta status. Feedback and feature requests can be filed directly on GitHub or on the Feedback & Roadmap thread in AnswerHub.

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 web requests
  • Trace in-process asynchronous execution

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

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.

The picture below shows how easy it is to start tracing a custom remoting call using the OneAgent SDK. The technical documentation and detailed sample code examples can be found on the GitHub repositories for each language implementation of the OneAgent SDK.

OneAgent SDK remoting diagram

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 open source and 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