Skip to content

Checked if Operation Enabled in otlptracehttp before performing operation - #7881

Merged
MrAlias merged 4 commits into
open-telemetry:mainfrom
itssaharsh:otlph
Feb 20, 2026
Merged

Checked if Operation Enabled in otlptracehttp before performing operation#7881
MrAlias merged 4 commits into
open-telemetry:mainfrom
itssaharsh:otlph

Conversation

@itssaharsh

Copy link
Copy Markdown
Contributor

This PR adds the Enabled functionality to checked if the field is enabled before performing computational heavy work.
Tracked in #7800

@codecov

codecov Bot commented Feb 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.7%. Comparing base (64f28b0) to head (297e0bd).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #7881   +/-   ##
=====================================
  Coverage   81.7%   81.7%           
=====================================
  Files        304     304           
  Lines      23283   23287    +4     
=====================================
+ Hits       19032   19036    +4     
  Misses      3864    3864           
  Partials     387     387           
Files with missing lines Coverage Δ
...e/otlptracehttp/internal/observ/instrumentation.go 100.0% <100.0%> (ø)

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@MrAlias MrAlias changed the title Checked if Operation Enabled in otlphttp before performing operation Feb 9, 2026
@MrAlias MrAlias added the pkg:exporter:otlp Related to the OTLP exporter package label Feb 9, 2026
@itssaharsh

Copy link
Copy Markdown
Contributor Author

@MrAlias @dashpole any changes I should do in this pr?

@MrAlias MrAlias added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Feb 20, 2026
@MrAlias
MrAlias merged commit 248da95 into open-telemetry:main Feb 20, 2026
39 of 40 checks passed
@MrAlias MrAlias added this to the v1.41.0 milestone Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg:exporter:otlp Related to the OTLP exporter package Skip Changelog PRs that do not require a CHANGELOG.md entry

4 participants