Conflict between @nestjs/cls and elastic-apm-node - apm.currentTransaction becomes undefined #339
Unanswered
weikangchia
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I have no idea, honestly, as I've never used that package, so I can't really provide any support here. I've been using |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m using NestJS with both nestjs-cls and elastic-apm-node to trace requests and store app context.
Problem:
As soon as I enable ClsModule with ClsModule.forRoot() in AppModule, the APM context is lost. Specifically:
How can I use both NestJS CLS and Elastic APM without losing APM context? Has anyone successfully used both together in production?
Beta Was this translation helpful? Give feedback.
All reactions