Open onurtemizkan opened 2 months ago
I think requestHook
would be super useful, but luckily we can rely on beforeSendSpan
so it's not high priority.
We should see if we can get the extra operations instrumented, and then also see if we can get additional attributes attached to these spans (that then we can use to enable these spans for our cache module).
Problem Statement
Following up: https://github.com/getsentry/sentry-javascript/pull/13664
https://github.com/getsentry/sentry-javascript/pull/13664 introduced basic support for
dataloader
integration on Sentry Node SDK.In its current state, the feature set is limited, as there's no hook we can get request / lookup information from the underlying instrumentation @opentelemetry/instrumentation-dataloader.
More info on this: https://github.com/getsentry/sentry-javascript/pull/13664#issue-2518420565
Solution Brainstorm
We can open PRs on https://github.com/open-telemetry/opentelemetry-js-contrib/
requestHook
orlookupHook
to the OTEL instrumentation