How OneAgent works

OneAgent comprises a set of specialized processes that run on each monitored host. It collects metrics from the operating system on which it runs, and compares the metrics to expected performance values. The most important metrics are then reported to Dynatrace.

Processes

In addition, OneAgent detects which processes run on each host and collects performance metrics for the most important processes. OneAgent can also perform more detailed monitoring of specific technologies (such as Java, Node.js, .NET, and others) by injecting itself into those processes and monitoring their performance from within. This provides you with code-level insights into the services that your applications rely on.

Real user monitoring

To deliver Real User Monitoring, OneAgent injects a JavaScript tag into the HTML of each application page that is rendered by your web servers. With these JavaScript tags in place—along with a corresponding module that is automatically installed on your web server and requires no configuration—OneAgent is able to monitor the response times and performance experienced by your customers in their mobile and desktop browsers.

Log monitoring

OneAgent is also capable of monitoring the log files of a specific host or a specific process group. It can discover and analyze system or process-created logs. Depending on your configuration, you can store these log files, which makes the log data available independently of the log files themselves. This can be beneficial in the following situations:

  • Short log-retention periods
  • Volatile log storage
  • Legal requirements to keep logs archived centrally

Network

OneAgent can dig deeper and get network metrics at the process level. Thanks to process-to-process monitoring of network communications Dynatrace can:

  • Ensure high-quality process communications over networks.
  • Understand your network topology in dynamic environments.
  • Monitor process-level network capacity.
  • Perform integrated network health monitoring.

Communication

Communication from OneAgent to Dynatrace is outbound only and Dynatrace never initiates communication with OneAgent. Because of this, when using Dynatrace, there is no need to open ports for inbound communication.
OneAgent can connect directly to Dynatrace Cluster or it can communicate via one or more Dynatrace ActiveGates. Simultaneous connection via multiple ActiveGates is possible. OneAgent determines which ActiveGates to communicate through based on the information it receives from Dynatrace Cluster.