{"id":15027556,"url":"https://github.com/metrixio/docker","last_synced_at":"2026-03-14T20:19:44.515Z","repository":{"id":65126487,"uuid":"581665733","full_name":"metrixio/docker","owner":"metrixio","description":"This tool lets you easily gather data about downloads, stars, and followers from Docker. It works with Prometheus and Grafana to collect data.","archived":false,"fork":false,"pushed_at":"2022-12-26T22:04:54.000Z","size":1551,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T20:29:17.301Z","etag":null,"topics":["collector","grafana","metrics","php81","prometheus","prometheus-metrics","roadrunner","spiral-framework"],"latest_commit_sha":null,"homepage":"https://dashboard.metrixio.dev/","language":"PHP","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/metrixio.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}},"created_at":"2022-12-23T22:09:48.000Z","updated_at":"2022-12-28T08:29:53.000Z","dependencies_parsed_at":"2023-01-03T09:17:46.801Z","dependency_job_id":null,"html_url":"https://github.com/metrixio/docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metrixio%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metrixio%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metrixio%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metrixio%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metrixio","download_url":"https://codeload.github.com/metrixio/docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243330319,"owners_count":20274039,"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":["collector","grafana","metrics","php81","prometheus","prometheus-metrics","roadrunner","spiral-framework"],"created_at":"2024-09-24T20:06:40.179Z","updated_at":"2025-12-25T20:58:05.608Z","avatar_url":"https://github.com/metrixio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker metrics collector\n\n\u003ca href=\"https://packagist.org/packages/metrixio/docker\"\u003e\u003cimg src=\"https://poser.pugx.org/metrixio/docker/require/php\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/metrixio/docker\"\u003e\u003cimg src=\"https://poser.pugx.org/metrixio/docker/version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/metrixio/docker/actions\"\u003e\u003cimg src=\"https://github.com/metrixio/docker/actions/workflows/docker-image.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/metrixio/docker\"\u003e\u003cimg src=\"https://poser.pugx.org/metrixio/docker/downloads\"\u003e\u003c/a\u003e\n\n![docker](https://user-images.githubusercontent.com/773481/209433247-decbb4f6-e722-4862-8063-d4e4f0bf3c29.png)\n\n\nThis tool lets you easily gather data about downloads, stars, and followers from Docker Hub. \n\nIt works with Prometheus and Grafana to collect data from Docker, store it in Prometheus, and create visualizations with Grafana. You can use Grafana to customize the data you collect and create dashboards that fit your needs.\n\nWe hope you find it helpful!\n\n## Dashboard\n\n![image](https://user-images.githubusercontent.com/773481/209438291-a887500d-7425-4f95-88db-f05261d728e6.png)\n\n## Usage\n\nCheck out the documentation in the [dashboard](https://github.com/metrixio/dashboard) repository. That should give you all the details you need to get going.\n\n```dotenv\n# Docker repository names to follow (comma separated)\nDOCKER_REPOSITORIES= ...\n```\n\n### Docker\n\n```yaml\nversion: \"3.7\"\n\nservices:\n  docker-metrics:\n    image: ghcr.io/metrixio/docker:latest\n    environment:\n        DOCKER_REPOSITORIES: ...\n    restart: on-failure\n\n  prometheus:\n    image: prom/prometheus\n    volumes:\n      - ./runtime/prometheus:/prometheus\n    restart: always\n\n  grafana:\n    image: grafana/grafana\n    depends_on:\n      - prometheus\n    ports:\n      - 3000:3000\n    volumes:\n      - ./runtime/grafana:/var/lib/grafana\n    restart: always\n```\n\n### Local server\n\n```bash\ncomposer create-project metrixio/docker\n```\n\nDefine the repositories you want to track in `.env` file\n\n```dotenv\nDOCKER_REPOSITORIES=spiral/roadrunner,...\n```\n\nOnce the project is installed and configured you can start application server:\n\n```bash\n./rr serve\n```\n\nMetrics will be available on http://127.0.0.1:2112.\n\n\u003e **Note**:\n\u003e To fix unable to open metrics page, change metrics address in RoadRunner config file to `127.0.0.1:2112`.\n\n-----\n\nThe package is built with some of the best tools out there for PHP. It's powered by [Spiral Framework](https://github.com/spiral/framework/), which makes it super fast and efficient, and it uses [RoadRunner](https://github.com/roadrunner-server/roadrunner) as the server, which is a really great tool for collecting metrics data for Prometheus.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetrixio%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetrixio%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetrixio%2Fdocker/lists"}