-
-
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(perf): Add Performance Metrics Docs for JavaScript #5285
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Adds documentation around automatic and custom performance metrics.
46fb783
to
d4b0d53
Compare
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.
Did some initial wording/structure review
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/includes/performance/automatic-performance-metrics/javascript.mdx
Outdated
Show resolved
Hide resolved
src/includes/performance/automatic-performance-metrics/javascript.mdx
Outdated
Show resolved
Hide resolved
src/includes/performance/automatic-performance-metrics/javascript.mdx
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,14 @@ | |||
Supported in Sentry's JavaScript SDK version `7.0.0` and above. |
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.
I can't make this change without the back ticks for the code snippet interfering with the back ticks of the suggestion, but I would put the sentence above (on line 1) in a note after that code snippet.
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.
Ugh, I wish they would fix that. Just for convenience, can we do that in a separate PR?
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Show resolved
Hide resolved
src/includes/performance/automatic-performance-metrics/javascript.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Isabel <[email protected]>
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,14 @@ | |||
Supported in Sentry's JavaScript SDK version `7.0.0` and above. |
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.
Ugh, I wish they would fix that. Just for convenience, can we do that in a separate PR?
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Outdated
Show resolved
Hide resolved
src/platforms/common/performance/instrumentation/performance-metrics.mdx
Show resolved
Hide resolved
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.
LGTM
ref: #5257
Adds documentation around automatic and custom performance metrics for JavaScript.
I think this is an initial base we can keep building off of. Eventually we'll need to link to https://sentry-docs-glcb7uyhn.sentry.dev/product/sentry-basics/events-metrics/#custom-performance-measurements.