Skip to content

First commit working version, cleanup still to do#2939

Open
jbedell-newrelic wants to merge 6 commits into
mainfrom
NewRelicNotSampled
Open

First commit working version, cleanup still to do#2939
jbedell-newrelic wants to merge 6 commits into
mainfrom
NewRelicNotSampled

Conversation

@jbedell-newrelic

@jbedell-newrelic jbedell-newrelic commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Updates to support the "nrns" header in message queues when the transaction is not selected for sampling. Also updates to support the otel autoconfigure use of span attributes for the same.

Resolves: #2888

@codecov-commenter

codecov-commenter commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 11.11111% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.76%. Comparing base (edff1ac) to head (8c20655).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
.../src/main/java/com/newrelic/agent/HeadersUtil.java 6.25% 12 Missing and 3 partials ⚠️
...ewrelic/agent/config/DistributedTracingConfig.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2939      +/-   ##
============================================
- Coverage     70.78%   70.76%   -0.03%     
+ Complexity    10664    10661       -3     
============================================
  Files           879      877       -2     
  Lines         42971    42980       +9     
  Branches       6501     6505       +4     
============================================
- Hits          30419    30415       -4     
- Misses         9623     9628       +5     
- Partials       2929     2937       +8     

☔ View full report in Codecov by Harness.
📢 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.

@jbedell-newrelic jbedell-newrelic moved this from Triage to Reviewed in Java Engineering Board Jun 16, 2026
@jbedell-newrelic jbedell-newrelic marked this pull request as ready for review June 23, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Reviewed

Development

Successfully merging this pull request may close these issues.

Minimize DT headers when not sampled

3 participants