1.3 Core Telemetry Components: OneAgent, ActiveGate & Grail Lakehouse

Key Takeaways

  • OneAgent is a single, unified binary that automatically discovers host architecture, injects bytecode sensors into running processes, and streams full-stack telemetry without manual coding.
  • ActiveGate operates as an intelligent proxy, message router, and perimeter endpoint that consolidates OneAgent traffic, executes private synthetics, and polls cloud provider APIs.
  • Environment ActiveGates serve individual tenant environments and run extensions/synthetics, whereas Cluster ActiveGates provide multi-tenant routing in Dynatrace Managed deployments.
  • Grail is Dynatrace's causally connected, schema-on-read data lakehouse that stores logs, metrics, traces, and business events without indexing overhead or rigid schemas.
  • Telemetry routing employs Network Zones to ensure OneAgents prioritize local ActiveGates within their network segment before attempting cross-zone or direct failover.
Last updated: September 2026

The Dynatrace platform operates on a tightly integrated telemetry architecture designed for automated full-stack observability. Rather than assembling disparate open-source collectors, log forwarders, and network profilers, Dynatrace unifies instrumentation, routing, and analytics through three core foundational components: Dynatrace OneAgent, Dynatrace ActiveGate, and the Grail Causally Connected Data Lakehouse.


OneAgent: Architecture and Dynamic Injection Mechanics

Dynatrace OneAgent revolutionizes application performance monitoring through its single binary paradigm. A single OneAgent package installed on an operating system delivers host metrics, network flow analysis, process discovery, deep application code profiling, and log forwarding without requiring distinct, siloed agents.

Modular Internal Architecture

When OneAgent installs on a host, it operates through a collection of specialized sub-components coordinated by an internal supervisor:

  • oneagentwatchdog (Supervisor Process): A resilient supervisor daemon that monitors the health of all OneAgent child modules. If a module crashes, stalls, or encounters an unexpected exception, the watchdog automatically terminates, isolates, and restarts it without disrupting the underlying host operating system.
  • oneagentos (Operating System Module): Gathers host-level infrastructure performance data, including physical and virtual CPU consumption, memory allocation, disk read/write throughput, storage queue lengths, and network interface statistics.
  • oneagentnet (Network Driver): A low-overhead kernel driver that analyzes TCP socket connections, packet loss, retransmission rates, and round-trip time (RTT) at the operating system level, mapping inter-process communications across the data center.
  • Language-Specific Sensor Modules: Specialized instrumentation runtimes compiled for Java, .NET, Node.js, Go, Python, PHP, Apache HTTP Server, NGINX, and Microsoft IIS.
+-----------------------------------------------------------------------------------------+
|                                ONEAGENT ARCHITECTURE STACK                              |
+-----------------------------------------------------------------------------------------+
|  [oneagentwatchdog]  <-- Supervises, monitors health, enforces resource safety limits  |
+-----------------------------------------------------------------------------------------+
|  [oneagentos]        <-- Host metrics: CPU, RAM, Disk I/O, Storage, Host Processes     |
|  [oneagentnet]       <-- Network driver: TCP metrics, RTT, retransmissions, socket maps |
+-----------------------------------------------------------------------------------------+
|  INJECTED RUNTIME SENSORS (Active Bytecode Hooks Inside Process Memory Spaces)           |
|  • Java Virtual Machine (JVM)        • .NET CLR / Core          • Node.js / V8 Engine   |
|  • Go Runtime (Dynamic Hooks)        • Python Interpreter       • PHP Engine            |
|  • NGINX Web Server Modules          • Apache HTTP Modules      • Microsoft IIS Modules |
+-----------------------------------------------------------------------------------------+

Automatic Injection: Zero Code Modification

Unlike traditional APM solutions that require developers to import proprietary SDKs, edit build pipelines, or alter container entrypoints, OneAgent employs dynamic runtime injection:

  1. Operating System Hooking: On Linux systems, OneAgent registers itself within /etc/ld.so.preload. On Windows systems, it leverages user-mode hooking, AppInit DLLs, and runtime environment hooks (e.g., COR_ENABLE_PROFILING for .NET CLR).
  2. Process Spawn Interception: When the operating system initializes any new process executable, the dynamic linker loads the OneAgent bootstrap library directly into the virtual address space of the process before main() executes.
  3. Runtime Recognition: The bootstrap library examines the process signature. If the process is a supported runtime (e.g., a JVM, Node.js process, or Python script), OneAgent activates the corresponding language sensor.
  4. Bytecode Instrumentation: The sensor dynamically injects lightweight inspection instructions (probes) into the compiled bytecode in memory. It instruments entry points, exit points, parameter values, exceptions, and database calls, capturing complete PurePath transaction traces without modifying source code on disk.

Protective Circuit Breakers

To ensure zero negative impact on production workloads, OneAgent incorporates built-in resource guards. If host CPU utilization exceeds safe thresholds (e.g., OneAgent consuming > 5% of host CPU) or if process memory becomes severely constrained, OneAgent automatically throttles its sampling rate or temporarily suspends deep code inspection, safeguarding application availability.


ActiveGate: Topologies, Capabilities, and Use Cases

While OneAgents can theoretically communicate directly with Dynatrace SaaS, enterprise architectures rarely permit thousands of internal servers to access the public Internet directly. Dynatrace ActiveGate resolves this challenge by acting as a secure proxy, data consolidator, and edge intelligence appliance.

Environment ActiveGate vs. Cluster ActiveGate

ActiveGates are deployed in two distinct operational roles depending on platform architecture:

