News for hackers. Stuff that matters.
Re:OpenTelemetry Tracing in < 200 lines of code by tempest_ on Tuesday September 17, 2024 @09:30PM (#41574789)
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.

Re:OpenTelemetry Tracing in < 200 lines of code by krashidov on Wednesday September 18, 2024 @03:37AM (#41576881)
hmm 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
Re:OpenTelemetry Tracing in < 200 lines of code by optiomal_isgood on Wednesday September 18, 2024 @05:38AM (#41577687)
> 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/...

e.g. where the actual monkey patching happens https://github.com/getsentry/sentry-javascript/blob/e1783a65...

Re:OpenTelemetry Tracing in < 200 lines of code by tempest_ on Wednesday September 18, 2024 @06:04PM (#41586064)
My 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/