Skip to content

Beacon


Beacon server agents provide automatic instrumentation based on OpenTelemetry. They collect telemetry from supported frameworks and libraries without changing application source code. Configure a runtime agent, preload module, or wrapper command to connect applications to TrueWatch, inspect traces, and optionally enable profiling and Security for supported languages.

How it works

Application + Beacon -> OTLP -> DataKit -> TrueWatch

The diagram above describes server-side automatic agents. See Other integration paths for browser RUM receivers and Ruby and Rust SDK initialization.

The DataKit OpenTelemetry input receives traces, metrics, and logs. Profiles use the separate DataKit Profile input. Available signals depend on the language release and enabled components; installing an agent does not automatically produce every signal.

Choose a language

The following table lists zero-code entry points and optional capabilities. See each language guide for installation. Java, Python, Node.js, .NET, and PHP use launch or deployment settings; Ruby requires explicit SDK initialization.

Language Zero-code entry point Profiling Security
Java One Agent JAR loaded with JVM -javaagent Experimental JFR on JDK 11+ Optional
Python Prefix the existing command with beacon pprof uploads Standard-GIL CPython 3.11–3.14
Node.js Preload with NODE_OPTIONS Wall and heap profiles Node.js 22.22.3+ or 24.11.1+ with ESM preload
.NET Start the application with beacon-dotnet run No supported user configuration Experimental, explicitly opt in
PHP Unified beacon-setup.php installer; no Composer required No supported user configuration Experimental, explicitly opt in

Projects release independently. Installation commands and compatibility scopes refer to the official release used by each language guide.

Profiling and Security are disabled by default. Profiling setup is included in each supported language guide. See Security for runtime requirements and activation.

Java 1.3.4, Python 1.2.4, and Node.js 2.0.1 filter no_evidence findings by default. Missing logs do not mean no risk was detected. See the export policy and Findings and evidence for restoring export and interpreting events.

Other integration paths

Beacon also provides zero-code browser RUM, Ruby source integration, and a Rust SDK with manual instrumentation. Choose a guide for your application:

Use case Project Setup and reporting
Browser real user monitoring Rumable Inject the Web SDK through Nginx / IIS; browsers report directly to a RUM receiver
Rust application tracing Fastrace Rust SDK Add Cargo dependencies, instrument code, and initialize a reporter to send OTLP/gRPC traces to DataKit
Ruby application tracing Ruby source integration Reference instrumentation gems from source and initialize the SDK. Net::HTTP delivery through OTLP HTTP/protobuf to a local Collector is validated; 1.1.0 also provides an optional Security gem requiring explicit Rack/SDK configuration

Server-agent quick start

  1. Install DataKit, then enable its OpenTelemetry input using Common configuration.
  2. Choose an application language and install the corresponding Beacon agent release.
  3. Configure the service name, OTLP protocol, and DataKit endpoint, then launch the application through the agent.
  4. Send real application requests, then open APM > Traces in TrueWatch and filter by service name.
  5. To inspect code hotspots, enable profiling in the language guide and view the data under APM > Profiling.
Instrumentation scope

Zero-code setup requires installing the agent, configuring the runtime, and restarting the application. Automatic instrumentation covers supported frameworks and libraries. Use OpenTelemetry APIs when custom business operations need additional instrumentation. Avoid loading multiple automatic agents in the same process to prevent duplicate collection.