Is there any example of InstrumentationNodeModuleFile for InstrumentationBase ? #2819
Unanswered
Nighttraveler
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I'm asking this because we would like to patch some files in our project so in this way we leave the files as it is (no otel code there) and use
opentelemetry-instrumentation
whenever is possible.This is the only reference I found related to the files
For example we patch some functions of the apollo client dependency and we configure an apolloFetch object that apolloLink uses in some hooks. useQuery at some point arrives at our
customFetch
we would like that the span created in theuseQuery
patch wraps one created in the custom fetch file instrumentation and then HTTPInstrumentation one.Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions