newrelic-python-agent
newrelic-python-agent copied to clipboard
Fix PID in Memory Sampler
Overview
- PID used in memory sampler for metric naming is incorrect in forked processes. Fixed by always getting the PID again.
Related Github Issue
#566
MegaLinter status: ✅ SUCCESS
| Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
|---|---|---|---|---|---|
| ✅ PYTHON | bandit | 1 | 0 | 0.28s | |
| ✅ PYTHON | black | 1 | 0 | 0 | 0.25s |
| ✅ PYTHON | flake8 | 1 | 0 | 0.21s | |
| ✅ PYTHON | isort | 1 | 0 | 0 | 0.16s |
| ✅ PYTHON | pylint | 1 | 0 | 1.16s |
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