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

Update propagation page for Node.js #4722

Merged
merged 11 commits into from
Jul 4, 2024

Conversation

svrnm
Copy link
Member

@svrnm svrnm commented Jun 20, 2024

Addresses #3688, this is a detailed updated on context propagation, that when applied can be replicated across languages.


Preview: https://deploy-preview-4722--opentelemetry.netlify.app/docs/languages/js/propagation/

@svrnm svrnm requested review from a team June 20, 2024 12:28
Copy link
Member

@theletterf theletterf left a comment

Choose a reason for hiding this comment

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

Thanks! Just some suggestions.

content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]>
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
@theletterf theletterf requested a review from trentm June 22, 2024 22:04
@svrnm
Copy link
Member Author

svrnm commented Jun 24, 2024

/fix:all

@svrnm
Copy link
Member Author

svrnm commented Jun 24, 2024

@open-telemetry/javascript-approvers please take a look!

@opentelemetrybot
Copy link
Collaborator

You triggered fix:all action run at https://github.com/open-telemetry/opentelemetry.io/actions/runs/9648516390

@svrnm
Copy link
Member Author

svrnm commented Jun 24, 2024

@svrnm svrnm added the sig-approval-missing Co-owning SIG didn't provide an approval label Jun 25, 2024
Copy link
Contributor

@chalin chalin left a comment

Choose a reason for hiding this comment

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

Overall looks good, TY. See inline comments for feedback on the shortcode.I'll leave others carefully review the JS page changes.

layouts/shortcodes/docs/languages/propagation.md Outdated Show resolved Hide resolved
layouts/shortcodes/docs/languages/propagation.md Outdated Show resolved Hide resolved
propagate trace context across services for you. Only in rare cases you will
need to propagate context manually.

{{ if $lang -}}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why have conditional content based on $lang? The prose in the "then" clause below seems suitable in all cases.

If we don't need the "lang" parameter to the shortcode, I'd suggest that we drop it for now, and reintroduce it later if/when needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

The page this is referencing is /docs/concepts/context-propagation, so that would be self-referencing

content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
Copy link
Contributor

@trentm trentm left a comment

Choose a reason for hiding this comment

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

Thanks!

content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
content/en/docs/languages/js/propagation.md Outdated Show resolved Hide resolved
@svrnm svrnm removed the sig-approval-missing Co-owning SIG didn't provide an approval label Jul 3, 2024
@svrnm
Copy link
Member Author

svrnm commented Jul 4, 2024

/fix:all

@opentelemetrybot
Copy link
Collaborator

You triggered fix:all action run at https://github.com/open-telemetry/opentelemetry.io/actions/runs/9790310929

@svrnm svrnm merged commit 1238a9f into open-telemetry:main Jul 4, 2024
16 checks passed
@svrnm svrnm deleted the js-propagation-update-2 branch July 4, 2024 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants