Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update contrib packages to SemConv 1.30 #327

Merged
merged 35 commits into from
Feb 11, 2025

Conversation

brettmc
Copy link
Collaborator

@brettmc brettmc commented Feb 6, 2025

  • update all contrib packages using SemConv to 1.30.0
  • update deprecated semconv attributes to their suggested replacements
  • dropped 7.4 support for most packages

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 62.82723% with 71 lines in your changes missing coverage. Please review.

Project coverage is 80.67%. Comparing base (ee99079) to head (402dc53).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...AsyncClient/src/HttpAsyncClientInstrumentation.php 37.50% 5 Missing ⚠️
...strumentation/MySqli/src/MySqliInstrumentation.php 75.00% 5 Missing ⚠️
...Instrumentation/Psr15/src/Psr15Instrumentation.php 54.54% 5 Missing ⚠️
...Instrumentation/Psr18/src/Psr18Instrumentation.php 28.57% 5 Missing ⚠️
...entation/Symfony/src/HttpClientInstrumentation.php 37.50% 5 Missing ⚠️
...mentation/Symfony/src/MessengerInstrumentation.php 54.54% 5 Missing ⚠️
...rumentation/Symfony/src/SymfonyInstrumentation.php 44.44% 5 Missing ⚠️
.../src/Watchers/RedisCommand/RedisCommandWatcher.php 0.00% 4 Missing ⚠️
...strumentation/Guzzle/src/GuzzleInstrumentation.php 40.00% 3 Missing ⚠️
...nstrumentation/CakePHP/src/Hooks/CakeHookTrait.php 0.00% 2 Missing ⚠️
... and 20 more

❗ There is a different number of reports uploaded between BASE (ee99079) and HEAD (402dc53). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (ee99079) HEAD (402dc53)
Instrumentation/PDO 1 0
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #327      +/-   ##
============================================
- Coverage     85.87%   80.67%   -5.20%     
- Complexity     1081     1295     +214     
============================================
  Files            73      114      +41     
  Lines          4480     5486    +1006     
============================================
+ Hits           3847     4426     +579     
- Misses          633     1060     +427     
Flag Coverage Δ
Instrumentation/CakePHP 20.27% <25.00%> (+0.27%) ⬆️
Instrumentation/CodeIgniter 73.77% <75.00%> (ø)
Instrumentation/Curl 90.66% <80.00%> (ø)
Instrumentation/ExtAmqp 89.26% <100.00%> (?)
Instrumentation/ExtRdKafka 87.73% <87.50%> (?)
Instrumentation/Guzzle 69.51% <40.00%> (ø)
Instrumentation/HttpAsyncClient 78.31% <37.50%> (-2.94%) ⬇️
Instrumentation/IO 70.68% <50.00%> (ø)
Instrumentation/Laravel 62.17% <63.33%> (?)
Instrumentation/MongoDB 74.03% <60.00%> (+1.39%) ⬆️
Instrumentation/MySqli 96.09% <76.19%> (-0.02%) ⬇️
Instrumentation/OpenAIPHP 87.31% <100.00%> (ø)
Instrumentation/PDO ?
Instrumentation/Psr14 77.14% <50.00%> (ø)
Instrumentation/Psr15 89.41% <54.54%> (-4.42%) ⬇️
Instrumentation/Psr16 97.56% <100.00%> (ø)
Instrumentation/Psr18 77.77% <28.57%> (-3.39%) ⬇️
Instrumentation/Psr3 59.49% <0.00%> (?)
Instrumentation/Psr6 97.67% <100.00%> (ø)
Instrumentation/Slim 86.89% <71.42%> (ø)
Instrumentation/Symfony 84.93% <46.42%> (-3.78%) ⬇️
Instrumentation/Yii 77.68% <75.00%> (ø)
Logs/Monolog 100.00% <100.00%> (?)
Propagation/ServerTiming 100.00% <ø> (ø)
Propagation/TraceResponse 100.00% <ø> (ø)
ResourceDetectors/Azure 91.66% <100.00%> (?)
ResourceDetectors/Container 93.02% <ø> (ø)
Sampler/RuleBased 33.51% <ø> (?)
Shims/OpenTracing 92.45% <ø> (ø)
Symfony 87.81% <100.00%> (ø)

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

Files with missing lines Coverage Δ
...rumentation/ExtAmqp/src/ExtAmqpInstrumentation.php 89.26% <100.00%> (ø)
...n/Laravel/src/Hooks/Illuminate/Console/Command.php 90.00% <100.00%> (ø)
...vel/src/Hooks/Illuminate/Contracts/Http/Kernel.php 83.56% <100.00%> (ø)
...n/Laravel/src/Hooks/Illuminate/Queue/SyncQueue.php 92.59% <100.00%> (ø)
...nstrumentation/Laravel/src/Watchers/LogWatcher.php 94.73% <ø> (ø)
...trumentation/Laravel/src/Watchers/QueryWatcher.php 95.83% <100.00%> (ø)
...n/Laravel/src/Watchers/RedisCommand/Serializer.php 92.30% <100.00%> (ø)
src/Instrumentation/MySqli/src/MySqliTracker.php 93.00% <100.00%> (-0.07%) ⬇️
...ntation/OpenAIPHP/src/OpenAIPHPInstrumentation.php 87.31% <100.00%> (ø)
...Instrumentation/Psr16/src/Psr16Instrumentation.php 97.56% <100.00%> (ø)
... and 35 more

... and 27 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 ee99079...402dc53. Read the comment docs.

- bump psr3 + monolog deps to php8.1
- fix azure detector semconv, add composer dependency
in semconv 1.27 the order of operation+queue switched
@brettmc brettmc merged commit 2d17302 into open-telemetry:main Feb 11, 2025
103 of 113 checks passed
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