-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Selectable db query performance logging (#476)
* feat: make tracing subscriber reloadable * feat: add InspectionSettings type * feat: add 'GET health/inspection' endpoint * fix: simplify mutability for inspection settings * feat: add inspectionable query method in state fix: use async mutex for db inspection settings * feat: add inspectable query and query_one methods for EventDb fix: refactor db settings into EventDb * feat(wip): substitute tokio::Client::query and query_one calls use EventDb::query and EventDb::query_one methods * feat: all endpoint queries can be inspected * fix: update project dictionary * fix: implement poem_openapi param traits on query arguments * feat: add EventDb::query and EventDb::modify methods * feat: use EventDb::modify for INSERT, UPDATE, DELETE operations * feat: add stringzilla to crate dependencies * feat: add function to determine if a statement is a query operation * chore: update project dictionary * fix: improve is_query_stmt function * fix: inspect statement to query or modify the DB * fix: update openapi response types, add missing docs * fix: update flutter generated code * try * fix * try * try * try * set deep query inspection to false * refactor DeepQueryInspectionFlag * wip * refactor * split OpenAI definition of LogLevel and DeepQueryInspectionFlag structs from the original one. * fix * wip * fix: only print response data when its code is 200 * chore: cleanup debugging code --------- Co-authored-by: Steven Johnson <[email protected]> Co-authored-by: Mr-Leshiy <[email protected]>
- Loading branch information
1 parent
c8427e5
commit 4e1af1b
Showing
31 changed files
with
710 additions
and
181 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
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.