anomaly / gallagher

The missing toolkit for extending Gallagher Command Centre, featuring a CLI, SQL interface, TUI and a Python idiomatic SDK
https://anomaly.github.io/gallagher/
MIT License
11 stars 2 forks source link

Investigate `logfire` integration at an `httpx` and `sqlalchemy` level #37

Open devraj opened 4 months ago

devraj commented 4 months ago

Is your feature request related to a problem? Please describe. @samuelcolvin and team @pydantic have released logfire which is a log observability tool built on top of pydantic.

It supports usage with httpx and sqlalchemy, this ticket is to request a review of the functionality it provides and see if there's value in integrating it into the library.

Describe the solution you'd like The idea came to me from use cases around using this library for commercial products and that we could benefit from get some observability as the applications scale up.

Key points to consider:

Describe alternatives you've considered NA

Additional context Study the logfile implementation to learn about async use of logging messages with the service without affecting the performance of the framework.