3 ms·
Sentry has been nice. I do not know what unholy monkey patching they do with that sentry_sdk.init call and I try not to think about it but for web apps it is f
by tempest_ 2y ago
Sentry has been nice.
I do not know what unholy monkey patching they do with that sentry_sdk.init call and I try not to think about it but for web apps it is fire and forget.
- krashidov 2y agohmm do you use Sentry for logging? We use sentry as well but only for errors. Also the trace ids don't match with the logging traces so I have to fix that too
- optiomal_isgood 2y ago> I do not know what unholy monkey patching they do A year ago I had to patch its package for an internal use case. Their codebase is fairly well-written I thought (at least the JS SDK). e.g. this is where they add the `fetch` breadcrumb https://github.com/getsentry/sentry-javascript/blob/develop/packages/browser/src/integrations/breadcrumbs.ts#L312 https://github.com/getsentry/sentry-javascript/blob/develop/... e.g. where the actual monkey patching happens https://github.com/getsentry/sentry-javascript/blob/e1783a653fafda6df9eb55e1eaf61e113f5df3db/packages/utils/src/instrument/fetch.ts#L78 https://github.com/getsentry/sentry-javascript/blob/e1783a65...
- tempest_ 2y agoMy experience in principally in python and the number of integrations that are auto used on common dependent libs and frameworks is long https://docs.sentry.io/platforms/python/integrations/ https://docs.sentry.io/platforms/python/integrations/