Sending Traces
Sending Traces
Section titled “Sending Traces”Learn how to instrument your applications to send distributed traces to Kopai.
Overview
Section titled “Overview”Kopai accepts traces via the OpenTelemetry Protocol (OTLP). You can send traces over HTTP or gRPC.
Endpoints
Section titled “Endpoints”| Protocol | Endpoint |
|---|---|
| HTTP | https://otlp.kopai.app/v1/traces |
| gRPC | otlp.kopai.app:443 |
Configuration
Section titled “Configuration”Set these environment variables to configure your OpenTelemetry SDK:
export OTEL_EXPORTER_OTLP_ENDPOINT="https://otlp.kopai.app"export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer YOUR_TOKEN"export OTEL_SERVICE_NAME="your-service-name"SDK Guides
Section titled “SDK Guides”- Node.js - Instrument Node.js applications
- Python - Instrument Python applications
- Go - Instrument Go applications
Viewing Traces
Section titled “Viewing Traces”After sending traces, view them in the Kopai dashboard under Traces.