Comments (4)
Here's the open issue in mongoose repo Automattic/mongoose#3313
from cls-rtracer.
I didn't check Mongoose, but most likely that the debug callback is being executed somewhere at the native mongodb driver level, which doesn't play well with Async Hooks API (by integrating with Embedder API).
If that's possible, you should try to change your code so that the debug logging happens as a part of running your query. If that's not possible, I advice you to create a GH issue against mongoose
/node-mongodb-native
.
from cls-rtracer.
So as of now there is no solution for same?
from cls-rtracer.
I'm afraid, not (or, at least I'm not aware of it). This issue has to be resolved on mongoose
/node-mongodb-native
side.
Closing this issue because of that.
from cls-rtracer.
Related Issues (20)
- Integration with winston JSON HOT 4
- Feature request - add generic request context object HOT 5
- Fastify Pino logger integration sample HOT 2
- Context is lost when using passport.js with session: false HOT 1
- Cannot access Request ID in form-data request using runWithId HOT 2
- Can't make it work with HAPI HOT 6
- How to add an optional/custom parameter in the cls-tracer express middleware request HOT 2
- id generation HOT 2
- Why does the Hapi plugin implementation use enterWith() instead of run()? HOT 3
- cls-rtracer causes pino-http >= version 7.1 to log success message (responses) twice HOT 9
- Memory leak in 2.6.1 HOT 2
- Restify Plugin Support HOT 2
- Question about multiple request HOT 4
- cannot get request id with koa-morgan HOT 2
- How to use with WebSocket? HOT 1
- add Additional information along with requestId HOT 2
- Can you set a unique id? HOT 7
- Expected requestId object is not returned with runWithId method HOT 1
- cls-rtracer is Generating same request id for multiple requests even for different routes.
- cls-rtracer is Generating same request id for multiple requests even for different routes. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cls-rtracer.