Skip to content

Conversation

@brettmc
Copy link
Contributor

@brettmc brettmc commented Jan 23, 2025

added to spec 1.36.0

@brettmc brettmc requested a review from a team as a code owner January 23, 2025 02:39
@brettmc brettmc added the breaking A breaking change label Jan 23, 2025
@codecov
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 52.94118% with 8 lines in your changes missing coverage. Please review.

Project coverage is 70.57%. Comparing base (a537dbf) to head (d1057fd).
Report is 31 commits behind head on 2.x.

Files with missing lines Patch % Lines
src/SDK/Trace/SpanProcessor/MultiSpanProcessor.php 0.00% 3 Missing ⚠️
src/SDK/Trace/SpanProcessor/BatchSpanProcessor.php 0.00% 2 Missing ⚠️
...rc/SDK/Trace/SpanProcessor/SimpleSpanProcessor.php 0.00% 2 Missing ⚠️
src/SDK/Trace/Span.php 90.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #1483      +/-   ##
============================================
+ Coverage     70.49%   70.57%   +0.07%     
- Complexity     2792     2797       +5     
============================================
  Files           413      413              
  Lines          8416     8428      +12     
============================================
+ Hits           5933     5948      +15     
+ Misses         2483     2480       -3     
Flag Coverage Δ
8.2 70.40% <52.94%> (+0.08%) ⬆️
8.3 70.40% <52.94%> (+0.04%) ⬆️
8.4 70.50% <52.94%> (+0.08%) ⬆️
8.5 70.28% <52.94%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/SDK/Trace/SpanProcessor/NoopSpanProcessor.php 100.00% <ø> (ø)
src/SDK/Trace/Span.php 94.15% <90.00%> (-0.48%) ⬇️
src/SDK/Trace/SpanProcessor/BatchSpanProcessor.php 98.51% <0.00%> (-1.49%) ⬇️
...rc/SDK/Trace/SpanProcessor/SimpleSpanProcessor.php 95.55% <0.00%> (-4.45%) ⬇️
src/SDK/Trace/SpanProcessor/MultiSpanProcessor.php 88.46% <0.00%> (-11.54%) ⬇️

... and 8 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a537dbf...d1057fd. Read the comment docs.

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

@brettmc brettmc marked this pull request as draft January 24, 2025 23:45
cached vendor dir was causing havoc with a conflict between vendor and vendor-bin/psalm (amphp/amp)
@brettmc brettmc force-pushed the span-processor-onending branch from 74ec0fd to e7570c4 Compare January 27, 2025 23:41
@brettmc brettmc marked this pull request as ready for review January 28, 2025 00:32
"psalm/plugin-phpunit": "^0.18.4"
},
"replace": {
"amphp/amp": "*"
Copy link
Contributor Author

@brettmc brettmc Jan 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This avoids a conflict between vendor-bin/psalm's version of amp conflicting with the dev dependency.

@brettmc brettmc merged commit 86fb69d into open-telemetry:2.x Jan 29, 2025
10 checks passed
@brettmc brettmc added the 2.x label Jun 12, 2025
@brettmc brettmc added this to the SDK 2.0 milestone Jun 13, 2025
jerrytfleung added a commit to jerrytfleung/opentelemetry-php that referenced this pull request Nov 24, 2025
brettmc pushed a commit that referenced this pull request Nov 25, 2025
)

* Updated

* Fixed

* nits

* Backport-ed the 2.x Span::end() implementation #1483
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.x breaking A breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants