Skip to main content
The collector is configured entirely via environment variables. All variables follow the standard OpenTelemetry SDK configuration spec where applicable.

Environment Variables

Common configurations

Minimal - send to a local OTel Collector

Production - with service name, environment, and auth header

HTTP/protobuf instead of gRPC

Enable eBPF CUDA tracing

Requires CAP_BPF + CAP_PERFMON (or root) and NVIDIA CUDA runtime.

Notes

  • OTEL_METRIC_EXPORT_INTERVAL is in milliseconds per the OTel spec. For a 30-second interval, set 30000.
  • deployment.environment is extracted from OTEL_RESOURCE_ATTRIBUTES and attached as a resource attribute. Any key-value pairs in OTEL_RESOURCE_ATTRIBUTES are also forwarded to the OTel SDK resource via resource.WithFromEnv().
  • If OTEL_EXPORTER_OTLP_ENDPOINT is not set, the collector starts but no metrics are exported. Check the logs for a warning.