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(eap): Use RPC to fetch tag values #77510

Merged
merged 11 commits into from
Sep 27, 2024

Conversation

Zylphrex
Copy link
Member

This uses RPC calls to fetch tag values from eap spans.

depends on getsentry/snuba#6304

@Zylphrex Zylphrex requested a review from a team as a code owner September 13, 2024 20:07
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 13, 2024
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.

nit: around referrer name, comments, lgtm otherwise

meta=RequestMeta(
organization_id=organization.id,
cogs_category="performance",
referrer=Referrer.API_SPANS_TAG_KEYS.value,
Copy link
Member

Choose a reason for hiding this comment

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

nit: should we use a different referrer than the usual query so its easier to differentiate

Comment on lines +228 to +232
times_seen=None,
first_seen=None,
last_seen=None,
Copy link
Member

Choose a reason for hiding this comment

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

Are these all None cause its not something we can query yet? if so could we add a TODO comment

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../sentry/api/endpoints/organization_spans_fields.py 87.50% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #77510      +/-   ##
==========================================
+ Coverage   78.08%   78.14%   +0.06%     
==========================================
  Files        6974     6957      -17     
  Lines      309457   308830     -627     
  Branches    50659    50543     -116     
==========================================
- Hits       241631   241344     -287     
+ Misses      61396    61085     -311     
+ Partials     6430     6401      -29     

Base automatically changed from txiao/feat/use-rpc-to-fetch-tag-keys to master September 17, 2024 18:03
@wmak wmak requested review from a team as code owners September 17, 2024 18:03
@wmak wmak self-assigned this Sep 17, 2024
@Zylphrex Zylphrex merged commit a8e4e05 into master Sep 27, 2024
49 of 50 checks passed
@Zylphrex Zylphrex deleted the txiao/feat/use-rpc-to-fetch-tag-values branch September 27, 2024 15:44
Copy link

sentry-io bot commented Sep 27, 2024

Suspect Issues

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

  • ‼️ AssertionError: {'detail': 'Internal Error', 'errorId': None} pytest.runtest.protocol tests/sentry/api/endpoi... View Issue

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

@Zylphrex Zylphrex added the Trigger: Revert Add to a merged PR to revert it (skips CI) label Sep 27, 2024
@getsentry-bot
Copy link
Contributor

PR reverted: bb3cbc3

getsentry-bot added a commit that referenced this pull request Sep 27, 2024
This reverts commit a8e4e05.

Co-authored-by: Zylphrex <10239353+Zylphrex@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Oct 13, 2024
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 Trigger: Revert Add to a merged PR to revert it (skips CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants