Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itamarst/eliot
Eliot: the logging system that tells you *why* it happened
https://github.com/itamarst/eliot
asyncio causality causality-analysis causation dask elasticsearch journald logging logging-library numpy python scientific-computing tracing twisted
Last synced: 24 days ago
JSON representation
Eliot: the logging system that tells you *why* it happened
- Host: GitHub
- URL: https://github.com/itamarst/eliot
- Owner: itamarst
- License: apache-2.0
- Created: 2014-04-09T15:12:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T18:47:28.000Z (5 months ago)
- Last Synced: 2024-08-04T04:05:29.674Z (3 months ago)
- Topics: asyncio, causality, causality-analysis, causation, dask, elasticsearch, journald, logging, logging-library, numpy, python, scientific-computing, tracing, twisted
- Language: Python
- Homepage: https://eliot.readthedocs.io
- Size: 1.91 MB
- Stars: 1,096
- Watchers: 39
- Forks: 65
- Open Issues: 119
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Eliot: Logging that tells you *why* it happened
================================================Python's built-in ``logging`` and other similar systems 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.Eliot supports a range of use cases and 3rd party libraries:
* Logging within a single process.
* Causal tracing across a distributed system.
* Scientific computing, with `built-in support for NumPy and Dask `_.
* `Asyncio and Trio coroutines `_ and the `Twisted networking framework `_.Eliot is only used to generate your logs; you will might need tools like Logstash and ElasticSearch to aggregate and store logs if you are using multiple processes across multiple machines.
Eliot supports Python 3.8-3.12, as well as PyPy3.
It is maintained by Itamar Turner-Trauring, and released under the Apache 2.0 License.* `Read the documentation `_.
* Download from `PyPI`_ or `conda-forge `_.
* Need help or have any questions? `File an issue `_ on GitHub.
* **Commercial support** is available from `Python⇒Speed `_.Testimonials
------------"Eliot has made tracking down causes of failure (in complex external integrations and internal uses) tremendously easier. Our errors are logged to Sentry with the Eliot task UUID. That means we can go from a Sentry notification to a high-level trace of operations—with important metadata at each operation—in a few seconds. We immediately know which user did what in which part of the system."
—Jonathan Jacobs
.. _Github: https://github.com/itamarst/eliot
.. _PyPI: https://pypi.python.org/pypi/eliot