{"repo":"hairyhenderson/dockerhub_ratelimit_exporter","free":true,"listed":false,"github":"https://github.com/hairyhenderson/dockerhub_ratelimit_exporter","clone":"git clone https://github.com/hairyhenderson/dockerhub_ratelimit_exporter.git","description":"A Prometheus-format exporter to report on DockerHub per-image rate limits","language":"Go","stars":11,"topics":["dockerhub","docker","prometheus-exporter","prometheus","hacktoberfest"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"[![Build][gh-actions-build-image]][gh-actions-build-url] [![Docker Build][gh-actions-docker-image]][gh-actions-docker-url] [![Total Downloads][gh-downloads-image]][gh-downloads-url] [![hairyhenderson/dockerhub ratelimit exporter on DockerHub][dockerhub-image]][dockerhub-url] dockerhub ratelimit exporter A Prometheus-format exporter to report on DockerHub per-image rate limits. Recently, DockerHub has introduced rate limiting for anonymous and free-tier users. This exporter can help Prometheus users track the remaining pulls for certain images. Status/Roadmap This is brand-new, hacked-together over the course of a couple hours. It works, but I'm certain there are bugs. This is currently very thin on features. Some things that are missing: - support for authenticating to DockerHub - support for caching auth tokens on a per-repo basis - exposing a few more general-purpose metrics Usage The image name is provided as a query parameter when querying the exporter, and Prometheus-format metrics are returned, like this: Prometheus Configuration When using Prometheus to scrape the exporter, the image parameter can be provided like this: License The MIT License Copyright (c) 2020 Dave Henderson [gh-actions-build-image]: https://github.com/hairyhenderson/dockerhub ratelimit exporter/workflows/Build/badge.svg [gh-actions-build-url]: https://github.com/hairyhenderson/dockerhub ratelimit exporter/actions?workflow=Build [gh-actions-docker-image]: https://github.com/hairyhenderson/dockerhub r","default_branch":null,"files":null,"tree":[],"storefront":"/r/hairyhenderson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hairyhenderson/dockerhub_ratelimit_exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}