-
Notifications
You must be signed in to change notification settings - Fork 14k
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
refactor: optimize backend log payload #11927
Conversation
18c4b85
to
60dd1ee
Compare
Codecov Report
@@ Coverage Diff @@
## master #11927 +/- ##
==========================================
- Coverage 67.55% 63.62% -3.93%
==========================================
Files 957 957
Lines 47002 46992 -10
Branches 4589 4589
==========================================
- Hits 31753 29901 -1852
- Misses 15137 16907 +1770
- Partials 112 184 +72
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
2979fe8
to
ee58f18
Compare
ee58f18
to
e94abbd
Compare
63db218
to
dbee334
Compare
edb3db5
to
788d5e4
Compare
1e71b7d
to
72ce5af
Compare
@mistercrunch @etr2460 any thoughts on this one? |
72ce5af
to
b905dd1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b905dd1
to
5ca1d1f
Compare
SUMMARY
Follow up with #11920 and #11714 , implement a more robust
event_logger
payload.path_no_int
with request.url_rule, the match pattern used in Flask routerrison
objects when present, and remove the raw query string.ClassName.method
asaction
for REST API and add__qualname__
toobject_ref
for legacy actions.action
andobject_ref
in the decoratorslog_manually
tolog_this_with_extra_payload
The goal is to make future analytic queries on the
logs
table as easy as possible and reduce redundancy.cc @mistercrunch @etr2460 @john-bodley @robdiciuccio @dpgaspar @graceguo-supercat
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TEST PLAN
Will add unit tests soon
ADDITIONAL INFORMATION