azure-functions-python-worker
azure-functions-python-worker copied to clipboard
feat: support for event loop debugging and slow tasks detection
Description
This adds new app settings to enable customers to see worker eventloop debug logs and warnings will be logged from eventloop to report any "slow" tasks running over specified threshold time, default slow task threshold is set to 10 minutes (600 seconds).
PR information
- [ ] The title of the PR is clear and informative.
- [ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
- [ ] If applicable, the PR references the bug/issue that it fixes in the description.
- [ ] New Unit tests were added for the changes made and CI is passing.
Quality of Code and Contribution Guidelines
- [ ] I have read the contribution guidelines.