-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[#8131] Generate and pass request uuid regardless of sampling rate #8217
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8217 +/- ##
============================================
- Coverage 39.80% 39.79% -0.01%
+ Complexity 11478 11377 -101
============================================
Files 3364 3335 -29
Lines 89754 89265 -489
Branches 9950 9920 -30
============================================
- Hits 35723 35526 -197
+ Misses 50979 50681 -298
- Partials 3052 3058 +6
Continue to review full report at Codecov.
|
57a7a33
to
f978214
Compare
a9ebdaa
to
7bc9414
Compare
c3c245b
to
03d4899
Compare
Rebased on master. |
Resolve conflicts. |
027a02c
to
c2e5add
Compare
075b4b2
to
e607d97
Compare
Resolve conflicts. |
861e424
to
533ccc5
Compare
533ccc5
to
ff0f8ae
Compare
…r and configurable
… before add/set header
Rebase on the current master & fix conflicts. |
This feature is cool and valuable. I would like to know if there is a clear schedule |
I will squash the commits and rebase the commits on the current master. |
Resolve #8131.
Feature
A new header Pinpoint-RequestID is added to pass around request id.
app1 --call--> app2
traced:
app1:
app2:
not traced:
app1:
app2:
This feature is disabled by default. It can be enabled by agent configuration "profiler.requestId.enable=true" and add %X{PreqId} to your logger pattern.
If you enabled this feature and set "profiler.http.response.requestId.enable=true" (disabled by default) in agent configuration, a "X-Request-Id" header will be added to response, and the response header name can also be configured by "profiler.http.response.requestId.headerName".
If you set "profiler.http.response.traceId.enable=true" (disabled by default) in agent configuration, a "X-Trace-Id" header will be added to response, and the response header name can also be configured by "profiler.http.response.traceId.headerName".
Tasks