-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: tracing for structured, context-aware logs (#499)
* feat: use tracing crate instead of log * tracing subscriber in progress * added client_idx as span field and use FILTER env var * manually create spans * initial POC for reloading filter * feat: dynamically reloading filter for logs * feat: filter the log with rumqttd as target by default * feat: consume span and removed unnecessary fields * return text instead of json if logs filter reloaded * feat: removed count in run span and created span for server * feat: tracing * feat: pretty logs * feat: use instrument combinator for attaching span to futures * feat: stop logging run * fix: merge issues * fix: clippy warning * feat: removed unnecessary client_id from log Co-authored-by: Devdutt Shenoi <devdutt@bytebeam.io>
- Loading branch information
Showing
14 changed files
with
282 additions
and
227 deletions.
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
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
Oops, something went wrong.