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

reduce default set of resource detectors #1471

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

brettmc
Copy link
Collaborator

@brettmc brettmc commented Jan 9, 2025

Limit the default detectors from everything to:

  • sdk
  • sdk_provided
  • env

This is controlled by a new detector key, OTEL_PHP_DETECTORS=default (which is the default if no value is provided). The previous behaviour can be restored by explicitly setting OTEL_PHP_DETECTORS=all.

Closes: #1320

Limit the default detectors from everything to:
- sdk
- sdk_provided
- env

This is controlled by a new detector key, OTEL_PHP_DETECTORS=default (which is
the default if no value is provided). The previous behaviour can be restored
by explicitly setting OTEL_PHP_DETECTORS=all.
@brettmc brettmc requested a review from a team as a code owner January 9, 2025 03:55
@brettmc brettmc added the breaking A breaking change label Jan 9, 2025
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.31%. Comparing base (c6f742d) to head (4368d31).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #1471      +/-   ##
============================================
- Coverage     73.34%   73.31%   -0.04%     
- Complexity     2682     2683       +1     
============================================
  Files           387      387              
  Lines          8014     8018       +4     
============================================
  Hits           5878     5878              
- Misses         2136     2140       +4     
Flag Coverage Δ
8.2 73.23% <100.00%> (+0.02%) ⬆️
8.3 73.24% <100.00%> (-0.04%) ⬇️
8.4 73.23% <100.00%> (+0.03%) ⬆️
8.5 73.20% <100.00%> (-0.05%) ⬇️

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

Files with missing lines Coverage Δ
src/SDK/Resource/ResourceInfoFactory.php 97.87% <100.00%> (+0.19%) ⬆️

... and 4 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 c6f742d...4368d31. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant