|
|
|
|
|
by renke1
1026 days ago
|
|
A few of my colleagues and I had the silly (?) idea that you don't really need logs anymore. Instead of log messages you just attach span events [0]. You then just log the span title and a link to that span in Jaeger; something like [1]. I've only really tried that in my private project, but it felt pretty good. The UI of Jaeger could be a bit better to support that usage, though. Edit: Actually, those colleagues are doing a talk about that topic. So, if you are in Germany and Hannover area, have a look at [2] and search for "Nie wieder Log-Files!". [0]: https://opentelemetry.io/docs/instrumentation/ruby/manual/#a... [1]: tracing.ts:38 Usecase: Handle Auth
tracing.ts:47 http://localhost:16686/trace/ec7ffb1e23ddbb8dd770a3f08028666b
tracing.ts:38 Adapter: Find Personal Board
tracing.ts:47 http://localhost:16686/trace/e22d342316ab0d7d23230864008e27bc
tracing.ts:38 Adapter: Find Starred Board List
tracing.ts:47 http://localhost:16686/trace/129f89cee26d54cfdc38abea368d9b4e
tracing.ts:38 Adapter: Find Personal Board List
tracing.ts:47 http://localhost:16686/trace/97948127d77501ff0c65a5db21b21b5a
[2]: https://javaforumnord.de/2023/programm/ |
|
This approach isn't possible for a lot of systems that have existing logs they need to bring along, but if you're greenfield enough, I'd recommend it.