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 env var for GC runtime metrics. #1196

Closed umaannamalai closed 2 months ago

umaannamalai commented 2 months ago

This PR adds an env var for the setting to control whether GC runtime metrics are enabled.

github-actions[bot] commented 2 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 1 0 4.88s
✅ PYTHON black 1 0 0 1.13s
✅ PYTHON flake8 1 0 0.61s
✅ PYTHON isort 1 0 0 0.24s
✅ PYTHON pylint 1 0 3.16s

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

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.39%. Comparing base (70e98a5) to head (96dc174).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1196 +/- ## ========================================== - Coverage 81.65% 81.39% -0.26% ========================================== Files 197 197 Lines 21773 21773 Branches 3802 3802 ========================================== - Hits 17778 17723 -55 - Misses 2888 2941 +53 - Partials 1107 1109 +2 ```

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