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

fix(sdk): fix incorrect doc #1499

Merged
merged 8 commits into from
Feb 2, 2024
Merged

fix(sdk): fix incorrect doc #1499

merged 8 commits into from
Feb 2, 2024

Conversation

TommyCpp
Copy link
Contributor

@TommyCpp TommyCpp commented Jan 29, 2024

Fixes #1474, #1494
Design discussion issue (if applicable) #

Changes

  • fix incorrect docs

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@@ -1,45 +1,3 @@
//! # OpenTelemetry Baggage API
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed this as it's duplicate with the BaggatePropagator doc

Copy link
Member

Choose a reason for hiding this comment

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

Thanks.

Separately, https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/src/baggage.rs#L393-L399 has some extra things like BaggageMetadata that are not in spec.. Need to review them to ensure its needed.

Copy link
Member

Choose a reason for hiding this comment

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

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/api-propagators.md#propagators-distribution
Also, the propagators should be part of the API itself..

Not a blocker for this PR, will track separately.

Copy link
Contributor

@hdost hdost Jan 30, 2024

Choose a reason for hiding this comment

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

Is there a ticket to track?

Also can't we reference it here without needing to duplicate?

Copy link
Member

Choose a reason for hiding this comment

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

No, haven;t create an issue to track yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also can't we reference it here without needing to duplicate?

We don' really expose this module(we export the BaggagePropagator directly) so users won't see it.

@TommyCpp TommyCpp marked this pull request as ready for review January 29, 2024 05:36
@TommyCpp TommyCpp requested a review from a team January 29, 2024 05:36
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (270c857) 63.6% compared to head (28a022e) 63.6%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1499   +/-   ##
=====================================
  Coverage   63.6%   63.6%           
=====================================
  Files        144     144           
  Lines      20005   20005           
=====================================
  Hits       12741   12741           
  Misses      7264    7264           

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

Copy link
Member

@cijothomas cijothomas left a comment

Choose a reason for hiding this comment

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

some nits, not blockers

@cijothomas cijothomas merged commit dd4c13b into open-telemetry:main Feb 2, 2024
14 of 15 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.

[Bug]: SDK Trace propagator documentation is hidden.
4 participants