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

ref(insights): use http_response_count(5) instead of http_error_count in frontend #88724

Conversation

DominikB2014
Copy link
Contributor

@DominikB2014 DominikB2014 commented Apr 3, 2025

  1. http_error_count is deprecated in span metrics and not available in eap. This PR switches http_error_count to http_response_count(5)

  2. removes usage of old use discover hook in favour of useSpansMetrics which supports the eap toggle.

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

codecov bot commented Apr 3, 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   #88724   +/-   ##
=======================================
  Coverage   87.73%   87.73%           
=======================================
  Files       10055    10055           
  Lines      568709   568701    -8     
  Branches    22324    22323    -1     
=======================================
  Hits       498977   498977           
+ Misses      69353    69345    -8     
  Partials      379      379           

@DominikB2014 DominikB2014 merged commit 56175c2 into master Apr 3, 2025
43 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/dain-160-use-http_response_count5-instead-of-error_rate_count branch April 3, 2025 20:39
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
…unt` in frontend (#88724)

1. `http_error_count` is deprecated in span metrics and not available in
eap. This PR switches `http_error_count` to `http_response_count(5)`

2. removes usage of old use discover hook in favour of `useSpansMetrics`
which supports the eap toggle.
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