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 config setting to toggle memory usage runtime metrics. #1122

Closed umaannamalai closed 7 months ago

umaannamalai commented 7 months ago

The Python Agent reports a large volume of memory usage related metrics because it sends data up for each PID. This PR adds a setting to allow users to toggle memory usage metrics (per PID only) reporting to reduce overall metrics being sent.

github-actions[bot] commented 7 months ago

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 3 0 5.51s
✅ PYTHON black 4 1 0 2.11s
✅ PYTHON flake8 4 0 0.94s
✅ PYTHON isort 4 2 0 0.26s
❌ PYTHON pylint 4 7 8.74s

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_