newrelic / newrelic-python-agent

New Relic Python Agent
https://docs.newrelic.com/docs/agents/python-agent
Apache License 2.0
178 stars 102 forks source link

Add Dispatcher Information for uvicorn-worker Package #1210

Closed TimPansino closed 1 month ago

TimPansino commented 2 months ago

Overview

uvicorn.workers has been moved to a separate package called uvicorn_worker. Check for both names of this module when reporting dispatcher information.

Related Github Issue

Discovered thanks to issue #1208.

Unrelated to the problem that issue reported however.

github-actions[bot] commented 2 months ago

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ PYTHON bandit 1 1 4.93s
✅ PYTHON black 2 0 0 0.85s
✅ PYTHON flake8 2 0 0.45s
✅ PYTHON isort 2 0 0 0.29s
✅ PYTHON pylint 2 0 3.01s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.22%. Comparing base (892e66c) to head (0e124ef).

Files with missing lines Patch % Lines
newrelic/core/environment.py 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1210 +/- ## ========================================== - Coverage 80.24% 80.22% -0.02% ========================================== Files 197 197 Lines 21803 21803 Branches 3807 3807 ========================================== - Hits 17495 17491 -4 - Misses 3211 3212 +1 - Partials 1097 1100 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.