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

Azure init container setting flag #1223

Closed lrafeei closed 1 month ago

lrafeei commented 1 month ago

This PR makes some modifications to the Python Agent in order to add an Azure init container enable flag (this explicit flag will also be necessary for future supportability metrics).

End to end testing will be done on the k8s init container repository

github-actions[bot] commented 1 month ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 3 0 5.51s
✅ PYTHON black 3 0 0 2.12s
✅ PYTHON flake8 3 0 1.18s
✅ PYTHON isort 3 0 0 0.23s
✅ PYTHON pylint 3 0 6.75s

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 1 month ago

Codecov Report

Attention: Patch coverage is 46.66667% with 8 lines in your changes missing coverage. Please review.

Project coverage is 81.31%. Comparing base (b2d8cc5) to head (f9241ad). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
newrelic/bootstrap/sitecustomize.py 0.00% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1223 +/- ## ========================================== + Coverage 81.30% 81.31% +0.01% ========================================== Files 198 198 Lines 21675 21682 +7 Branches 3431 3431 ========================================== + Hits 17622 17631 +9 + Misses 2923 2920 -3 - Partials 1130 1131 +1 ```

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