-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
feat(onboarding): Add JS onboarding for cloudflare #103214
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
Conversation
static/app/gettingStartedDocs/node/cloudflare-pages/metrics.tsx
Outdated
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.
left a few comments, but in general it looks good! 🙌
| import {getInstallCodeBlock} from 'sentry/gettingStartedDocs/node/utils'; | ||
| import {t, tct} from 'sentry/locale'; | ||
|
|
||
| export const getNodeMetricsOnboarding = < |
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.
Thank you for creating this file and for moving the function out of utils <3
I would just name this metrics and inline this part export const metrics = getNodeMetricsOnboarding({ in the index file.
| @@ -1,4 +1,4 @@ | |||
| import {getNodeMetricsOnboarding} from 'sentry/gettingStartedDocs/node/utils'; | |||
| import {getNodeMetricsOnboarding} from 'sentry/gettingStartedDocs/node/metrics'; | |||
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.
no tests for metrics?
|
I have a follow up pr already, will update it in there! |
ref getsentry/sentry-javascript#18147
ref https://linear.app/getsentry/issue/JS-1142/add-missing-metrics-exports-for-cloudflare