4 ms·
otel logging is completely missing from golang for example
by arwineap 3y ago
otel logging is completely missing from golang for example
- bbkane 3y agoI agree this should be there, but I also think in most cases, logs can be completely replaced by otel tracing - see https://www.infoq.com/presentations/event-tracing-monitoring/ https://www.infoq.com/presentations/event-tracing-monitoring...
- arwineap 3y agoThe example presented seems to also log, they just annotated the logs with span data > What we ended up implementing was a little tee inside the o11y library. As well as sending events to Honeycomb, we also converted them to JSON, and wrote them to stdout. That way, after sending to stdout, we then pumped off to our standard log aggregation system. This way, we've got a fallback. If Honeycomb is not working, we can just see our logs normally. We could also send these off to S3 or some other long term storage system if we wanted. I'd like to go a step further, and say that in addition to being worried about honeycomb being down, sometimes you just want to check with kubectl to get an idea what is going on. Our current projects are very log light because of the heavy tracing instrumentation, but it'd be nice to integrate this with the otel paradigms as they were originally intended
- eep_social 3y agotrace spans are structured logs, they just also happen to correlate into a tree, ymmv
- hinkley 3y agoThe silent failures by default.. I hate it. So. Much. Flames. Flames! On the sides of my face. Breath… Heaving breaths.