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 bootstrap server metric for kafka #1207

Closed hmstepanek closed 1 month ago

hmstepanek commented 2 months ago

Add bootstrap server metric for Kafka to connect MSK AWS entities.

github-actions[bot] commented 2 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 2 0 5.13s
✅ PYTHON black 8 0 0 1.1s
✅ PYTHON flake8 8 0 0.57s
✅ PYTHON isort 8 0 0 0.33s
✅ PYTHON pylint 8 0 3.79s

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 70.58824% with 10 lines in your changes missing coverage. Please review.

Project coverage is 81.21%. Comparing base (8094552) to head (98657e6).

Files with missing lines Patch % Lines
newrelic/hooks/messagebroker_confluentkafka.py 70.37% 4 Missing and 4 partials :warning:
newrelic/hooks/messagebroker_kafkapython.py 71.42% 0 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1207 +/- ## ========================================== - Coverage 81.48% 81.21% -0.28% ========================================== Files 197 197 Lines 21825 21859 +34 Branches 3817 3827 +10 ========================================== - Hits 17785 17753 -32 - Misses 2915 2975 +60 - Partials 1125 1131 +6 ```

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