{"id":17617506,"url":"https://github.com/gowizzard/mobyspulse","last_synced_at":"2026-02-09T14:33:06.312Z","repository":{"id":232341299,"uuid":"784096591","full_name":"gowizzard/mobyspulse","owner":"gowizzard","description":"An little prometheus exporter to check the restarts of the cotnainers.","archived":false,"fork":false,"pushed_at":"2025-01-16T15:47:49.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T19:26:13.427Z","etag":null,"topics":["docker","go","moby","prometheus","restarts","unixsocket"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gowizzard.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-09T07:18:10.000Z","updated_at":"2025-01-16T15:47:43.000Z","dependencies_parsed_at":"2024-06-19T14:34:26.121Z","dependency_job_id":"298775c8-ff3d-44bc-8c27-f4ab4fd3be8d","html_url":"https://github.com/gowizzard/mobyspulse","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":0.04878048780487809,"last_synced_commit":"5f5cdfa5b4ff03c58b6dfa3bf8090d62213cf85f"},"previous_names":["gowizzard/mobyspulse"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/gowizzard/mobyspulse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowizzard%2Fmobyspulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowizzard%2Fmobyspulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowizzard%2Fmobyspulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowizzard%2Fmobyspulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gowizzard","download_url":"https://codeload.github.com/gowizzard/mobyspulse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowizzard%2Fmobyspulse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264781134,"owners_count":23662794,"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":["docker","go","moby","prometheus","restarts","unixsocket"],"created_at":"2024-10-22T19:14:13.993Z","updated_at":"2026-02-09T14:33:01.280Z","avatar_url":"https://github.com/gowizzard.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\n\u003cimg src=\"https://github.com/gowizzard/mobyspulse/assets/30717818/4e6286f2-eec3-416c-ade4-1819f331ae49\" alt=\"Moby's Pulse\" width=\"250\" style=\"margin:50px 0;\"\u003e\n\n# Moby's Pulse\n\n[![Go Test](https://github.com/gowizzard/mobyspulse/actions/workflows/go-test.yml/badge.svg)](https://github.com/gowizzard/mobyspulse/actions/workflows/go-test.yml) [![Docker Test](https://github.com/gowizzard/mobyspulse/actions/workflows/docker-test.yml/badge.svg)](https://github.com/gowizzard/mobyspulse/actions/workflows/docker-test.yml) [![Docker Build](https://github.com/gowizzard/mobyspulse/actions/workflows/docker-build.yml/badge.svg)](https://github.com/gowizzard/mobyspulse/actions/workflows/docker-build.yml) [![Pull Request Labels](https://github.com/gowizzard/mobyspulse/actions/workflows/pull-request-labels.yml/badge.svg)](https://github.com/gowizzard/mobyspulse/actions/workflows/pull-request-labels.yml)\n\nA little prometheus exporter to get the restarts of containers, with multiple attributes to get specific container information.\n\n\u003c/div\u003e\n\n## Installation\n\nThe easiest way to install Moby's Pulse is to use the provided Docker image. You can pull the image from the GitHub Container Registry:\n\n```bash\ndocker pull ghcr.io/gowizzard/mobyspulse:latest\n```\n\n## Usage\n\nTo start the exporter, you can use the following docker compose file:\n\n```yaml\nservices:\n    mobyspulse:\n        container_name: mobyspulse\n        environment:\n            - BASIC_AUTH_USERNAME=moby\n            - BASIC_AUTH_PASSWORD=pulse\n        volumes:\n            - /var/run/docker.sock:/var/run/docker.sock\n        ports:\n            - \"3000:3000\"\n        image: ghcr.io/gowizzard/mobyspulse:latest\n```\n\nIf you want to use the exporter without basic auth, you can remove the environment variables. The exporter will be available on port 3000.\n\n### Metrics\n\nThe exporter provides the following metrics:\n\n```text\n# Moby's Pulse - Docker metrics exporter for Prometheus.\n# This is a custom exporter for Docker metrics. Your system running Docker version \"27.4.0\" and API version \"1.47\" is being monitored.\ncontainer_restart_count{id=\"d21881ca074683ed47467bd952b4a1c008c59d0d70ef9686641c9cff0257a733\",name=\"mobyspulse\",image=\"ghcr.io/gowizzard/mobyspulse:latest\",status=\"running\",health=\"healthy\",created=\"1736067482\",started_at=\"1736067482\"} 0\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowizzard%2Fmobyspulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgowizzard%2Fmobyspulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowizzard%2Fmobyspulse/lists"}