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

Yii2 framework instrumentation #212

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

agoallikmaa
Copy link
Contributor

Implements Yii 2.0.13+ auto-instrumentation (open-telemetry/opentelemetry-auto-yii package). Earlier versions have a class naming conflict with PHP 8.0+ itself. Currently only collects root span.

@agoallikmaa agoallikmaa requested a review from a team November 20, 2023 16:19
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Merging #212 (40ba4a2) into main (8665109) will decrease coverage by 1.09%.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #212      +/-   ##
============================================
- Coverage     33.10%   32.02%   -1.09%     
- Complexity      853      878      +25     
============================================
  Files            76       79       +3     
  Lines          3250     3360     +110     
============================================
  Hits           1076     1076              
- Misses         2174     2284     +110     
Flag Coverage Δ
7.4 46.34% <ø> (ø)
8.0 31.86% <0.00%> (-1.17%) ⬇️
8.1 31.89% <0.00%> (-1.17%) ⬇️
8.2 31.97% <0.00%> (-1.09%) ⬇️

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

Files Coverage Δ
...trumentation/Yii/src/ResponsePropagationSetter.php 0.00% <0.00%> (ø)
...strumentation/Yii/src/RequestPropagationGetter.php 0.00% <0.00%> (ø)
src/Instrumentation/Yii/src/YiiInstrumentation.php 0.00% <0.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 8665109...40ba4a2. Read the comment docs.

src/Instrumentation/Yii/composer.json Outdated Show resolved Hide resolved
src/Instrumentation/Yii/composer.json Show resolved Hide resolved
@brettmc
Copy link
Collaborator

brettmc commented Nov 21, 2023

one psalm issue to fix (ignore) and then I'm happy to merge and publish this.

@pdelewski
Copy link
Member

As @brettmc mentioned, psalm issue, but overall LGTM

Copy link
Member

@pdelewski pdelewski left a comment

Choose a reason for hiding this comment

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

@agoallikmaa Thx for contributing that.

@brettmc brettmc merged commit f3e21f4 into open-telemetry:main Nov 22, 2023
@brettmc
Copy link
Collaborator

brettmc commented Nov 22, 2023

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