newrelic-python-agent icon indicating copy to clipboard operation
newrelic-python-agent copied to clipboard

Fix Flask view support in Code Level Metrics

Open TimPansino opened this issue 3 years ago • 1 comments

Co-authored-by: Lalleh Rafeei [email protected] Co-authored-by: Hannah Stepanek [email protected] Co-authored-by: Uma Annamalai [email protected]

Overview

  • Flask class-based and method-based views currently report the class name as the code.function source, causing Code Level Metrics to not work with them. This PR fixes that.

TimPansino avatar Oct 17 '22 22:10 TimPansino

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 1 0 3.25s
✅ PYTHON black 3 0 0 0.74s
✅ PYTHON flake8 3 0 0.48s
✅ PYTHON isort 3 0 0 0.2s
✅ PYTHON pylint 3 0 4.07s

See errors details in artifact MegaLinter reports on CI Job page Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

github-actions[bot] avatar Oct 17 '22 22:10 github-actions[bot]