-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: custom monitoring with context manager #4892
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4892 +/- ##
==========================================
- Coverage 88.18% 88.13% -0.05%
==========================================
Files 110 110
Lines 8481 8480 -1
==========================================
- Hits 7479 7474 -5
- Misses 1002 1006 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Sorry, something went wrong.
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.
Just a typo, if u want to change everywhere
📝 Docs are deployed on https://feat-custom-monitoring-cm--jina-docs.netlify.app 🎉 |
btw are we sure |
Custom monitoring with context manager
Context
having only the possibility to monitor custom part of Executor with a decorator is a limitation. We need to have a context manager as well. See full issue here : #4876
What this PR do
This pr allow developer of Executor to use custom metrics with a context manager
example: