apprise-api icon indicating copy to clipboard operation
apprise-api copied to clipboard

add basic prometheus metrics

Open nghduc97 opened this issue 1 year ago • 2 comments

Description:

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

Checklist

  • [x] The code change is tested and works locally.
  • [x] There is no commented out code in this PR.
  • [x] No lint errors (use flake8)
  • [ ] Tests added

nghduc97 avatar May 01 '24 18:05 nghduc97

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

caronc avatar May 02 '24 01:05 caronc

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.

nghduc97 avatar May 02 '24 03:05 nghduc97