Skip to content

Conversation

@smaddock
Copy link
Contributor

This PR adds the SemConv required http.client.request.duration metric to the ReactPHP auto-instrumentation library.

@smaddock smaddock requested a review from a team as a code owner May 31, 2025 19:48
@codecov
Copy link

codecov bot commented May 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.23%. Comparing base (39f190a) to head (d907c8f).
Report is 7 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #380      +/-   ##
============================================
+ Coverage     82.14%   82.23%   +0.09%     
- Complexity     1801     1802       +1     
============================================
  Files           137      137              
  Lines          7594     7634      +40     
============================================
+ Hits           6238     6278      +40     
  Misses         1356     1356              
Flag Coverage Δ
Aws 92.59% <ø> (ø)
Context/Swoole 0.00% <ø> (ø)
Instrumentation/CakePHP 20.40% <ø> (ø)
Instrumentation/CodeIgniter 73.55% <ø> (ø)
Instrumentation/Doctrine 92.72% <ø> (ø)
Instrumentation/ExtAmqp 88.48% <ø> (ø)
Instrumentation/ExtRdKafka 86.11% <ø> (ø)
Instrumentation/Guzzle 69.13% <ø> (ø)
Instrumentation/HttpAsyncClient 78.04% <ø> (ø)
Instrumentation/IO 70.68% <ø> (ø)
Instrumentation/Laravel 63.91% <ø> (ø)
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.44% <100.00%> (+0.16%) ⬆️
Instrumentation/Slim 86.11% <ø> (ø)
Instrumentation/Symfony 84.74% <ø> (ø)
Instrumentation/Yii 77.50% <ø> (ø)
Logs/Monolog 100.00% <ø> (ø)
Propagation/Instana 98.11% <ø> (ø)
Propagation/ServerTiming 100.00% <ø> (ø)
Propagation/TraceResponse 100.00% <ø> (ø)
ResourceDetectors/Azure 91.66% <ø> (ø)
ResourceDetectors/Container 93.02% <ø> (ø)
Sampler/RuleBased 33.51% <ø> (ø)
Shims/OpenTracing 92.45% <ø> (ø)
Symfony 87.81% <ø> (ø)
Utils/Test 87.53% <ø> (ø)

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

Files with missing lines Coverage Δ
...mentation/ReactPHP/src/ReactPHPInstrumentation.php 99.42% <100.00%> (+0.17%) ⬆️

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 39f190a...d907c8f. Read the comment docs.

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

@smaddock smaddock changed the title [ReactPHP] Add required HTTP Client Metric Draft: [ReactPHP] Add required HTTP Client Metric Jun 1, 2025
@smaddock smaddock marked this pull request as draft June 1, 2025 01:21
@smaddock smaddock changed the title Draft: [ReactPHP] Add required HTTP Client Metric [ReactPHP] Add required HTTP Client Metric Jun 1, 2025
@bobstrecansky bobstrecansky marked this pull request as ready for review June 4, 2025 12:08
@bobstrecansky bobstrecansky merged commit 138d1f1 into open-telemetry:main Jun 11, 2025
137 of 140 checks passed
@smaddock smaddock deleted the reactphp-metrics branch June 11, 2025 13:00
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