-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(error): enhance error logging with tracing integration (#186)
Add structured logging for errors and panics using the tracing crate to improve observability. This change enables better integration with OpenTelemetry for monitoring errors in production services. - Add structured error logging with metadata - Include request context in error logs - Add backtrace information to error spans - Add comprehensive test coverage for logging(although some match the older ones) - Maintain existing error page functionality The logging implementation includes: - Error type and message - Stack traces- Request information (method, path) - Proper span contexts for OpenTelemetry Fixes #160
- Loading branch information
1 parent
aa42134
commit 6f9e4fb
Showing
3 changed files
with
188 additions
and
1 deletion.
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 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