-
Notifications
You must be signed in to change notification settings - Fork 18
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
Expose a Prometheus /metrics
HTTP endpoint
#9
Comments
Users would like to get the last deployed commit id and the last deployment status. Maybe you could start to expose such kind of metrics:
Note, i'm not sure this metric follows Prometheus good practices... |
Would be good to have the epoch timestamps of when the remotes were last fetched and when the last config update was applied. |
How long the update took, maybe how much memory it consumed as well. I've had builds fail on low memory environments because they tried to build a large package. |
I see it's implemented already https://github.com/nlewo/comin/blob/main/internal/http/http.go#L40 |
Do not hesitate to propose comin metrics you would like to see exposed.
The text was updated successfully, but these errors were encountered: