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.
Sending Telemetry Data to Atatus in Two Ways
Send Telemetry Traces to Atatus Option 1: No Code Automatic Instrumentation (recommended)Option 2: Code Level Automatic Instrumentation
Send Traces Using the OTel Collector Binary
Option 1: No Code Automatic Instrumentation (recommended)
Option 2: Code Level Automatic Instrumentation
Requirements
.NET SDK (.NET 5.0 or Later)Send Telemetry Traces to Atatus
Option 1: No Code Automatic Instrumentation
-
Create a shell script with the following content You can either create a bash script with the following content or paste this directly into your terminal after replacing SERVICE_NAME, ATATUS_ENDPOINT and ATATUS_INGESTION_KEY
Option 2: Code Level Automatic Instrumentation
-
Installing the OpenTelemetry dependency packages:
-
Adding OpenTelemetry as a service and configuring exporter options in
Program.cs -
Running the .NET application:
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.Option 1: No Code Automatic Instrumentation
-
Create a shell script with the following content You can either create a bash script with the following content or paste this directly into your terminal after replacing SERVICE_NAME, ATATUS_ENDPOINT and ATATUS_INGESTION_KEY
Option 2: Code Level Automatic Instrumentation
-
Installing the OpenTelemetry dependency packages:
-
Adding OpenTelemetry as a service and configuring exporter options in
Program.cs -
Running the .NET application: