blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.37k stars 1.67k forks source link

Add metrics endpoint #13980

Closed IAmKonni closed 3 days ago

IAmKonni commented 3 days ago

I would like Frigate to expose the metrics available in the UI as metrics endpoint. So everyone can monitor CPU usage, GPU usage, counted objects, storage, cameras, etc. via prometheus and grafana.

Describe the solution you'd like Expose all available stats as metrics endpoint (/metrics).

Describe alternatives you've considered Scraping the UI and exposing it on my own.

NickM-27 commented 3 days ago

this already exists https://docs.frigate.video/integrations/api#get-apistats