-
Notifications
You must be signed in to change notification settings - Fork 56
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
Graphql logging #1746
Graphql logging #1746
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, some minor formatting cleanup would be good.
|
||
async fn unique_layers(&self) -> Vec<String> { | ||
self.graph.unique_layers().map_into().collect() | ||
} | ||
#[instrument(skip(self))] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird blank lines in this file (some places lost the blank line between functions and other have a blank line after the attribute like here)
# Conflicts: # Cargo.lock
from raphtory import Graph | ||
from raphtory.graphql import GraphServer, RaphtoryClient | ||
|
||
# TODO this doesn't work currently due to how we terminate with Tracing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we fixed this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can turn this test back on.
Some(tracer_provider) | ||
} | ||
Err(e) => { | ||
error!("{}", e.to_string()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we just move on if we were told to enable tracing but we couldn't?
This was a lot of work, but I can't help but thinking 90% of these |
What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change? If yes is this documented?
No
How was this patch tested?
Current test suite
Issues
Fixes #1697
Are there any further changes required?