newrelic / newrelic-python-agent

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

Fix StructLog Processors Assumptions #1040

Closed TimPansino closed 8 months ago

TimPansino commented 8 months ago

Overview

Related Github Issue

Closes #1039

github-actions[bot] commented 8 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 1 0 4.52s
✅ PYTHON black 3 0 0 0.8s
✅ PYTHON flake8 3 0 0.45s
✅ PYTHON isort 3 0 0 0.18s
✅ PYTHON pylint 3 0 3.28s

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 8 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (072eba8) 81.22% compared to head (5f80886) 81.20%.

Files Patch % Lines
newrelic/hooks/logger_structlog.py 40.00% 1 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1040 +/- ## ========================================== - Coverage 81.22% 81.20% -0.02% ========================================== Files 190 190 Lines 19727 19728 +1 Branches 3462 3462 ========================================== - Hits 16023 16020 -3 - Misses 2717 2719 +2 - Partials 987 989 +2 ```

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