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

fix(eap): Handle nans in other timeseries for EAP #82131

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

Zylphrex
Copy link
Member

This fixes the nans in the other timeseries for EAP when some numeric attribute does not exist for a time bucket, the avg aggregate will produce a nan. It does not fix it for the spans indexed dataset because the query there is actually wrong and treats entries without the attribute as 0. It also does not fix it for the rpc calls because rpc calls are failing with a division by 0 error.

This fixes the nans in the other timeseries for EAP when some numeric attribute
does not exist for a time bucket, the avg aggregate will produce a nan. It does
not fix it for the spans indexed dataset because the query there is actually
wrong and treats entries without the attribute as 0. It also does not fix it for
the rpc calls because rpc calls are failing with a division by 0 error.
@Zylphrex Zylphrex requested a review from a team as a code owner December 15, 2024 23:30
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 15, 2024
Copy link

codecov bot commented Dec 15, 2024

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   #82131      +/-   ##
==========================================
+ Coverage   80.28%   80.37%   +0.08%     
==========================================
  Files        7506     7277     -229     
  Lines      331637   321496   -10141     
  Branches    20966    20966              
==========================================
- Hits       266252   258398    -7854     
+ Misses      64977    62690    -2287     
  Partials      408      408              

Copy link
Member

@wmak wmak left a comment

Choose a reason for hiding this comment

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

lgtm, talking to sns right now about the division by 0

@Zylphrex Zylphrex merged commit 11e7079 into master Dec 17, 2024
50 checks passed
@Zylphrex Zylphrex deleted the txiao/fix/handle-nans-in-other-timeseries-for-eap branch December 17, 2024 14:30
evanh pushed a commit that referenced this pull request Dec 17, 2024
This fixes the nans in the other timeseries for EAP when some numeric
attribute does not exist for a time bucket, the avg aggregate will
produce a nan. It does not fix it for the spans indexed dataset because
the query there is actually wrong and treats entries without the
attribute as 0. It also does not fix it for the rpc calls because rpc
calls are failing with a division by 0 error.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants