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 more Prometheus metrics #17531

Open
larsl-net opened this issue Sep 9, 2022 · 0 comments · May be fixed by #21144
Open

Add more Prometheus metrics #17531

larsl-net opened this issue Sep 9, 2022 · 0 comments · May be fixed by #21144
Assignees
Labels
area/metrics kind/requirement New feature or idea on top of harbor

Comments

@larsl-net
Copy link

Is your feature request related to a problem? Please describe.
We want to monitor our Harbor instances with Prometheus, but there are some metrics missing for some checks.

  • Currently, there is no metric with the status of Registries healthy/unhealthy (in our case used for Proxy Cache Projects).
  • Storage consumption of Local Disks (like in the /api/v2.0/systeminfo/volumes API endpoint)

Describe the solution you'd like
A new Metric under the /metrics endpoint with the health status of the Registries.

Example of additional required metrics

harbor_registries_healthy{registry="dockerhub"} 1
harbor_registries_healthy{registry="broken-registry"} 0

harbor_disk_bytes_free 186311114752
harbor_disk_bytes_total 1099511627776
@chlins chlins self-assigned this Sep 13, 2022
@chlins chlins added area/metrics kind/requirement New feature or idea on top of harbor labels Sep 13, 2022
adberger added a commit to adberger/harbor that referenced this issue Nov 6, 2024
@adberger adberger linked a pull request Nov 6, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metrics kind/requirement New feature or idea on top of harbor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants