{"id":13586047,"url":"https://github.com/viadee/docker-hub-rate-limit-exporter","last_synced_at":"2025-07-09T23:37:12.307Z","repository":{"id":40368223,"uuid":"315318427","full_name":"viadee/docker-hub-rate-limit-exporter","owner":"viadee","description":"Know your limits - Via Prometheus","archived":false,"fork":false,"pushed_at":"2024-04-23T10:13:36.000Z","size":1306,"stargazers_count":40,"open_issues_count":7,"forks_count":14,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-04-23T13:25:31.013Z","etag":null,"topics":["cloud","dockerhub","dockerhub-limits","helm","helm-chart","metrics","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viadee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-23T13:07:30.000Z","updated_at":"2024-08-01T16:32:15.212Z","dependencies_parsed_at":"2024-08-01T16:32:10.550Z","dependency_job_id":"48759e83-a79d-4733-9cb4-b27bdb031dc2","html_url":"https://github.com/viadee/docker-hub-rate-limit-exporter","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/viadee/docker-hub-rate-limit-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viadee%2Fdocker-hub-rate-limit-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viadee%2Fdocker-hub-rate-limit-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viadee%2Fdocker-hub-rate-limit-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viadee%2Fdocker-hub-rate-limit-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viadee","download_url":"https://codeload.github.com/viadee/docker-hub-rate-limit-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viadee%2Fdocker-hub-rate-limit-exporter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505313,"owners_count":23618922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","dockerhub","dockerhub-limits","helm","helm-chart","metrics","prometheus"],"created_at":"2024-08-01T15:05:17.773Z","updated_at":"2025-07-09T23:37:12.238Z","avatar_url":"https://github.com/viadee.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# HELM Chart for docker-hub-rate-limit-exporter\n\n![](teaser.jpg)\n\nThis repository enables Prometheus scraping of dockerhub rate limits by providing a ready to use docker image and helm chart.\n\nYou can find more background information in this blog post: https://blog.viadee.de/en/monitoring-the-docker-hub-rate-limit-with-prometheus\n\nNote: The content of this repository is based on the work done by gitlab as described in their [blogpost](https://about.gitlab.com/blog/2020/11/18/docker-hub-rate-limit-monitoring/). The original source of the Python script can be found [here](https://gitlab.com/gitlab-com/marketing/corporate_marketing/developer-evangelism/code/docker-hub-limit-exporter).\n\n## Upgrade from 0.2.x to 0.3.0\n\nIn 0.3.0 the config path for supplying the dockerhub credentials has been changed. If you monitor authenticated requests and you want to update to 0.3.0, then you have to change `config.dockerhubUsername` and `config.dockerhubPassword` to `config.dockerhub.username` and `config.dockerhub.password`.  \n\n## How to install the chart\n\nThe helm chart can be installed through a helm chart repository hosted on a github page in this repository. To install follow the next steps:\n\n1. run `helm repo add viadee https://viadee.github.io/docker-hub-rate-limit-exporter`\n2. run `helm install \u003crelease-name\u003e viadee/docker-hub-rate-limit-exporter`\n\n## How to configure your docker credentials\n\nIf your kubernetes cluster does not authenticate with dockerhub you don't need to do anything here. However, if it does, you need to configure the crendetials with helm values. This is because the docker-hub-rate-limit-exporter does not use the dockerhub account assosiated with the docker context of your kubernetes-cluster. You can configure it to do so by following the steps below:\n\n1. Create a helm value file as per the example in this repository (see: chart/values.yaml)\n2. Fill in the variables `config.dockerhub.username` and `config.dockerhub.password`. It is recommended to use a dockerhub access token for the password.\n3. Run `helm upgrade \u003crelease name\u003e viadee/docker-hub-rate-limit-exporter --install --namespace=\u003cdesired namespace\u003e -f \u003cname of value file\u003e`\n\n## How to tell Prometheus to scrape the metrics\n\nWe recommend you to use the Prometheus kubernetes operator to run Prometheus in your cluster (see: https://github.com/prometheus-operator/prometheus-operator). If you run the operator you can create a `ServiceMonitor` resource to tell Prometheus how to scrape the docker-hub-rate-limit-exporter. To do so follow the steps below:\n\n1. Create a helm value file as per the example in this repository or use the value file from above (see: chart/values.yaml)\n2. Set the variable `serviceMonitor.enabled` to true\n3. Depending on the configuration of your Prometheus Operator you might need to configure the `serviceMonitor.additionalLabels` section to tell Prometheus to scrape from this `ServiceMonitor` resource.\n4. Alternatively, you might have configured the Prometheus Operator to consider all `ServiceMonitors` in a specific namespace. In that case you can set the `serviceMonitor.namespace` option to deploy the `ServiceMonitor` resource in that namespace.\n5. Run `helm upgrade \u003crelease name\u003e viadee/docker-hub-rate-limit-exporter --install --namespace=\u003cdesired namespace\u003e -f \u003cname of value file\u003e`\n\nIf you are not using the Prometheus kubernetes operator you would need to configure Prometheus manually to scrape the metrics.\n\n## Collaboration\n\nThis helm chart was build by viadee Unternehmensberatung AG. If you are interested to find out what else we are doing, check out our website: https://www.viadee.de/en/solutions/cloud\n\nIf you have any feedback, ideas or extensions feel free to reach out and create a GitHub issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviadee%2Fdocker-hub-rate-limit-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviadee%2Fdocker-hub-rate-limit-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviadee%2Fdocker-hub-rate-limit-exporter/lists"}