Skip to content

Deprecate API InstrumentationInterface and ConfigurationResolver#1896

Merged
bobstrecansky merged 2 commits intoopen-telemetry:mainfrom
Nevay:feature/deprecations
Feb 25, 2026
Merged

Deprecate API InstrumentationInterface and ConfigurationResolver#1896
bobstrecansky merged 2 commits intoopen-telemetry:mainfrom
Nevay:feature/deprecations

Conversation

@Nevay
Copy link
Contributor

@Nevay Nevay commented Feb 23, 2026

InstrumentationInterface: not supported, superseded by AutoInstrumentation\Instrumentation
ConfigurationResolver: related #1865, superseded by EnvComponentLoader

See comment in `InstrumentationTrait::activate()`: "activate instrumentation with the API. not implemented yet."
Superseded by `EnvComponentLoader` which incorporates better with file-based and code-based configuration.
@Nevay Nevay requested a review from a team as a code owner February 23, 2026 18:57
@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.27%. Comparing base (43d823a) to head (fe91f73).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1896      +/-   ##
============================================
- Coverage     68.32%   68.27%   -0.05%     
  Complexity     3009     3009              
============================================
  Files           449      449              
  Lines          8798     8798              
============================================
- Hits           6011     6007       -4     
- Misses         2787     2791       +4     
Flag Coverage Δ
8.2 68.20% <ø> (-0.09%) ⬇️
8.3 68.25% <ø> (+0.02%) ⬆️
8.4 68.19% <ø> (-0.10%) ⬇️
8.5 67.39% <ø> (ø)

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

Files with missing lines Coverage Δ
src/API/Behavior/Internal/LogWriterFactory.php 78.94% <ø> (ø)
src/API/Instrumentation/ConfigurationResolver.php 91.42% <ø> (ø)
src/API/Instrumentation/InstrumentationTrait.php 95.74% <ø> (ø)

... and 2 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 43d823a...fe91f73. Read the comment docs.

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

@bobstrecansky bobstrecansky merged commit e5a33a4 into open-telemetry:main Feb 25, 2026
7 of 9 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.

2 participants