Home / Companies / Sysdig / Blog / Post Details
Content Deep Dive

How to monitor Harbor registry with Prometheus metrics

Blog post from Sysdig

Post Details
Company
Date Published
Author
Jorge Salamero Sanz
Word Count
968
Language
English
Hacker News Points
-
Summary

The blog post by Jorge Salamero Sanz provides a guide on how to monitor the Harbor container registry using Prometheus metrics. Harbor, an open-source container registry developed by VMware and now under the CNCF umbrella, offers features like RBAC, replication, and image scanning, making it a suitable choice for self-hosted environments. However, self-hosting requires maintaining the service's availability, health, and resource usage. Since Harbor doesn't natively expose Prometheus metrics, Max Cai developed a Prometheus exporter that queries the Harbor API to generate useful metrics, simplifying the integration process for users deploying in Kubernetes. The blog details the configuration of this exporter and suggests using Sysdig's out-of-the-box Harbor dashboard or other tools like Grafana to monitor various metrics, including Harbor health, storage usage, projects, quotas, and replication status. The post highlights the importance of monitoring these metrics to ensure the smooth operation of Harbor registries and suggests leveraging Sysdig's Secure DevOps Platform for enhanced container and Kubernetes environment monitoring.