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(core): Update metric normalization #11518

Merged
merged 4 commits into from
Apr 10, 2024

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Apr 9, 2024

Copy link
Contributor

github-actions bot commented Apr 9, 2024

size-limit report 📦

Path Size
@sentry/browser 22.09 KB (0%)
@sentry/browser (incl. Tracing) 31.78 KB (0%)
@sentry/browser (incl. Tracing, Replay) 66.99 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.58 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 70.83 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) 80.69 KB (0%)
@sentry/browser (incl. Feedback) 35.64 KB (0%)
@sentry/browser (incl. Feedback, Feedback Modal) 35.65 KB (0%)
@sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 35.66 KB (0%)
@sentry/browser (incl. sendFeedback) 26.89 KB (0%)
@sentry/react 24.78 KB (0%)
@sentry/react (incl. Tracing) 34.7 KB (0%)
@sentry/vue 25.64 KB (0%)
@sentry/vue (incl. Tracing) 33.5 KB (0%)
@sentry/svelte 22.22 KB (0%)
CDN Bundle 24.21 KB (+0.31% 🔺)
CDN Bundle (incl. Tracing) 32.83 KB (+0.2% 🔺)
CDN Bundle (incl. Tracing, Replay) 66.55 KB (+0.12% 🔺)
CDN Bundle (incl. Tracing, Replay, Feedback) 80.56 KB (+0.09% 🔺)
CDN Bundle - uncompressed 72.06 KB (+0.32% 🔺)
CDN Bundle (incl. Tracing) - uncompressed 98.34 KB (+0.24% 🔺)
CDN Bundle (incl. Tracing, Replay) - uncompressed 207.73 KB (+0.11% 🔺)
@sentry/nextjs (client) 33.88 KB (0%)
@sentry/sveltekit (client) 32.3 KB (0%)
@sentry/node 120.15 KB (0%)

@timfish timfish marked this pull request as ready for review April 9, 2024 21:27
@timfish timfish requested a review from AbhiPrasad April 9, 2024 21:28
@@ -54,15 +53,52 @@ export function serializeMetricBuckets(metricBucketItems: MetricBucketItem[]): s
return out;
}

/** Sanitizes units */
export function sanitizeUnit(unit: string): string {
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 add docstring + link back to develop docs for these sanitizeUnit function?

@timfish
Copy link
Collaborator Author

timfish commented Apr 10, 2024

Added links to the normalisation docs!

AbhiPrasad pushed a commit that referenced this pull request Apr 10, 2024
@AbhiPrasad AbhiPrasad merged commit c8bc80b into develop Apr 10, 2024
96 checks passed
@AbhiPrasad AbhiPrasad deleted the timfish/metric-normalisation branch April 10, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metrics Normalization
2 participants