-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add request ID in log #1604
Add request ID in log #1604
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
Codecov Report
@@ Coverage Diff @@
## 2-dev #1604 +/- ##
==========================================
- Coverage 93.52% 93.51% -0.01%
==========================================
Files 113 114 +1
Lines 7197 7221 +24
==========================================
+ Hits 6731 6753 +22
- Misses 466 468 +2
Continue to review full report at Codecov.
|
f5721eb
to
50999ad
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
@Leodau You may want to review this PR again |
# [2.3.2](https://github.com/kuzzleio/kuzzle/releases/tag/2.3.2) (2020-07-07) #### Bug fixes - [ [#1701](#1701) ] Fix: description should not be required for plugin custom errors ([scottinet](https://github.com/scottinet)) - [ [#1695](#1695) ] Fix dump generation ([Aschen](https://github.com/Aschen)) - [ [#1698](#1698) ] Fix generic events on search queries ([scottinet](https://github.com/scottinet)) #### Enhancements - [ [#1702](#1702) ] Update search indexes only when the "dynamic" setting changes from false to true/strict ([Aschen](https://github.com/Aschen)) - [ [#1630](#1630) ] Loose coupling: security module ([scottinet](https://github.com/scottinet)) - [ [#1604](#1604) ] Add request ID in log ([Aschen](https://github.com/Aschen)) ---
What does this PR do ?
Use the new AsyncLocalStorage of Node.js 14 to share a context between all the asynchronous calls for processing an API request.
If Kuzzle run with Node.js 12, a no-op class is used instead.
The performance overhead is 8%
Complete benchmark details
Benchmark with wrk and
NODE_ENV=production
How should this be manually tested?
...
Other changes
Boyscout