-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
Logging and tracing design and initial implementation for authorities #620
Comments
Example of structured logging/tracing output:
Things to note:
|
https://github.com/timberio/vector ^^ A low-profile logging/metrics/etc sidecar that might be super useful for us to connect to various observability backends |
Super useful and interested to see the design of this! We'll definitely take inspiration for Narwhal as well |
Noting this down as useful: notes about setting up tracing with subscribers and Bunyan etc. to prettify JSON tracing output |
Updated log output from integration tests showing tracing a single transaction across both gateway and authority:
|
…ent) (#706) * Initial observability doc and example of context/structured logging in authority_aggregator * Start logging tx / cert processing in authority.rs * Fix tracing_subscriber initialization to respect RUST_LOG environment var * Add note about enabling logs * Add JSON span logging output by setting SUI_JSON_SPAN_LOGS=1 * Add tx_kind to both gateway side and authority side transaction tags * Cargo clippy * CR feedback esp on docs * Change authors in build files * Add to observability doc
PR has been merged, going to file follow on issues:
|
The goal is to have a design and initial implementation for logging and tracing semantics esp at authorities, but also any client / gateway code. The goals are a system that
The outcome would involve docs and initial code that uses proper context, scoping, keywords in order to achieve the above.
This is for an initial implementation. Subsequent tickets would be created that actualize being able to connect logs traces and metrics to external entities.
The text was updated successfully, but these errors were encountered: