Skip to content

feat(rpc): Add meta to the stats response#83538

Merged
wmak merged 8 commits into
masterfrom
wmak/feat/add-meta-to-rpc-stats-response
Jan 27, 2025
Merged

feat(rpc): Add meta to the stats response#83538
wmak merged 8 commits into
masterfrom
wmak/feat/add-meta-to-rpc-stats-response

Conversation

@wmak

@wmak wmak commented Jan 15, 2025

Copy link
Copy Markdown
Member

- Missed adding stats to the stats responses
- TODO: need to update top_events after
  #83446 merges
- Fixed a bug where count_unique was the wrong type
@wmak wmak requested a review from a team January 15, 2025 21:28
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 15, 2025
@codecov

codecov Bot commented Jan 15, 2025

Copy link
Copy Markdown

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   #83538    +/-   ##
========================================
  Coverage   87.55%   87.56%            
========================================
  Files        9543     9546     +3     
  Lines      541002   541254   +252     
  Branches    21290    21290            
========================================
+ Hits       473679   473939   +260     
+ Misses      66968    66960     -8     
  Partials      355      355            

@Zylphrex Zylphrex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Mainly about the anomaly detection test but I'm pretty sure that feature has been removed.

Comment thread src/sentry/api/endpoints/organization_events_stats.py Outdated
Comment thread src/sentry/snuba/spans_rpc.py
Comment thread tests/sentry/seer/anomaly_detection/test_store_data.py
@wmak wmak merged commit 66700e8 into master Jan 27, 2025
@wmak wmak deleted the wmak/feat/add-meta-to-rpc-stats-response branch January 27, 2025 19:19
@sentry

sentry Bot commented Jan 28, 2025

Copy link
Copy Markdown
Contributor

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ TypeError: must be real number, not str /api/0/organizations/{organization_id_or_slug}/... View Issue

Did you find this useful? React with a 👍 or 👎

andrewshie-sentry pushed a commit that referenced this pull request Jan 29, 2025
- Missed adding stats to the stats responses
- Going to treat the rpc response as if transform alias is always on
- TODO: need to update top_events after
#83446 merges
- Fixed a bug where count_unique was the wrong type
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 13, 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