Register winston instrumentation and winston seperate module #3372
Unanswered
elebiodaslingshot
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
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to write up a logger and tracer module for our application. I have tracing working, but I can not for the life of me get the winston logger instrumentation working.
I call this from inside a private class on module load, which I do before winston require, and then in my logger module I do the following
But not logs are being injected with the trace and span id's. Is this not how the instrumentation should be initialized? Do I have to consolidate to a single module?
Beta Was this translation helpful? Give feedback.
All reactions