{"id":15706911,"url":"https://github.com/cirocosta/sample-collect-docker-metrics","last_synced_at":"2026-03-07T12:01:18.150Z","repository":{"id":73883893,"uuid":"142156086","full_name":"cirocosta/sample-collect-docker-metrics","owner":"cirocosta","description":"Example of how to integrate Prometheus, Grafana and Docker Daemon metrics","archived":false,"fork":false,"pushed_at":"2018-07-24T15:20:24.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T19:11:44.612Z","etag":null,"topics":["containers","docker","grafana","metrics","monitoring","prometheus"],"latest_commit_sha":null,"homepage":"https://ops.tips/gists/how-to-collect-docker-daemon-metrics/","language":"Shell","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/cirocosta.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":"2018-07-24T12:34:47.000Z","updated_at":"2022-08-04T09:10:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"efcafa66-1b4d-45ff-9a88-9fc93c9957fe","html_url":"https://github.com/cirocosta/sample-collect-docker-metrics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cirocosta/sample-collect-docker-metrics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-collect-docker-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-collect-docker-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-collect-docker-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-collect-docker-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cirocosta","download_url":"https://codeload.github.com/cirocosta/sample-collect-docker-metrics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-collect-docker-metrics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["containers","docker","grafana","metrics","monitoring","prometheus"],"created_at":"2024-10-03T20:30:54.638Z","updated_at":"2026-03-07T12:01:17.840Z","avatar_url":"https://github.com/cirocosta.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSample Docker daemon metrics collection\u003c/h1\u003e\n\n\u003ch5 align=\"center\"\u003e\n  \u003ca href=\"https://ops.tips/gists/how-to-collect-docker-daemon-metrics/\"\u003e\n    How to collect Docker Daemon Metrics\n  \u003c/a\u003e\n\u003c/h5\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n\nAn example of how to make use of [Prometheus](https://prometheus.io/), [Grafana](https://grafana.com/) and [Docker daemon metrics](https://docs.docker.com/config/thirdparty/prometheus/) to graph Docker daemon statistics.\n\n\u003cbr /\u003e\n\n![Illustration of the Docker metrics collection](https://ops.tips/gists/-/images/docker-daemon-grafana-metrics.png)\n\n\u003cbr /\u003e\n\n### Usage\n\n```sh\nmake  run                 # builds grafana and prometheus \n                          # images and initializes all three containers \n                          # that forms the infra (grafana, prometheus and \n                          # node_exporter).  \n\nmake  update-dashboards   # updates the list of json files that represent\n                          # the dashboards configured in Grafana.\n\n```\n\n### More\n\nSee:\n\n- [Initializing Grafana with preconfigured dashboards](https://ops.tips/blog/initialize-grafana-with-preconfigured-dashboards/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fsample-collect-docker-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirocosta%2Fsample-collect-docker-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fsample-collect-docker-metrics/lists"}