-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Bundle ReportChanges will decrease total bundle size by 15 bytes ⬇️
|
There was a problem hiding this 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!!
platform-includes/distributed-tracing/custom-instrumentation/javascript.mdx
Outdated
Show resolved
Hide resolved
platform-includes/distributed-tracing/custom-instrumentation/javascript.mdx
Outdated
Show resolved
Hide resolved
platform-includes/distributed-tracing/custom-instrumentation/javascript.mdx
Outdated
Show resolved
Hide resolved
|
||
<Note> | ||
|
||
This setup is only required if you have a custom SSR or HTML page generation setup. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Co-authored-by: Liza Mock <liza.mock@sentry.io> Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
platform-includes/distributed-tracing/custom-instrumentation/javascript.mdx
Outdated
Show resolved
Hide resolved
getMetaTagValues
function<meta>
tags
I adjusted the PR to accommodate both new functions we created for meta tag injection (see updated description). |
To be merged after getsentry/sentry-javascript#13201 is released.
This PR adds documentation for
getTraceData
introduced in feat(core): AddgetTraceData
function sentry-javascript#13134getTraceMetaTags
introduced in feat(core): AddgetTraceMetaTags
function sentry-javascript#13201which both give users the ability to propagate backend -> frontend traces via
<meta>
Html tags.closes #7671