Skip to content

Conversation

@facostaembrace
Copy link

Which problem is this PR solving?

Couple of months ago my team (Embrace) and I were looking for an instrumentation library that creates telemetry data on react-native applications but we noticed there was nothing ready to be used through the list instrumentation libraries following the open source standards. We also noticed people in Stack Overflow was asking about something similar.
This instrumentation library expose two components that can be implemented at the root of React Native applications and will create telemetry data that tracks navigation changes for the most popular ways of handling navigation in such environment.

Short description of the changes

  • Introduce a new instrumentation library to kick off a React Native ecosystem.
  • Exposes two components: <NativeNavigationTracker /> that creates spans and track navigation changes for wix/react-native-navigation library, and <NavigationTracker /> that is meant to be used when the application handles the navigation using @react-navigation/native or expo-router.
  • Both components have the ability of adding a minimum set of configurations.
  • Both components receives a custom provider, but if it is not passed it can also create telemetry data using the global one.
  • Configuration for both allows to add static attributes for spans.

@facostaembrace facostaembrace force-pushed the instrumentation-react-native-navigation branch from 42ac15b to cc3c154 Compare July 30, 2024 21:33
@facostaembrace facostaembrace changed the title feat:(instrumentation-react-native-navigation) Adding new instrumentation library to track navigation changes for React Native apps feat(instrumentation-react-native-navigation): Adding new instrumentation library to track navigation changes for React Native apps Jul 30, 2024
@facostaembrace facostaembrace force-pushed the instrumentation-react-native-navigation branch from cc3c154 to f71bc35 Compare August 1, 2024 17:01
@facostaembrace facostaembrace force-pushed the instrumentation-react-native-navigation branch from 31f5acc to eea8205 Compare August 5, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants