Skip to content

Add query tracker that lets us track queries by table#6093

Merged
zachmargolis merged 5 commits intomainfrom
margolis-query-tracker
Mar 18, 2022
Merged

Add query tracker that lets us track queries by table#6093
zachmargolis merged 5 commits intomainfrom
margolis-query-tracker

Conversation

@zachmargolis
Copy link
Contributor

@zachmargolis zachmargolis commented Mar 18, 2022

Inspired by #6091 (comment)

I didn't apply this to any tests yet, but we should be able to to use this in feature tests or controller tests if we want
I just added one example usage, we can add more specific usages if we want to later

Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

Very cool! I think it'd be a useful way to keep ourselves accountable that an extra query in hot flows should be explicit/intentional.

@zachmargolis zachmargolis merged commit 934804c into main Mar 18, 2022
@zachmargolis zachmargolis deleted the margolis-query-tracker branch March 18, 2022 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants