hoist-react icon indicating copy to clipboard operation
hoist-react copied to clipboard

Add interceptor hooks to `TrackService` and `ExceptionHandler`

Open ghsolomon opened this issue 5 months ago • 0 comments

Context: we are using Datadog RUM in client applications and looking to include

  • Tracked user activity as "Custom Actions"
  • Handled exceptions as "Custom Errors"

Additionally, it would be nice to append session information, such as the sessionReplayLink, to our user activity and exception data.

Consider adding the ability to intercept calls to ExceptionHandler.handleException and TrackService.track so that applications can be notified of errors / activities and possibly enhance them with additional metadata.

ghsolomon avatar Sep 19 '24 21:09 ghsolomon