vipyrsec / dragonfly-mainframe

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

Add Prometheus metrics #110

Closed Robin5605 closed 3 months ago

Robin5605 commented 1 year ago

Add a metrics endpoint which can be scraped by Prometheus. The follow metrics can be scraped by Prometheus:

Xithrius commented 6 months ago

I can continue this PR in a new one with prometheus-fastapi-instrumentator and prometheus-client, and then add Grafana to the infra of this org somewhere. Thoughts @Robin5605?

Robin5605 commented 6 months ago

@Xithrius sounds great! I'll be closing this issue then as it's stale.

Robin5605 commented 5 months ago

Hi @Xithrius , I actually think we can just continue work on this one - I feel like working on this again and will be pushing some commits here shortly. Feel free to also push commits and make changes to this branch if you so please. Just didn't want 2 PRs that did essentially the same thing and we've got stuff to work off here already

Robin5605 commented 3 months ago

Closing for now as #257 gives us observability. May open in the future if we want to move away from logfire.