3 ms·
> structured logging should really be tracing given the heavy async + services nowadays I’m a huge huge proponent of tracing but god I wish it wasn’t necessary
by Spivak 5y ago
> structured logging should really be tracing given the heavy async + services nowadays
I’m a huge huge proponent of tracing but god I wish it wasn’t necessary. The inability for most programming languages to serialize and produce a sensible async stack trace is a source of constant pain that tracing bandaids over. The state is right there dammit! There’s one thread, the event order is centrally controlled and serializable, you have all the stack frames, just put them together, don’t make me keep a log just to know what actually happened in a program that isn’t at all random.