3 ms·
Curious about the code implemented for logs! Hopefully that's something that can be shared at some point. Also curious if it integrates with `log/slog` :-) C
by caust1c 3y ago
Curious about the code implemented for logs! Hopefully that's something that can be shared at some point. Also curious if it integrates with `log/slog` :-)
Congrats too! As I understand it from stories I've heard from others, migrating to OTel is no easy undertaking.
- bhyolken 3y agoThanks! For logs, we actually use github.com/segmentio/events and just implemented a handler for that library that batches logs and periodically flushes them out to our collector using the underlying protocol buffer interface. We plan on migrating to log/slog soon, and once we do that we'll adapt our handler and can share the code.
- caust1c 3y agoAwesome! Great work and thanks for sharing your experience!