Skip to content

Conversation

@smaddock
Copy link
Contributor

@smaddock smaddock commented Jul 8, 2025

Followup to this comment: #384 (comment)

If any of these changes are undesirable let me know and I'll update the PR.

Also, I noticed the src/Aws/ and src/ResourceDetectors/Azure/ libraries have inconsistent namespaces with the rest of the project; should those be updated? They would be breaking changes, but it looks like neither has hit a stable semantic version yet.

@smaddock smaddock requested a review from a team as a code owner July 8, 2025 22:41
@codecov
Copy link

codecov bot commented Jul 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.45%. Comparing base (8724759) to head (7786aa8).
Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #402      +/-   ##
============================================
- Coverage     82.50%   81.45%   -1.06%     
+ Complexity     2009     1666     -343     
============================================
  Files           144      120      -24     
  Lines          8329     6950    -1379     
============================================
- Hits           6872     5661    -1211     
+ Misses         1457     1289     -168     
Flag Coverage Δ
Aws 92.59% <ø> (ø)
Context/Swoole 0.00% <ø> (ø)
Exporter/Instana 49.42% <ø> (ø)
Instrumentation/AwsSdk 81.13% <ø> (ø)
Instrumentation/CakePHP 20.40% <ø> (ø)
Instrumentation/CodeIgniter 73.55% <ø> (ø)
Instrumentation/Curl 90.42% <ø> (ø)
Instrumentation/Doctrine 92.92% <ø> (ø)
Instrumentation/ExtAmqp 88.48% <ø> (ø)
Instrumentation/ExtRdKafka 86.11% <ø> (ø)
Instrumentation/Guzzle 75.58% <ø> (ø)
Instrumentation/HttpAsyncClient 78.04% <ø> (ø)
Instrumentation/IO 70.68% <ø> (ø)
Instrumentation/Laravel 69.68% <ø> (ø)
Instrumentation/MongoDB 74.28% <ø> (ø)
Instrumentation/MySqli 95.81% <ø> (ø)
Instrumentation/OpenAIPHP 87.21% <ø> (ø)
Instrumentation/PDO 94.21% <ø> (ø)
Instrumentation/Psr14 76.47% <ø> (ø)
Instrumentation/Psr15 89.15% <ø> (ø)
Instrumentation/Psr16 97.50% <ø> (ø)
Instrumentation/Psr18 77.46% <ø> (ø)
Instrumentation/Psr3 67.01% <ø> (ø)
Instrumentation/Psr6 97.61% <ø> (ø)
Instrumentation/ReactPHP 99.45% <ø> (ø)
Instrumentation/Slim 86.11% <ø> (ø)
Instrumentation/Symfony 84.74% <ø> (ø)
Logs/Monolog 100.00% <ø> (ø)
Propagation/Instana 98.11% <ø> (ø)
Propagation/ServerTiming 100.00% <ø> (ø)
Propagation/TraceResponse 100.00% <ø> (ø)
ResourceDetectors/Azure 91.66% <ø> (ø)
ResourceDetectors/Container 93.02% <ø> (ø)
ResourceDetectors/DigitalOcean 100.00% <ø> (ø)
Sampler/RuleBased 33.51% <ø> (ø)
Shims/OpenTracing 92.45% <ø> (ø)
Symfony ?
Utils/Test 87.53% <ø> (ø)

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

see 24 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 8724759...7786aa8. Read the comment docs.

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

@smaddock
Copy link
Contributor Author

smaddock commented Jul 8, 2025

Reverted the last commit; AutoInstrumentationInstaller and MetaPackages/opentelemetry will never pass CI tests

This was referenced Jul 8, 2025
@smaddock
Copy link
Contributor Author

smaddock commented Jul 9, 2025

Re: #403 (comment) from @ChrisLightfootWild:

I think we can ignore the root level one as that package is abandoned:
https://packagist.org/packages/open-telemetry/opentelemetry-php-contrib

Should we be removing some of these meta files then instead of maintaining them? The root .gitattributes for one, but even the composer.json that’s part of this PR… is it ever used/needed? Or is it just noise at this point?

@ChrisLightfootWild
Copy link
Contributor

Re: #403 (comment) from @ChrisLightfootWild:

I think we can ignore the root level one as that package is abandoned:
https://packagist.org/packages/open-telemetry/opentelemetry-php-contrib

Should we be removing some of these meta files then instead of maintaining them? The root .gitattributes for one, but even the composer.json that’s part of this PR… is it ever used/needed? Or is it just noise at this point?

I'm not sure either - I'd guess so to the exports in .gitattributes.

The dev-tools on the root composer - I've never used them but would presume it was there for something. I am sure @brettmc or @bobstrecansky know more on the requirements/history here 🤔

@smaddock
Copy link
Contributor Author

smaddock commented Jul 9, 2025

Brett has mentioned they’re used in the Packagist deployment, at least.

@brettmc
Copy link
Contributor

brettmc commented Jul 9, 2025

The dev-tools on the root composer - I've never used them but would presume it was there for something.

It's used here for one function that I can see, make packages-composer.

but even the composer.json that’s part of this PR… is it ever used/needed?

I don't think that it is used nowadays. I think we could get rid of it. 🤞

@smaddock
Copy link
Contributor Author

but even the composer.json that’s part of this PR… is it ever used/needed?

I don't think that it is used nowadays. I think we could get rid of it. 🤞

I’ll try removing it, running make all, and pushing a commit to this PR without it and see how the tests fair.

@brettmc brettmc merged commit 9fea410 into open-telemetry:main Jul 22, 2025
144 of 153 checks passed
@smaddock
Copy link
Contributor Author

Sorry I haven’t got to the last point… I moved a week ago and everything is still getting unpacked.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants