Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reconquest/dockerhub-statsd
https://github.com/reconquest/dockerhub-statsd
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/reconquest/dockerhub-statsd
- Owner: reconquest
- Created: 2020-03-11T21:11:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-11T21:26:57.000Z (over 4 years ago)
- Last Synced: 2024-04-16T00:07:37.937Z (7 months ago)
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dockerhub-statsd
Serves `/metrics` endpoint with prometheus output:
```
dockerhub_image_pull_count{image="myimage"} 12345
```where `myimage` is a docker image and `12345` is number of pulls according to docker hub API
# Usage
* Listen address specified by `LISTEN` environment variable, example: `:80`.
* List of images must be passed as arguments.