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

feat(javascript): Add documentation for injecting Html <meta> tags #10926

Merged
merged 6 commits into from
Aug 14, 2024

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Jul 31, 2024

To be merged after getsentry/sentry-javascript#13201 is released.

This PR adds documentation for

which both give users the ability to propagate backend -> frontend traces via <meta> Html tags.

closes #7671

Copy link

vercel bot commented Jul 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
changelog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2024 11:37am
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2024 11:37am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
develop-docs ⬜️ Ignored (Inspect) Visit Preview Aug 6, 2024 11:37am

@Lms24 Lms24 self-assigned this Jul 31, 2024
@Lms24 Lms24 requested review from mydea, a team and nicohrubec and removed request for a team July 31, 2024 13:42
Copy link

codecov bot commented Jul 31, 2024

Bundle Report

Changes will decrease total bundle size by 15 bytes ⬇️

Bundle name Size Change
sentry-docs-server 8.55MB 6 bytes ⬇️
sentry-docs-edge-server 255.88kB 3 bytes ⬇️
sentry-docs-client 6.24MB 6 bytes ⬇️

Copy link
Contributor

@lizokm lizokm left a comment

Choose a reason for hiding this comment

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

Thanks for updating this!!


<Note>

This setup is only required if you have a custom SSR or HTML page generation setup.
Copy link
Member

Choose a reason for hiding this comment

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

Can we avoid showing this note, and simply only show this whole section for relevant SDKs? So hide it for next, remix etc?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah let's try this first. We can always expand the allowlist if users are asking for it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, updated to notSupported=['browser'] which makes this section also dissappear for meta framework SDKs

c750e4e

Co-authored-by: Liza Mock <[email protected]>
Co-authored-by: Francesco Novy <[email protected]>
@Lms24 Lms24 changed the title feat(node): Add documentation for getMetaTagValues function feat(javascript): Add documentation for injecting Html <meta> tags Aug 6, 2024
@Lms24
Copy link
Member Author

Lms24 commented Aug 6, 2024

I adjusted the PR to accommodate both new functions we created for meta tag injection (see updated description).

@Lms24 Lms24 merged commit d62beaf into master Aug 14, 2024
9 checks passed
@Lms24 Lms24 deleted the lms/feat-node-getTracingMetaTagValues branch August 14, 2024 11:56
@github-actions github-actions bot locked and limited conversation to collaborators Aug 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add info for Server-rendered HTML > Browser SDK trace propagation to Node docs
3 participants