-
Notifications
You must be signed in to change notification settings - Fork 33
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
Ensure all data plane components in the path of requests output stack traces for 500 errors #442
Comments
Authorino uses zap for structured logging. More details about how it's configured in https://docs.kuadrant.io/authorino/docs/user-guides/observability/#log-levels-and-log-modes example log output
|
Limitador uses https://docs.rs/tracing-log/latest/tracing_log/ ("Adapters for connecting unstructured log records from the log crate into the tracing ecosystem") Logging is not structured at this time. As limitador compiles to a binary, stacktraces will not be 'proper' as symbols are not included in production images. Example log output from limitador when something fails:
|
Limitador recently switched to tokio-tracing for logging in Kuadrant/limitador#250. It is a framework to collect structured info, so it should not be hard to structure log in any format you want. |
wasm-shim is loaded as a container image inside envoy, so any logs from the wasm-shim are output in the envoy logs.
Example of log output in envoy
log messages from wasm modules are proxied as strings, so you wouldn't get any structured logging in enovys log output |
I'm closing this out with the information given. |
WHAT:
Ensure all data plane components in the path of requests (authorino, limitador, wasm-shim) output stack traces for 500 errors when there is a server error originating from them
The text was updated successfully, but these errors were encountered: