Dd-trace-js: DD trace does not inject with pino prettyPrint

Created on 23 Apr 2021  路  3Comments  路  Source: DataDog/dd-trace-js

Without prettyPrint activated, dd traces are injected correctly. When I activate prettyPrint, the dd traces are no longer showing up.

Environment

  • Logger:
  • pino
  • Operation system:
  • Mac OSX
  • Node version:
  • v12.21
  • Tracer version:
  • v0.20.0
  • Agent version:
bug

Most helpful comment

Never mind my above comment, it looks like we were able to reproduce.

All 3 comments

Thank you for the bug report, I am working on landing a fix for it.
May I know wich version of Pino/Fastify you're using ?

@edrich-xendit Can you try with the latest version of the tracer as well? There have been a lot of changes since 0.20, including some to log injection.

Never mind my above comment, it looks like we were able to reproduce.

Was this page helpful?
0 / 5 - 0 ratings