caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
673 stars 61 forks source link

add basic prometheus metrics #188

Open nghduc97 opened 7 months ago

nghduc97 commented 7 months ago

Description:

https://github.com/caronc/apprise-api/issues/143

Checklist

caronc commented 7 months ago

Just curious what is being monitored. Apprise-API has no backend database to collect statistics to be shared through Prometheus.

nghduc97 commented 7 months ago

It can be used to monitor uptime, HTTP traffic/errors like when 400s or 500s status code.

Some other metrics like python GC stats come with the default too, though I don't need it for a program this size.