Replies: 2 comments
-
Another interesting approach here, along with a great overview of how things work in other languages: https://github.com/nikolaydubina/go-instrument |
Beta Was this translation helpful? Give feedback.
-
A pretty magical approach from Helios: https://gethelios.dev/blog/helping-go-teams-implement-opentelemetry-a-new-approach/ They're proposing to use proxy libraries that have the same interface as some popular libraries like |
Beta Was this translation helpful? Give feedback.
-
This discussion is to track our options and people's interest in the emerging area of automatic instrumentation without modifying the source code of the target app.
There are a few projects working in that direction already for OpenTelemetry:
These projects attempt to implement this (magical) idea using eBPF, which seems to be the most promising/feasible way to do it.
Since OpenTelemetry support in sentry-go is right around the corner, it sounds possible to delegate the span creation to the OTel tooling, and then reuse our span processor (and potentially propagator) to transform the collected spans into Sentry's.
Beta Was this translation helpful? Give feedback.
All reactions