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(insights): convert more web vitals to eap #88840

Conversation

DominikB2014
Copy link
Contributor

@DominikB2014 DominikB2014 commented Apr 4, 2025

  1. add default query for eap (eap does not have transaction.op, but instead uses span.op)
  2. Use useMetrics in a few more spots that I missed in ref(insights): update web vitals to use useMetrics #88693
  3. Update useMetricsSeries to conditionally fetch eap data
  4. Use opportunity_score(measurements.score.total if eap is enabled, otherwise use total_opportunity_score
  5. Remove several unused fields

@DominikB2014 DominikB2014 requested a review from a team as a code owner April 4, 2025 19:46
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 4, 2025
Copy link

codecov bot commented Apr 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #88840   +/-   ##
=======================================
  Coverage   87.73%   87.73%           
=======================================
  Files       10066    10066           
  Lines      569533   569512   -21     
  Branches    22359    22357    -2     
=======================================
- Hits       499662   499647   -15     
+ Misses      69472    69466    -6     
  Partials      399      399           

@DominikB2014 DominikB2014 merged commit 80d55cf into master Apr 7, 2025
43 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/dain-158-conditionally-query-for-different-functions-in-web-vitals branch April 7, 2025 14:36
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
1. add default query for eap (eap does not have transaction.op, but
instead uses span.op)
2. Use `useMetrics` in a few more spots that I missed in
#88693
3. Update `useMetricsSeries` to conditionally fetch eap data
4. Use `opportunity_score(measurements.score.total` if eap is enabled,
otherwise use `total_opportunity_score`
5. Remove several unused fields
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.

2 participants