blitz_api icon indicating copy to clipboard operation
blitz_api copied to clipboard

Add performance monitoring

Open fusion44 opened this issue 2 years ago • 2 comments

Add optional performance monitoring with a solution like pyroscope.

Some Raspiblitz users report high CPU usage of the API.

fusion44 avatar Jun 14 '23 04:06 fusion44

I like the general idea to optimize on performance .. but wouldnt Pyroscope introduce a cloud monitoring of all devices?

rootzoll avatar Jun 17 '23 22:06 rootzoll

The idea is not to enable this by default. Monitoring performance costs performance. As far as I can see there are several backend options for pyroscope including a self hosted server. I have to do more research into all of this as it's only an idea right now.

Maybe there's also a native python monitoring solution that logs data to a file.

fusion44 avatar Jun 18 '23 05:06 fusion44