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

Removed cardinality limiting from indexer #67535

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

xurui-c
Copy link
Member

@xurui-c xurui-c commented Mar 22, 2024

Relay already applies cardinality limits, so we can safely remove cardinality limiting from the indexer

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 22, 2024
@xurui-c xurui-c force-pushed the rachel/removeCardinalityLimiter branch from b48e647 to 4ec40f1 Compare March 22, 2024 20:12
@xurui-c xurui-c marked this pull request as ready for review March 22, 2024 20:44
@xurui-c xurui-c requested a review from a team as a code owner March 22, 2024 20:44
@john-z-yang
Copy link
Member

Do we still need cardinality.py around? Could we remove the file as well?

@ayirr7
Copy link
Member

ayirr7 commented Mar 25, 2024

Do we still need cardinality.py around? Could we remove the file as well?

Agreed. Do we still need the entrypoints in cardinality.py? If we can verify that the code in the file is no longer used, let's refactor and remove the file.

@ayirr7
Copy link
Member

ayirr7 commented Mar 25, 2024

Cool, maybe let's test this locally to verify that things are working before. Let's test end to end, locally, that metrics are successfully ingested and queryable, by running the indexer and relevant Snuba consumers and ensure we see all metric types (dist, set, gauge, counter) in both Postgres and Clickhouse.

Copy link
Member

@john-z-yang john-z-yang left a comment

Choose a reason for hiding this comment

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

LGTM

@xurui-c xurui-c merged commit 14f37b3 into master Mar 27, 2024
49 checks passed
@xurui-c xurui-c deleted the rachel/removeCardinalityLimiter branch March 27, 2024 18:56
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants