-
-
Notifications
You must be signed in to change notification settings - Fork 9
Add support for Open Telemetry #186
Comments
Hey @JonasBa, i’m pinging you as you seem to be contributing the most to this project.
|
@getlarge @rodolfoBee I need to talk to the team to see how this would work, afaik, there is no defined spec for Otel profiling, so I would start there. Is there some library which already integrates profiling with otel spec that you know of? |
There does not seem to be a profiling spec from OTel yet, only some agreed considerations on how to build it. |
@getlarge Thanks for listing the links, I re-read them and it doesn't seem like much has changed in terms of outlining the concrete steps towards conforming to a standardized profiling format. My gut sense is that folks are slowly converging towards pprof which is not something Sentry currently supports (note that we currently do not ingest an aggregated call graph - we do this in order to be able to display the flamechart in chronological order while actual aggregation is performed by our processing pipelines). We also have constraints related to our data model that we are looking to solve before we can support this. In short, profiles at Sentry are currently tied to transactions, meaning a profile cannot exist without a transaction or it is discarded at ingestion. Once we remove this constraint we can start looking into supporting standalone profiles as well as a continuous profiling approach. The simplest way I see this working for sentry node profiling is if we align on using pprof, but before we can make that call we need verify the feasibility with the rest of our platforms (we dont want different platforms sending us different profiling formats). I think a lot of the work needed to support this will be done once we start working on continuous profiling, but I dont have a timeline for that right now. |
@getlarge the otel profiling spec is shaping up, see open-telemetry/oteps#237 |
Problem Statement
Our current Profiling solution relies on the SDK creating and finishing transactions on its own. When using open telemetry these actions are performed by otel, and Sentry simply collect otel spans and translate them into Sentry transactions and spans.
As a result, profiling data is not created by Sentry.
Solution Brainstorm
Add support for otel instrumentation.
The text was updated successfully, but these errors were encountered: