newrelic-python-agent
newrelic-python-agent copied to clipboard
Log Event Label Attributes
Overview
- Adds new feature to include labels as attributes on all log events.
- Adds new feature to attach global custom attributes to all log events.
- Adds new settings to configure this behavior.
🦙 MegaLinter status: ❌ ERROR
| Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
|---|---|---|---|---|---|
| ✅ PYTHON | bandit | 4 | 0 | 6.4s | |
| ✅ PYTHON | black | 9 | 4 | 0 | 2.67s |
| ❌ PYTHON | flake8 | 9 | 11 | 1.49s | |
| ✅ PYTHON | isort | 9 | 5 | 0 | 0.27s |
| ✅ PYTHON | pylint | 9 | 0 | 10.99s |
See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
Codecov Report
Attention: Patch coverage is 84.09091% with 7 lines in your changes missing coverage. Please review.
Project coverage is 81.29%. Comparing base (
a5d0de3) to head (a4b352b). Report is 20 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| newrelic/core/data_collector.py | 77.77% | 4 Missing and 2 partials :warning: |
| newrelic/config.py | 85.71% | 1 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #1240 +/- ##
==========================================
+ Coverage 81.28% 81.29% +0.01%
==========================================
Files 200 200
Lines 21913 21953 +40
Branches 3472 3479 +7
==========================================
+ Hits 17812 17847 +35
- Misses 2957 2961 +4
- Partials 1144 1145 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
- Flaky Tests Detection - Detect and resolve failed and flaky tests