You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my nest js app i am using nestjs-pino for logging and i think it is not instrumented by @opentelemetry/instrumentation-pino. it works when using just 'pino' for logging
The text was updated successfully, but these errors were encountered:
I'm not too familiar with nest js - is nestjs-pino required/imported before @opentelemetry/instrumentation-pino is registered? AFAIK decorators always run first and using nestjs-pino seems to require decorators from what I've seen in the docs.
If it is required/imported before OTel is setup, then that may be the problem. OpenTelemetry instrumentations hook on require/import - if instrumentation is not the very first thing that's loaded, then we can't instrument it and nothing will ever get to the OTel API.
in my nest js app i am using nestjs-pino for logging and i think it is not instrumented by @opentelemetry/instrumentation-pino. it works when using just 'pino' for logging
The text was updated successfully, but these errors were encountered: