{"id":18537161,"url":"https://github.com/patrickap/docker-exporter","last_synced_at":"2025-09-21T21:38:25.204Z","repository":{"id":228133897,"uuid":"773150568","full_name":"patrickap/docker-exporter","owner":"patrickap","description":"A Prometheus metrics collector for containerized environments. 🤠","archived":false,"fork":false,"pushed_at":"2025-09-08T22:20:36.000Z","size":264,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-10T20:28:03.178Z","etag":null,"topics":["docker","exporter","metrics","prometheus","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/patrickap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2024-03-16T22:09:22.000Z","updated_at":"2025-09-08T22:20:40.000Z","dependencies_parsed_at":"2024-03-17T08:15:53.075Z","dependency_job_id":"0898372c-6209-4481-8157-b58f95576c0a","html_url":"https://github.com/patrickap/docker-exporter","commit_stats":null,"previous_names":["patrickap/docker-exporter"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/patrickap/docker-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickap%2Fdocker-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickap%2Fdocker-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickap%2Fdocker-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickap%2Fdocker-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickap","download_url":"https://codeload.github.com/patrickap/docker-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickap%2Fdocker-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276312803,"owners_count":25620622,"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","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["docker","exporter","metrics","prometheus","rust"],"created_at":"2024-11-06T19:37:17.033Z","updated_at":"2025-09-21T21:38:25.151Z","avatar_url":"https://github.com/patrickap.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-exporter\n\nA Prometheus metrics collector for Docker, similar to `node-exporter` but designed for containerized environments, offering a simpler alternative to `cadvisor` with lower resource consumption.\n\n## Available metrics\n\n- `docker_exporter_state_running_boolean`\n- `docker_exporter_state_healthy_boolean`\n- `docker_exporter_cpu_utilization_percent`\n- `docker_exporter_memory_usage_bytes`\n- `docker_exporter_memory_limit_bytes`\n- `docker_exporter_memory_utilization_percent`\n- `docker_exporter_block_io_tx_bytes_total`\n- `docker_exporter_block_io_rx_bytes_total`\n- `docker_exporter_network_tx_bytes_total`\n- `docker_exporter_network_rx_bytes_total`\n\n## Getting started\n\nTo get started with Docker-Exporter, follow these steps:\n\n1. Pull the Docker-Exporter image from the official Docker Hub repository and run the container with the specified configurations:\n\n```bash\ndocker run -d \\\n  --name docker-exporter \\\n  --restart always \\\n  -p 9630:9630 \\\n  -v /var/run/docker.sock:/var/run/docker.sock:ro \\\n  patrickap/docker-exporter:latest\n```\n\nAlternatively, you can use Docker Compose:\n\n```yml\nversion: \"3.7\"\n\nservices:\n  docker-exporter:\n    image: patrickap/docker-exporter:latest\n    restart: always\n    ports: 9630:9630\n    volumes:\n      - /var/run/docker.sock:/var/run/docker.sock:ro\n```\n\n2. The metrics are now available at `localhost:9630/metrics`\n\n## Contribution\n\nTo start the local development server, execute `cargo run`. You can access the metrics by navigating to `http://0.0.0.0:9630/metrics` in your browser. To run the tests, use the command `cargo test`. For building and releasing the Docker image, run `just release \u003cpatch|minor|major\u003e`, which will automatically increment the version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickap%2Fdocker-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickap%2Fdocker-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickap%2Fdocker-exporter/lists"}