Set up OpenTelemetry
Follow the official OpenTelemetry React Native demo and its instrumentation source to initialize tracing and instrument network requests. The demo uses the OpenTelemetry JavaScript packages, which are not explicitly supported on React Native. Validate compatibility with your application’s React Native and OpenTelemetry versions.Configure your destination
Replace the demo’s local exporter configuration with the destination below. Use this exporter in the span processor from the upstream setup. The exporter URL must include/v1/traces.
- Fully managed
- Self-managed
Open Team Settings → Data → Managed Telemetry in your service and copy the OTLP HTTP endpoint and API key. Keep the complete HTTPS endpoint, including its port, and append
/v1/traces: