Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Monitoring): Serializable log middleware (#1908)
* fix(Monitoring): Argilla log middleware can be serialized using pickle Also, review and format the class name * refactor: Align http middleware to the base monitor * fix: Monitor initialization * tests: Fix tests * feat: #1908 revamped usage ASGI Middleware top allow for GET * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: #1908 re-added default mappers for test usability and backward compatibilty * feat: #1908 updated asgi test * fix-tests: converted to singular record mapper * Update src/argilla/monitoring/asgi.py Co-authored-by: Francisco Aranda <francis@argilla.io> * feat: added additional tests for GET and PUT requests logging * tests: resolved failing get request endpoint * tests: request get endoint * tests: added PUT endpoint * tests: add monitor for GET prediction endpoint * refactor: removed obsolete statement to simplify URL Co-authored-by: Francisco Aranda <francisco@recogn.ai> Co-authored-by: david <david.m.berenstein@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
caeb7d4
commit 53a57f7
Showing
3 changed files
with
194 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.