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 support for ECS container IDs. #1209

Closed umaannamalai closed 1 month ago

umaannamalai commented 2 months ago

This PR adds a new ECS vendor to parse container IDs in ECS/ Fargate environments.

github-actions[bot] commented 2 months ago

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ PYTHON bandit 2 1 5.37s
✅ PYTHON black 6 4 0 1.8s
❌ PYTHON flake8 6 4 0.58s
✅ PYTHON isort 6 6 0 0.21s
✅ PYTHON pylint 6 0 5.26s

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

Attention: Patch coverage is 89.79592% with 5 lines in your changes missing coverage. Please review.

Project coverage is 81.13%. Comparing base (c07d6f4) to head (0a475af).

Files with missing lines Patch % Lines
newrelic/common/utilization.py 90.00% 4 Missing :warning:
newrelic/core/agent_protocol.py 88.88% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1209 +/- ## ========================================== - Coverage 81.13% 81.13% -0.01% ========================================== Files 197 197 Lines 21598 21643 +45 Branches 3775 3782 +7 ========================================== + Hits 17523 17559 +36 - Misses 2937 2945 +8 - Partials 1138 1139 +1 ```

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