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(starfish): Replaces usage of p95 in the Database Module with avg #53515

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

edwardgou-sentry
Copy link
Contributor

Replaces usage of p95 in the Database Module with avg in the frontend. Also cleans ups some types and column related constants.

@edwardgou-sentry edwardgou-sentry requested a review from a team July 25, 2023 14:22
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 25, 2023
@edwardgou-sentry
Copy link
Contributor Author

Some of these changes also affect parts of the WSV workflow due to shared components. We can complete the move from p95 in the WSV to avg in a separate future pr since WSV is still undergoing redesign.

Copy link
Member

@gggritso gggritso left a comment

Choose a reason for hiding this comment

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

Awesome!

@@ -191,7 +191,9 @@ export function TransactionSamplesTable({queryConditions, sampleFilter}: Props)
return (
<DurationComparisonCell
duration={row['transaction.duration']}
p95={(aggregatesData?.['p95(transaction.duration)'] as number) ?? 0}
compareToDuration={
(aggregatesData?.['p95(transaction.duration)'] as number) ?? 0
Copy link
Member

Choose a reason for hiding this comment

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

Should this also be avg() or is this out of scope?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I'm going to consider this to be out of scope for this pr. This component is part of the WSV/Endpoint overview so I'll follow up with updating this in a separate pr when it becomes a necessity.

@edwardgou-sentry edwardgou-sentry merged commit 90d8b5b into master Jul 25, 2023
49 checks passed
@edwardgou-sentry edwardgou-sentry deleted the egou/feat/starfish/replace-p95-with-avg branch July 25, 2023 17:05
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants