Configuring the Exporter: Set up the exporter to send your telemetry data to Atatus.
Validating the Setup: Verify that the configuration is working and that your data is being correctly sent to Atatus.
Requirements
- PHP 8.0+
- PECL
- Composer
Sending Telemetry Data to Atatus in Two Ways
Send Telemetry Traces to AtatusSend Traces Using the OTel Collector Binary
Send Telemetry Traces to Atatus
-
Install dependencies (apt)
-
Install OpenTelemetry and Protobuf Extensions. With our environment set up we can install the extension using PECL
-
Enable the OpenTelemetry Extension, Need to add below extension to
php.inifile. -
Verify Extension
-
Install Composer Dependencies
-
Set Environment Variables and Run
ATATUS_INGESTION_KEY from Settings -> Account Settings -> API Keys in Atatus dashboard.
Send Traces Using the OTel Collector Binary
To collect and send traces to Atatus, it’s recommended to install the OpenTelemetry (OTel) Collector binary. The OTel Collector helps gather logs, host metrics, resource, and infrastructure attributes, enabling richer contextual data and easier signal correlation. For detailed instructions on setting up the OTel Collector binary on your VM, please refer to the official installation guide. Once the Collector is up and running, you can proceed with instrumenting your Java application to start sending telemetry data to Atatus.-
Install dependencies (apt)
-
Install OpenTelemetry and Protobuf Extensions. With our environment set up we can install the extension using PECL
-
Enable the OpenTelemetry Extension, Need to add below extension to
php.inifile. -
Verify Extension
-
Install Composer Dependencies
-
Set Environment Variables and Run