-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Problem Statement
Commonly seen in the product in a waterfall of spans, there can be gaps in time which are unaccounted for, or in Sentry UI specifically on the trace view, transactions with no spans. This leads to an incomplete product experience. And the user is often told that there is generically a missing instrumentation problem. When it is actually far more nuanced. Auto vs manual, what type span is being collected, which framework, which runtime etc can all impact why the span information is missing.
Solution Brainstorm
The product should have the right information to tailor the product experience to correctly inform the user.
Starting from the SDK we can investigate ways to send the information in a better way, so the product has a reliable way to react.
Maybe we should add some extra on the scope if we detect missing instrumentation, would make it easier to figure this out without relying on logs of users
basically when we log this through the error handler, also add this to the scope as data
{
type: 'transaction',
extra: {
'node.missing_instrumentation_detected': true
}
}