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

guzzle auto-instrumentation #226

Merged
merged 6 commits into from
Jan 11, 2024
Merged

Conversation

brettmc
Copy link
Collaborator

@brettmc brettmc commented Jan 9, 2024

@brettmc brettmc requested a review from a team January 9, 2024 00:31
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (f9fe8a9) 85.83% compared to head (45b328b) 85.61%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #226      +/-   ##
============================================
- Coverage     85.83%   85.61%   -0.22%     
- Complexity      917      929      +12     
============================================
  Files            83       85       +2     
  Lines          3684     3754      +70     
============================================
+ Hits           3162     3214      +52     
- Misses          522      540      +18     
Flag Coverage Δ
7.4 85.63% <ø> (ø)
8.0 84.84% <74.28%> (-0.23%) ⬇️
8.1 84.87% <74.28%> (-0.23%) ⬇️
8.2 85.55% <74.28%> (-0.22%) ⬇️

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

Files Coverage Δ
...c/Instrumentation/Guzzle/src/HeadersPropagator.php 0.00% <0.00%> (ø)
...strumentation/Guzzle/src/GuzzleInstrumentation.php 80.00% <80.00%> (ø)

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 f9fe8a9...45b328b. Read the comment docs.

src/Instrumentation/Guzzle/README.md Outdated Show resolved Hide resolved
src/Instrumentation/Guzzle/README.md Outdated Show resolved Hide resolved
src/Instrumentation/Guzzle/README.md Outdated Show resolved Hide resolved
src/Instrumentation/Guzzle/README.md Outdated Show resolved Hide resolved
src/Instrumentation/Guzzle/README.md Outdated Show resolved Hide resolved
src/Instrumentation/Guzzle/README.md Outdated Show resolved Hide resolved
src/Instrumentation/Guzzle/README.md Outdated Show resolved Hide resolved
src/Instrumentation/Guzzle/composer.json Outdated Show resolved Hide resolved
"ext-opentelemetry": "*",
"ext-reflection": "*",
"open-telemetry/api": "^1.0",
"open-telemetry/sem-conv": "^1.22",
Copy link
Contributor

Choose a reason for hiding this comment

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

The current package is in version 1.23.1 of the semantic convention, what do you think of the package starting from this version?
If you see that it makes sense, I believe that a separate PR can be opened to update the other packages to this version, since everyone is using version ^1.22.

Suggested change
"open-telemetry/sem-conv": "^1.22",
"open-telemetry/sem-conv": "^1.23",

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it's a good idea to do a separate PR to update everything to 1.23

@bobstrecansky
Copy link
Collaborator

Some uncaught Phan exceptions; this expected?

some failures need to be investigated, unrelated to this PR
@brettmc
Copy link
Collaborator Author

brettmc commented Jan 10, 2024

Some uncaught Phan exceptions; this expected?

No. I added 8.3 to the build matrix and most jobs seem unhappy with it. I'll tackle that as a separate PR...

@brettmc brettmc merged commit 4212c41 into open-telemetry:main Jan 11, 2024
73 of 74 checks passed
@brettmc
Copy link
Collaborator Author

brettmc commented Jan 11, 2024

https://packagist.org/packages/open-telemetry/opentelemetry-auto-guzzle

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.

auto-instrumention support for GuzzleHttp\ClientInterface and sendRequest()
3 participants