Skip to content
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

feat: add tracing setup for worker and controller binaries #31

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

lffg
Copy link
Contributor

@lffg lffg commented Apr 12, 2024

No description provided.

@@ -0,0 +1,4 @@
/// Sets up tracing.
pub fn tracing() {
tracing_subscriber::fmt::init();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This setup could become quite involved in the future, that's why I created an external crate to do these kinds of "shared" setup routines.

Eventually we may add more functions to this crate.

Copy link
Member

@lemosep lemosep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@lffg lffg merged commit 537292f into main Apr 12, 2024
3 checks passed
@lffg lffg deleted the feat/tracing branch April 12, 2024 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants