Skip to content

feat(CapMan): More tsdb and legacy queries with tenant_ids - #45405

Merged
rahul-kumar-saini merged 7 commits into
masterfrom
rahul/feat/even_more_tsdb_tenant_ids
Mar 7, 2023
Merged

feat(CapMan): More tsdb and legacy queries with tenant_ids#45405
rahul-kumar-saini merged 7 commits into
masterfrom
rahul/feat/even_more_tsdb_tenant_ids

Conversation

@rahul-kumar-saini

@rahul-kumar-sainirahul-kumar-saini commented Mar 3, 2023

Copy link
Copy Markdown
Contributor

Overview

  • Added organization_id to more Snuba Requests, specifically targeting tsdb-modelid:300 and tsdb-modelid:100
  • Legacy queries now pass tenant_ids to Snuba as well
  • Removed hardcoded referrer in tenant_ids, moved to populate referrer in query functions
  • More context: feat(CapMan): Pass tenant_ids to Snuba #44788

@github-actionsgithub-actionsBot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 3, 2023
Comment threadsrc/sentry/tsdb/snuba.py Outdated

@JoshFergeJoshFerge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

endpoint and serializer changes look good. would have someone from sns double check utils/snuba.py and can approve!

Comment threadsrc/sentry/api/endpoints/organization_stats.py
Comment threadsrc/sentry/tsdb/snuba.py Outdated
@rahul-kumar-saini
rahul-kumar-saini merged commit 0183b07 into masterMar 7, 2023
@rahul-kumar-saini
rahul-kumar-saini deleted the rahul/feat/even_more_tsdb_tenant_ids branch March 7, 2023 18:41
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 23, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: BackendAutomatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rahul-kumar-saini@JoshFerge@evanh