Effect CommunityEC
Effect Community3y ago
22 replies
Sly

Collaboration on Best Practices for Observability and Logging in Effect Applications

Hello Effecticians,

Let's discuss observability and logging in Effect applications, as no one has yet started this conversation. I have a few questions to explore:

Logging setups and approaches: How do you handle logging, especially when interacting with other systems like incoming/outgoing requests? Any best practices or guidelines for log placement?

Handling JSON data in logs: Since the logger doesn't accept JSON, how do you manage it? Do you stringify or extract specific values before logging?

Otel setup: Has anyone tried the "new effect" version shared by Johannes? Can you share insights or tips on setting it up?

Let's collaborate to enhance our understanding and shape best practices for observability and logging in Effect applications. Then that's something we could contribute to the docs :). Looking forward to your input!
Was this page helpful?