jtrakk

Results 112 comments of jtrakk

If you have a `requirements.txt` for testing, [Dependabot](https://dependabot.com/) can bump your dependency versions and submit a PR for you which can run CI.

I've been trying Eliot in a small project with Trio, and they seem to be working quite well together so far.

Right, my log outputs are currently blocking writes.

Hmm, what should I notice if it's going wrong?

Ah sure enough, the message appears as the child of the action. ```python import json import eliot import trio def json_to_file(x): print(json.dumps(x)) async def do_action(x): with eliot.start_action(action_type="do_action", x=x): await trio.sleep(30)...

The code I posted at the top of this issue is broken and it's too hard to understand. I'm using a separate `@log_async_call`, which is better.

Maybe even pull out some values from the exception's frame locals like https://github.com/cknd/stackprinter and http://sentry.io do? Maybe that's too much.

FYI ["Merging OpenTracing and OpenCensus: A Roadmap to Convergence"](https://medium.com/opentracing/a-roadmap-to-convergence-b074e5815289)

In the meantime there's this page, though it doesn't seem to understand the `L{Action}` format that eliot uses. https://www.pydoc.io/pypi/eliot-1.5.0/autoapi/_action/index.html (and may be unmaintained soon https://github.com/rtfd/pydoc.io/issues/23)

[Birdseye](https://birdseye.readthedocs.io/en/latest/) is really nice to use and might have some ideas for an interface, especially for programs with lots of `@log_call`-decorated functions.