vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
5 stars 1 forks source link

Deploy logfire for observability #250

Closed Robin5605 closed 4 months ago

Robin5605 commented 4 months ago

The team behind Pydantic has made a new observability solution, logfire, and I think this would be great for us to try out. It offers both logging and metrics, so we can both view logs from Mainframe and also metrics such as packages ingested, packages failed, malicious packages, etc... It also allows us to view SQL queries and their durations and set up alerts.

Some features Logfire provides that I think would be of particular use to us:

Compared to similar products like Prometheu and Loki, Logfire provides an all-in-one solution that focuses on simplicity, rather than customization options. It has all the features we need for observability, and will allow us to get it set up and maintained easily.

One potential point of contention is that their dashboard is proprietary, and the way it's marketed implies that there are very little restrictions and is completely free, but only because it's in beta, and that the Logfire team may start adding restrictions and move to a paid model. While I could argue that it may be something that's worth paying for, because Logfire also integrates with OpenTelemetry, we can use other tools and dashboards in the future if we need to.

import-pandas-as-numpy commented 4 months ago

Go for it-- I don't have much to say in this regard except that I think we're going to regret this decision.