getsentry / profiling-node

The code for this repo now lives in https://github.com/getsentry/sentry-javascript/tree/develop/packages/profiling-node
MIT License
29 stars 10 forks source link

feat(profiling): debug_id support #144

Closed JonasBa closed 1 year ago

JonasBa commented 1 year ago

Implements support for debug_ids (needs to wait for some changes in relay before we can merge)

SDK checks for GLOBAL_OBJ._sentryDebugIds and signals to the cpp bindings if it should collect a unique set of resources (absolute paths) to resolve debug_ids. Implementation was taken from our utils fn with the exception that as an input, we are passing a set of filenames instead of Event.

@lforst do you mind taking a look at the JS part (no rush), I'm not sure who else would be a good candidate to review.