Hey Stranger, long time no speak :-) On 21/03/2019 15:27, Itamar Turner-Trauring wrote:
Python and Twisted's built-in |logging| output a stream of factoids: they’re interesting, but you can’t really tell what’s going on.
* Why is your application slow? * What caused this code path to be chosen? * Why did this error happen?
Standard logging can’t answer these questions.
But with a better model you could understand what and why things happened in your application. You could pinpoint performance bottlenecks, you could understand what happened when, who called what.
That is what Eliot does. |Eliot| is a Python logging system that outputs causal chains of *actions*: actions can spawn other actions, and eventually they either *succeed or fail*. The resulting logs tell you the story of what your software did: what happened, and what caused it.
Have you looked at tools like https://www.jaegertracing.io/? Feels like quite a similar approach to Eliot, and it's be fantastic if Eliot could provide contexts to Jaeger for Twisted applications! cheers, Chris