Closed JulianVolodia closed 3 years ago
Hi,
Thanks for asking!
Eliot supports arbitrary destinations. By default you use a file, but you can do whatever you want with the messages. See https://eliot.readthedocs.io/en/stable/outputting/output.html — instead of printing, as the first example does, you could send messages somewhere else.
However, to get the benefit of Eliot's trace of actions, you'd need to have some way of tying multiple messages together. For Sentry specifically, they have an APM these days (Application Performance Monitoring) which has some functionality similar to Eliot I would guess: https://docs.sentry.io/platforms/python/performance/. It's sampling based, but one option is to sample based on the contents of the message, in which case you could sample only critical messages.
This might address your needs better than Eliot; Eliot tends more logging everything, which depending on your application might or might not be what you want.
Thanks for very fast response :)
Hey,
I am newcomer with 2 ideas. Maybe Eliot already do that?
If that questions are pointless sorry, but You are best knowledge and I would help with development of features if see the usefullness of Eliot in my work.
Best regards.