{"id":25391457,"url":"https://github.com/bigouden/dockerhub-limit-exporter","last_synced_at":"2025-10-30T17:31:26.436Z","repository":{"id":127663032,"uuid":"378935204","full_name":"Bigouden/dockerhub-limit-exporter","owner":"Bigouden","description":"DockerHub Limit Prometheus Exporter","archived":false,"fork":false,"pushed_at":"2025-01-20T21:59:20.000Z","size":159,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T22:52:21.577Z","etag":null,"topics":["alerting","devops","docker","metrics","monitoring","observability","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bigouden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-06-21T13:11:57.000Z","updated_at":"2025-01-20T21:59:24.000Z","dependencies_parsed_at":"2025-01-20T22:46:15.521Z","dependency_job_id":"e71dd520-d43b-49a3-832e-390cae82620d","html_url":"https://github.com/Bigouden/dockerhub-limit-exporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bigouden%2Fdockerhub-limit-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bigouden%2Fdockerhub-limit-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bigouden%2Fdockerhub-limit-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bigouden%2Fdockerhub-limit-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bigouden","download_url":"https://codeload.github.com/Bigouden/dockerhub-limit-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239015490,"owners_count":19568274,"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":["alerting","devops","docker","metrics","monitoring","observability","prometheus","prometheus-exporter"],"created_at":"2025-02-15T15:42:55.298Z","updated_at":"2025-10-30T17:31:21.085Z","avatar_url":"https://github.com/Bigouden.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Hub Limit Exporter\n\n## Description\n\nExporter Prometheus des statistiques de récupération d'images sur Docker Hub.\n\n## Variable d'environement\n\n| Variable d'environement           | Description                          | Valeur par défaut        |\n|-----------------------------------|--------------------------------------|--------------------------|\n| DOCKERHUB_LIMIT_EXPORTER_LOGLEVEL | Niveau de verbosité de l'exporter    | INFO                     |\n| DOCKERHUB_LIMIT_EXPORTER_NAME     | Valeur 'job' des métriques remontées | dockerhub-limit-exporter |\n| DOCKERHUB_LIMIT__EXPORTER_PORT    | Port d'écoute de l'exporter          | 8123                     |\n| DOCKERHUB_USERNAME                | Utilisateur Docker Hub               | Vide                     |\n| DOCKERHUB_PASSWORD                | Mot de passe Docker Hub              | Vide                     |\n| HTTP_PROXY                        | Proxy HTTP                           | Vide                     |\n| HTTPS_PROXY                       | Proxy HTTPS                          | Vide                     |\n\n## Format des métriques\n\nLes métriques remontées par l'exporter sont toutes préfixées par la chaine de caractère : **'dockerhub_'**.\n\n\n```bash\n# HELP dockerhub_ratelimit_limit total number of pulls that can be performed within a six hour window\n# TYPE dockerhub_ratelimit_limit gauge\ndockerhub_ratelimit_limit{dockerhub_username=\"bigouden\",job=\"dockerhub-limit-exporter\",ratelimit_limit_interval=\"21600\",ratelimit_remaining_interval=\"21600\"} 200.0\n# HELP dockerhub_ratelimit_remaining number of pulls remaining for the six hour rolling window\n# TYPE dockerhub_ratelimit_remaining gauge\ndockerhub_ratelimit_remaining{dockerhub_username=\"bigouden\",job=\"dockerhub-limit-exporter\",ratelimit_limit_interval=\"21600\",ratelimit_remaining_interval=\"21600\"} 189.0\n```\n\n## Lancement de l'exporter\n\nL'exporter est \"packagé\" sous forme de conteneur Docker.\n\nUne fois le conteneur construit, il peut être lancé comme suit :\n\n`docker run -dit -p 8123:8123 dockerhub-limit-exporter`\n\n## Tableau de bord Grafana\n\nUn tableau de bord Grafana est disponible dans le répertoire **grafana** et permet l'exploitation des métriques remontées par l'exporter.\n\n_Capture d'écran :_\n\n![capture d'écran Grafana](grafana/grafana.png \"Capture d'écran Grafana\")[capture d'écran Grafana](grafana/grafana.png \"Capture d'écran Grafana\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigouden%2Fdockerhub-limit-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigouden%2Fdockerhub-limit-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigouden%2Fdockerhub-limit-exporter/lists"}