ktmud opened a new pull request #11927: URL: https://github.com/apache/incubator-superset/pull/11927
### SUMMARY Follow up with #11920 and #11714 , implement a more robust logs payload. 1. Replace `path_no_int` with `route`, i.e. `request.url_rule`, the match pattern used in Flask router 2. Make sure JSON payload works for REST API requests 3. Make sure to collect `rison` objects when present, and remove the raw query string. 4. Use `ClassName.method` as `action` for REST API and add `__qualname__` to `object_ref` for legacy actions. The goal is to make future analytic queries as easy as possible and reduce redundancy. cc @mistercrunch @etr2460 @john-bodley @robdiciuccio @dpgaspar @graceguo-supercat ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF  ### TEST PLAN Will add unit tests soon ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
