Langtrace and Elastic APM Integration Guide
export OTEL_EXPORTER_OTLP_ENDPOINT="https://abcd1234.apm.us-central1.gcp.cloud.es.io:443" # Your Elastic OTEL endpoint export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <secret>" export OTEL_RESOURCE_ATTRIBUTES="service.name=rag-app-demo,service.version=0.0.1,deployment.environment=production"
export LANGTRACE_API_HOST="<https://your-elastic-apm-endpoint:443/v1/traces>" export LANGTRACE_HEADERS="Authorization=Bearer your-elastic-apm-token" export OTEL_SERVICE_NAME=your-elastic-service
OTEL_EXPORTER_OTLP_PROTOCOL
grpc
http