Feature / AttributeEnvironment ActiveGateCluster ActiveGate
Deployment ModelDynatrace SaaS & Dynatrace ManagedDynatrace Managed exclusively
Scope of ServiceBound to a single Dynatrace EnvironmentShared across multiple Environments in a Cluster
Network PlacementCustomer DMZ / Internal Network SegmentsIngress DMZ in front of Managed Cluster nodes
OneAgent Traffic ProxyProxies and compresses OneAgent telemetryBalances OneAgent traffic across cluster nodes
Cloud Provider API PollingSupported (AWS, Azure, GCP APIs)Not used for Cloud API polling
Private Synthetic MonitoringExecutes HTTP & Browser Synthetic testsDoes not execute Synthetic monitors
Dynatrace Extensions 2.0Runs SNMP, WMI, Prometheus, JMX collectorsDoes not execute Extensions 2.0 collectors
Default Listening PortTCP 9999 (TLS encrypted)TCP 9999 (TLS encrypted)

Core Capabilities of Environment ActiveGates

Deploying Environment ActiveGates provides four major architectural benefits:

  1. Firewall Perimeter Consolidation: Instead of permitting hundreds or thousands of application hosts to establish outbound connections to the Internet, only the ActiveGate requires outbound access over port 443. All OneAgents route internally to the ActiveGate on port 9999.
  2. WAN Traffic Compression and Buffering: ActiveGate compresses incoming telemetry before streaming it across WAN links to Dynatrace, reducing bandwidth consumption by up to 70%. Furthermore, if the WAN link experiences transient packet loss or a temporary outage, ActiveGate buffers telemetry in memory and local storage, re-transmitting once connectivity recovers.
  3. Private Synthetic Monitoring: An Environment ActiveGate equipped with the Synthetic Engine module can execute simulated synthetic HTTP requests and full Chromium browser clickpaths from within private networks, validating internal APIs and intranets inaccessible from public cloud testing locations.
  4. Cloud API & Extension Ingestion: ActiveGates serve as the polling engine for external infrastructure. They query cloud provider metrics (AWS CloudWatch, Azure Monitor, Google Cloud Monitoring) and execute Extensions 2.0 to monitor legacy network switches (SNMP), Windows infrastructure (WMI), and container metrics (Prometheus scraping).

Network Zones: Deterministic Routing

In complex multi-datacenter or multi-region enterprise environments, administrators organize ActiveGates and OneAgents using Network Zones. A Network Zone is a logical string identifier (e.g., us-east-aws or frankfurt-dc) configured on collectors:

  • OneAgents always route traffic to an ActiveGate sharing their identical Network Zone.
  • If all local ActiveGates in the primary zone become unavailable, OneAgent falls back to configured alternative zones.
  • This prevents telemetry from unnecessarily crossing expensive inter-region cloud backbones or high-latency WAN links during normal operations.

Grail: The Causally Connected Data Lakehouse

In modern observability, traditional index-based storage systems (such as legacy Elasticsearch or Lucene clusters) suffer from architectural collapse under massive cloud scale. They require rigid schema definitions, consume massive disk space for inverted search indices, suffer from severe indexing lag (minutes before logs appear), and trigger costly index maintenance during high-cardinality spikes.

Dynatrace Grail replaces legacy indexing architectures with a causally connected, schema-on-read data lakehouse.

+-----------------------------------------------------------------------------------------+
|                        LEGACY INDEXING VS. DYNATRACE GRAIL                              |
+-------------------------------------------------------------+---------------------------+
| LEGACY INDEX-BASED LOG & METRIC STORES                      | DYNATRACE GRAIL LAKEHOUSE |
+-------------------------------------------------------------+---------------------------+
| • Rigid Schema-on-Write (data dropped if schema mismatches) | • Schema-on-Read (store   |
| • Heavy inverted indices consume 50-100% extra disk storage |   raw, project on query)  |
| • Indexing latency: seconds to minutes before searchable    | • Zero inverted indices   |
| • Index re-building required when data fields change        | • Sub-second availability |
| • Telemetry silos: logs, traces, and metrics stored apart   | • Instant schema evolution|
| • Manual correlation via regex and timestamps               | • Unified causal context  |
+-------------------------------------------------------------+---------------------------+

Principles of Grail Architecture

  1. Schema-on-Read Mechanics: Telemetry—including unstructured log files, structured JSON records, distributed trace spans, and business events—is ingested in its raw, compressed format. No upfront schema definition is required. Field extraction, type casting, and pattern matching occur dynamically at query execution time via the Dynatrace Query Language (DQL).
  2. Massively Parallel Processing (MPP): Grail utilizes a distributed, serverless compute engine capable of scanning terabytes of compressed columnar data per second across parallel worker nodes.
  3. Causal Topology Binding: Every log record, metric sample, and PurePath trace ingested into Grail is automatically stamped with underlying Smartscape topology identifiers (dt.entity.host, dt.entity.process_group_instance, dt.entity.service). This allows the Davis AI causation engine to immediately link log anomalies and trace errors to hardware incidents without relying on brittle string searches or time-window correlations.
Loading diagram...
OneAgent, ActiveGate & Grail End-to-End Telemetry Pipeline
Test Your Knowledge

A financial enterprise operates an isolated banking core network with zero outbound Internet connectivity. They need to monitor 300 Red Hat Enterprise Linux servers running microservices while ensuring that no direct external connections are opened from these internal application hosts. How should the enterprise architect design the telemetry pipeline?

A
B
C
D
Test Your Knowledge

How does Dynatrace OneAgent capture deep code-level transaction data, database statements, and method execution timings inside Java and .NET applications without requiring developers to import monitoring libraries or modify source code?

A
B
C
D
Test Your Knowledge

What is the primary architectural advantage of Dynatrace Grail's schema-on-read model compared to traditional index-based log analytics platforms?

A
B
C
D