Skip to content

Conversation

@lrafeei
Copy link
Contributor

@lrafeei lrafeei commented Nov 21, 2025

This PR contains a barebones implementation for Distributed Tracing/context propagation using OTel and NR APIs

@github-actions
Copy link

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 7 0 0 0.99s
✅ MARKDOWN markdownlint 7 0 0 0 1.35s
❌ PYTHON ruff 955 6 1 0 1.11s
✅ PYTHON ruff-format 955 7 0 0 0.4s
✅ YAML prettier 15 0 0 0 1.58s
✅ YAML v8r 15 0 0 5.74s
✅ YAML yamllint 15 0 0 0.68s

Detailed Issues

❌ PYTHON / ruff - 1 error
::error title=Ruff (C416),file=newrelic/api/opentelemetry.py,line=123,col=34,endLine=123,endColumn=80::newrelic/api/opentelemetry.py:123:34: C416 Unnecessary dict comprehension (rewrite using `dict()`)
::error title=Ruff (F841),file=newrelic/api/opentelemetry.py,line=464,col=13,endLine=464,endColumn=32::newrelic/api/opentelemetry.py:464:13: F841 Local variable `parent_span_span_id` is assigned to but never used

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@mergify mergify bot added the tests-failing Tests failing in CI. label Nov 21, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 57.76699% with 174 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop-hybrid-core-tracing@6009474). Learn more about missing BASE report.

Files with missing lines Patch % Lines
newrelic/api/opentelemetry.py 59.34% 84 Missing and 27 partials ⚠️
newrelic/hooks/hybridagent_opentelemetry.py 49.13% 52 Missing and 7 partials ⚠️
newrelic/api/transaction.py 60.00% 4 Missing ⚠️
Additional details and impacted files
@@                      Coverage Diff                       @@
##             develop-hybrid-core-tracing    #1589   +/-   ##
==============================================================
  Coverage                               ?   79.90%           
==============================================================
  Files                                  ?      210           
  Lines                                  ?    24632           
  Branches                               ?     3915           
==============================================================
  Hits                                   ?    19681           
  Misses                                 ?     3574           
  Partials                               ?     1377           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests-failing Tests failing in CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants