Skip to content

Conversation

@fredbi
Copy link
Member

@fredbi fredbi commented Sep 25, 2025

This PR deprecates the WithOpenTracing runtime option, in favor the WithOpenTelemetry option.

The WithOpenTracing method remains exposed, so programs that build with that one don't break, but options are ignored and it returns an opentelemetry-enabled transport.

A new independent is introduced to provide backward-compatibility to users who are not able to transition to opentelemetry.

Technically, the runtime repo now moves to a multi-modules mono-repo structure, similar to github.com/go-openapi/swag. The necessary CI changes are applied.

Change type

Please select: 🆕 New feature or enhancement|🔧 Bug fix'|📃 Documentation update

Short description

Fixes

Full description

Checklist

  • I have signed all my commits with my name and email (see DCO. This does not require a PGP-signed commit
  • I have rebased and squashed my work, so only one commit remains
  • I have added tests to cover my changes.
  • I have properly enriched go doc comments in code.
  • I have properly documented any breaking change.

* fixes go-openapi#365

This PR deprecates the WithOpenTracing runtime option,
in favor the WithOpenTelemetry option.

The WithOpenTracing method remains exposed, so programs that build
with that one don't break, but options are ignored and it returns
an opentelemetry-enabled transport.

A new independent is introduced to provide backward-compatibility to
users who are not able to transition to opentelemetry.

Technically, the runtime repo now moves to a multi-modules mono-repo
structure, similar to github.com/go-openapi/swag. The necessary CI
changes are applied.

Signed-off-by: Frederic BIDON <[email protected]>
@fredbi fredbi force-pushed the fix/365-deprecaed-opentracing branch from 54ade52 to 5bf5373 Compare September 25, 2025 07:16
@codecov
Copy link

codecov bot commented Sep 25, 2025

Codecov Report

❌ Patch coverage is 16.66667% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.59%. Comparing base (476a4c4) to head (5bf5373).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
client/runtime.go 0.00% 8 Missing ⚠️
client-middleware/opentracing/runtime.go 0.00% 2 Missing ⚠️

❌ Your patch status has failed because the patch coverage (16.66%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #366      +/-   ##
==========================================
- Coverage   81.78%   78.59%   -3.20%     
==========================================
  Files          49       50       +1     
  Lines        4079     4087       +8     
==========================================
- Hits         3336     3212     -124     
- Misses        630      765     +135     
+ Partials      113      110       -3     
Flag Coverage Δ
oldstable-macos-latest 78.59% <16.66%> (-3.20%) ⬇️
oldstable-ubuntu-latest 78.59% <16.66%> (-3.20%) ⬇️
oldstable-windows-latest 78.59% <16.66%> (-3.20%) ⬇️
stable-macos-latest 78.59% <16.66%> (-3.20%) ⬇️
stable-ubuntu-latest 78.59% <16.66%> (-3.20%) ⬇️
stable-windows-latest 78.59% <16.66%> (-3.20%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@fredbi fredbi merged commit f39677b into go-openapi:master Sep 25, 2025
10 of 12 checks passed
@fredbi fredbi deleted the fix/365-deprecaed-opentracing branch September 25, 2025 07:30
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.

Remove/deprecate opentracing-go (archived) now that OpenTelemetry is supported

1 participant