4 ms·
Sure. If it was a different language, or a different otel library, my opinion would probably be different. I do not think it's realistic to replace logging with
by tptacek 4y ago
Sure. If it was a different language, or a different otel library, my opinion would probably be different. I do not think it's realistic to replace logging with otel in Go, though.
- phillipcarter 4y agoI think it's an inclusive OR here. When logging stabilizes in the Go SDK (which will be a while, perhaps a year) the idea will be that you can keep all your existing logging and then start to add tracing judiciously so they're easily correlated with requests. I think the juice is worth that particular squeeze for more folks at least. From there I would personally advocate for adding more manual traces rather than more logs, but it's understandable if it's a heavier lift to pass context around all the time. The more options the better.
- glenjamin 4y agoFor web-style application code my experience writing Go code says that you totally can stop using logs and just use traces and have just as much visibility into a running process, if not more. For library code or other deployment models I’m not sure - it’s not something I’ve had a need to experiment with