Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit makes a few changes related to the query logger used in the adapter. It: 1. Adds query logging for parsed select statements that require fallback (this was missing previously) 2. Adds query logging for parsed select statements that don't *require* fallback but should not be executed against Readyset (this was missing previously) 3. Removes checks in readyset_adapter::backend as to whether log information should be added to the query execution event, deferring deferring to the query logger to determine what information should be logged based on the query logging mode 4. Changes the possible query logging modes to be "disabled", "enabled", and "verbose," where "enabled" logs metrics about both proxied and cached queries but "verbose" includes the query string and query ID as metric labels In addition, this commit updates the query logging mode to "verbose" in the quickstart Docker compose files to ensure that the Grafana dashboards don't break. Release-Note-Core: Fixed an issue where query log metrics were not being emitted for certain proxied queries Change-Id: Iba0f6ab295cb01758e1e26176acf6ecaf3523a7e Reviewed-on: https://gerrit.readyset.name/c/readyset/+/6858 Tested-by: Buildkite CI Reviewed-by: Jason Brown <jason.b@readyset.io>
- Loading branch information
1 parent
fbcec46
commit 7bc9b5b
Showing
10 changed files
with
95 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.