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

Metrics endpoint #93

Closed
ZoopOTheGoop opened this issue Mar 6, 2024 · 0 comments
Closed

Metrics endpoint #93

ZoopOTheGoop opened this issue Mar 6, 2024 · 0 comments

Comments

@ZoopOTheGoop
Copy link
Contributor

We should add a metrics endpoint that returns something like:

# HELP ubuntu_reportd_requests_total The total number of processed requests
# TYPE ubuntu_reportd_requests_total counter
ubuntu_reportd_requests_total 1234

# HELP ubuntu_reportd_errors_total The total number of errors
# TYPE ubuntu_reportd_errors_total counter
ubuntu_reportd_errors_total 56

# HELP ubuntu_reportd_uptime_seconds The number of seconds the service has been up
# TYPE ubuntu_reportd_uptime_seconds gauge
ubuntu_reportd_uptime_seconds 3600
@sminez sminez closed this as completed Nov 26, 2024
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

No branches or pull requests

2 participants