NEW GUIDE: Defining and measuring mobile SLOS. Best practices for modern DevOps, SRE, and mobile teams.

Get your copy
React Native

Embrace React Native SDK: now fully built on OpenTelemetry

React Native developers rejoice! Embrace's React Native SDK is open source and now fully OpenTelemetry-compliant. So you'll get best-in-class, flexible tooling to monitor your React Native apps while still adhering to OTel data standards. You can even use the SDK to send out telemetry to any OTLP-HTTP endpoint without going through the Embrace backend or platform at all!

We’re excited to announce that the Embrace React Native SDK is now fully built on OpenTelemetry (OTel)! This major update brings a host of new features, improvements, and flexibility to mobile observability for React Native users who prioritize the OpenTelemetry standard. 

Adopting OpenTelemetry Standards

This release focuses on aligning the React Native SDK with OpenTelemetry standards, offering a more powerful and versatile solution for our React Native users. 

The React Native SDK is now fully shifted to Open telemetry, with all collected data now being sent to the backend as OTel signals. Prior to this, Embrace’s React Native SDK had significant OTel, as it was built on top of the Android and iOS SDKs. However, the SDK was not exposing OTel concepts at the JavaScript layer. Now, users can: 

  • Setup export to another OTLP-HTTP backend from JavaScript
  • Choose to use the RN SDK without even needing to be an Embrace customer 
  • Use our exposed OTel tracer provider to create custom traces or to connect to any instrumentation library that understands the OTel API

SDK upgrades and capabilities

Export to any OTLP-HTTP Endpoint without going through Embrace

You can now export traces and logs directly to non-Embrace OTLP endpoints without needing an Embrace application or ID. That means that the React Native open source community can access the monitoring capabilities of Embrace without needing to be customers of ours or sending data through our backend at all. Simply download and integrate the SDK and then set up exports to another OTLP-HTTP backend directly from JavaScript. 

Build custom traces with the tracer provider

The updated React Native SDK allows engineers to access Embrace’s exposed OTel tracer provider and use it to collect telemetry from any OTel compliant instrumentation library. This mechanism lets engineers create custom traces to monitor user flows, giving them critical insight into end-to-end user experiences.

Utilize OTel-compatible instrumentation libraries:

As part of this change, we’ve also re-written our own internal instrumentation libraries for navigation and Redux to work with any OTel compliant  tracer providers, rather than just Embrace-specific APIs. This allows us to contribute them back to the open source community and invites others to use the Embrace SDK largely without barriers. 

Additional Improvements

In addition to the shift to OpenTelemetry, this release includes:

  • Deprecations: Packages that exposed Embrace specific rather than OTel interfaces have been deprecated.
  • Clean Up: Out-of-date functionality has been removed. This makes the SDK easier to maintain and debug issues going forward.
  • Latest SDKs: Points to the latest Android (7.0.0) and iOS (6.7.1) SDKs under the hood as part of the release.

We’re confident that these changes will provide engineers with a more powerful, flexible, and maintainable solution monitoring their React Native app. To check out these new capabilities for yourself, head over to our docs site and upgrade to the latest version of the Embrace React Native SDK.

Embrace Deliver incredible mobile experiences with Embrace.

Get started today with 1 million free user sessions.

Get started free

Build better mobile apps with Embrace

Find out how Embrace helps engineers identify, prioritize, and resolve app issues with ease.