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(new-trace): add cache metrics to transaction trace details #70868

Merged
merged 3 commits into from
May 24, 2024

Conversation

DominikB2014
Copy link
Contributor

@DominikB2014 DominikB2014 commented May 14, 2024

Adds cache metrics section to a transaction node, if the transaction has cache metrics
image

@DominikB2014 DominikB2014 requested a review from a team as a code owner May 14, 2024 16:37
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 14, 2024
@@ -49,7 +49,7 @@ export const DataTitles: Record<DataKey, string> = {
'avg(cache.item_size)': t('Avg Value Size'),
unsuccessfulHTTPCodes: t('Response Codes (3XX, 4XX, 5XX)'),
httpCodeBreakdown: t('Response Code Breakdown'),
cacheMissRate: t('Miss Rate'),
'cache_miss_rate()': t('Miss Rate'),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Threw in an extra refactor here, sorry about that

Copy link

codecov bot commented May 14, 2024

Bundle Report

Changes will increase total bundle size by 7.96kB ⬆️

Bundle name Size Change
app-webpack-bundle-array-push 26.79MB 7.96kB ⬆️

@DominikB2014 DominikB2014 requested a review from JonasBa May 16, 2024 19:45
@DominikB2014
Copy link
Contributor Author

@JonasBa I've addressed you're comments about allowing cache metrics to load independently and mapping all the cache metrics instead of the first element. Lmk what u think!

@JonasBa
Copy link
Member

JonasBa commented May 24, 2024

@DominikB2014 I'm really sorry about this, I must have missed the gh notification. Please feel free to ping me sooner next time, I try to reply to all notifications in less than a day

@DominikB2014 DominikB2014 merged commit b072fc6 into master May 24, 2024
40 of 41 checks passed
@DominikB2014 DominikB2014 deleted the DominikB2014/trace-view-cache branch May 24, 2024 17:47
volokluev pushed a commit that referenced this pull request May 28, 2024
Adds cache metrics section to a transaction node, if the transaction has
cache metrics
<img width="393" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/d1bdf928-b665-4446-ba8e-e188a62462f2">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants