-
Notifications
You must be signed in to change notification settings - Fork 7
feat: Neo4j slow query logger #759
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
Open
aintnostressin
wants to merge
37
commits into
main
Choose a base branch
from
feat/slow-graph-query-logger
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
857255c
slow graph query logger
aintnostressin 9b42ae2
interpolate only if logged
aintnostressin de6c027
add query labels
aintnostressin 47b0a0f
measure row consume time
aintnostressin 2e4bcb1
add comment about execute measure
aintnostressin 67ddad0
merge time
aintnostressin 529f7af
remove txns
aintnostressin 518efc9
Merge branch 'main' into feat/slow-graph-query-logger
aintnostressin 1deaa59
remove redundant to_string()
aintnostressin b7278ce
consistent import path
aintnostressin fb5d900
remove redundant map_err
aintnostressin 05c281c
toml formatting
aintnostressin 96e9782
add config comments
aintnostressin b56c2f9
fix
aintnostressin fbba68d
disable logging in migrations and mock
aintnostressin 90bbb46
reduce visibility
aintnostressin 3a49318
static str instead of String
aintnostressin 4a50103
query module private
aintnostressin 69e1cb5
measure wall clock time
aintnostressin aa71221
log slow queries cypher
aintnostressin baff756
Merge branch 'main' into feat/slow-graph-query-logger
aintnostressin 82caca3
fix clippy PI warning
aintnostressin d920712
fmt
aintnostressin dad6341
extract query label and cypher to vars
aintnostressin ff0ae39
GraphExec -> GraphOps
aintnostressin 7ed22b6
add comment
aintnostressin 5e622c7
dynamic query post stream label
aintnostressin b405147
reused start
aintnostressin e7d36b0
rename config var names
aintnostressin 390f12d
missing default config
aintnostressin a45a4d9
query fn test only
aintnostressin a538b94
consistent cypher logging
aintnostressin d2c12d1
revert label and cypher vars
aintnostressin 8684e08
add TracedGraph unit tests
aintnostressin 0b2272b
Merge branch 'main' into feat/slow-graph-query-logger
aintnostressin a0c798e
chore: fix query.param() indentation
ok300 9dae547
Update nexus-common/src/db/graph/traced.rs
aintnostressin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,11 @@ | ||
| pub mod error; | ||
| pub mod exec; | ||
| pub mod queries; | ||
| mod query; | ||
| pub mod setup; | ||
| mod traced; | ||
|
|
||
| pub use error::{GraphError, GraphResult}; | ||
| pub use query::Query; | ||
| pub use traced::GraphOps; | ||
| pub(crate) use traced::{Graph, TracedGraph}; |
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.