Sign inSign up

gounix/registry-exporter

By gounix

•Updated 8 days ago

fetch docker registry metrics like #images, # tags, image size

Image
0

117

gounix/registry-exporter repository overview

⁠Overview

The registry-exporter deployment queries a local docker registry. It gathers statistics for each image it gathers statistics like image size, total size, number of tags, architecture and os. It works with any docker v2 compatible registry that offers a _catalog api, this includes:

  • CNCF distribution (the v2 docker registry)
  • Harbor
  • Sonatype Nexus
  • Gitea

Most public registries have disabled the _catalog api. With the grafana dashboard it is easy to see which images consumes the most space for example.

⁠Environment variables

The following enviroment variables are supported in the values.yaml:

VariableDescription
REFRESH_SECONDSThe amount of seconds between successive polls of the registry
PORT_NUMBERThe port that is used for publishing the metrics
REGISTRYThe domainname for the local registry to query
SCHEMEthe scheme to contact the registry, one of http or https

⁠Grafana screenshot

Grafana

⁠Container

docker hub⁠

⁠Sources

GitHub⁠

Tag summary

Content type

Image

Digest

sha256:6afef8059…

Size

84.1 MB

Last updated

8 days ago

docker pull gounix/registry-exporter:1.0.0