Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add basic prometheus metrics #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nghduc97
Copy link

@nghduc97 nghduc97 commented May 1, 2024

Description:

#143

Checklist

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

@caronc
Copy link
Owner

caronc commented May 2, 2024

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

@nghduc97
Copy link
Author

nghduc97 commented May 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants