{"id":13587983,"url":"https://github.com/bvis/docker-prometheus-swarm","last_synced_at":"2025-05-07T00:06:07.202Z","repository":{"id":149012770,"uuid":"70160195","full_name":"bvis/docker-prometheus-swarm","owner":"bvis","description":"Sample prometheus that can be used as a sample to get Swarm cluster metrics","archived":false,"fork":false,"pushed_at":"2017-08-30T10:47:46.000Z","size":18,"stargazers_count":233,"open_issues_count":3,"forks_count":89,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-05-07T00:05:35.728Z","etag":null,"topics":["docker-daemon","docker-engine-metrics","docker-swarm","grafana","prometheus"],"latest_commit_sha":null,"homepage":null,"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/bvis.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}},"created_at":"2016-10-06T14:10:15.000Z","updated_at":"2025-04-13T21:48:43.000Z","dependencies_parsed_at":"2023-08-14T07:31:45.419Z","dependency_job_id":null,"html_url":"https://github.com/bvis/docker-prometheus-swarm","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvis%2Fdocker-prometheus-swarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvis%2Fdocker-prometheus-swarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvis%2Fdocker-prometheus-swarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvis%2Fdocker-prometheus-swarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bvis","download_url":"https://codeload.github.com/bvis/docker-prometheus-swarm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788521,"owners_count":21804285,"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-daemon","docker-engine-metrics","docker-swarm","grafana","prometheus"],"created_at":"2024-08-01T15:06:27.216Z","updated_at":"2025-05-07T00:06:07.168Z","avatar_url":"https://github.com/bvis.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Prometheus Swarm\n\nA sample image that can be used as a base for collecting Swarm mode metrics in Prometheus\n\n## How to use it\n\nYou can use the provided `docker-compose.yml` file as an example. You can deploy the full stack with the command:\n\n```bash\ndocker stack deploy --compose-file docker-compose.yml monitoring\n```\n\nThe grafana by default is exposed in the 3000 port and the credentials are admin/admin, be sure you use something different in your deploys.\n\nOnce everything is running you just need to connect to grafana and import the [Docker Swarm \u0026 Container Overview](https://grafana.net/dashboards/609)\n\nIn case you don't have an Elasticsearch instance with logs and errors you could provide an invalid configuration or you could launch the sample stack with ELK.\n\n```bash\ndocker stack deploy --compose-file docker-compose.logging.yml logging\n```\n\nBe patient, some services can take some minutes to start.\nThis stack sample is using old versions of Elasticsearch and Kibana intentionally for simplify the configuration.\n\n### Docker Engine Metrics\nIn case you have activated the metrics endpoint in your docker swarm cluster you could import the [Docker Engine Metrics](https://grafana.net/dashboards/1229) dashboard as well, which offers complementary data about the docker daemon itself.\n\nMore info available about this dashboard and its configuration in this post [Docker Daemon Metrics in Prometheus](https://medium.com/@basilio.vera/docker-swarm-metrics-in-prometheus-e02a6a5745a#.ei8n7eykb)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvis%2Fdocker-prometheus-swarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbvis%2Fdocker-prometheus-swarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvis%2Fdocker-prometheus-swarm/lists"}