OTLP Endpoint Configuration
Netra Cloud
By default, traces are sent to Netra’s cloud backend. Configure the endpoint and API key:Regional Endpoints
Netra provides regional endpoints for data residency requirements:Regions are strictly separated, and no data is shared across regions. Choosing a region close to you can help improve speed and comply with local data residency laws and privacy regulations.
Custom Backend Configuration
Setting a Custom Endpoint
Point Netra to any OTLP-compatible backend:Endpoint URL Formatting
Netra automatically formats the endpoint URL:- If the URL doesn’t end with
/v1/traces, it’s appended automatically - Base URLs like
https://collector.example.combecomehttps://collector.example.com/v1/traces
Authentication Methods
API Key Authentication (Netra Cloud)
For Netra cloud endpoints, use thex-api-key header:
Bearer Token Authentication
For custom backends that use Bearer tokens:Multiple Headers
Pass multiple headers using comma separation (W3C Correlation-Context format):Automatic Authentication Detection
Netra automatically determines the authentication method based on the endpoint:
This means for Netra cloud, you only need to provide the API key value:
Self-Hosted OpenTelemetry Collector
Basic Collector Setup
Deploy an OpenTelemetry Collector to receive traces from Netra:Docker Compose Example
Kubernetes Deployment
Popular Backend Integrations
Jaeger
Grafana Tempo
Datadog
New Relic
Honeycomb
Dual Export Setup
Send traces to both Netra and a custom backend:Troubleshooting
Connection Issues
-
Verify endpoint reachability
-
Check authentication
- Ensure API key or token is correct
- Verify header format matches backend expectations
-
Enable debug mode
Traces Not Appearing
-
Disable batching for debugging
-
Check collector logs
-
Verify OTLP endpoint format
- Ensure the endpoint accepts HTTP/protobuf
- Check if
/v1/tracespath is correct
TLS/SSL Errors
For self-signed certificates in development:Best Practices
- Use environment variables - Keep endpoints and credentials out of code.
- Deploy a collector - For production, use an OpenTelemetry Collector as a gateway rather than sending directly from applications.
-
Enable batching - Keep
disable_batch=False(default) for better performance. - Monitor collector health - Set up health checks and metrics for your collector.
- Use regional endpoints - Choose the Netra endpoint closest to your infrastructure.
Next Steps
- Initialization - All configuration options
- Environment Variables - Configure via environment
- Auto Instrumentation - Supported libraries
