Monitor your Dockerhub Rate-Limits in Prometheus on Port 6969! Nice!
Flag | Environment | Yaml |
---|---|---|
--username=<username> |
GRAFZAHL_USERNAME |
username: <USERNAME> |
--password=<password> |
GRAFZAHL_PASSWORD |
password: <PASSWORD> |
Path: /etc/grafzahl.yaml
or ~/grafzahl.yaml
HELP docker_hub_rate_limit The maximal pulls for this account.
# TYPE docker_hub_rate_limit gauge
docker_hub_rate_limit 0
# HELP docker_hub_rate_limit_remaining The remaining pulls for this account.
# TYPE docker_hub_rate_limit_remaining gauge
docker_hub_rate_limit_remaining 0
- Start the container
docker run --restart=always \ -p 6969:6969 \ -e "GRAFZAHL_PASSWORD=<PASSWORD>" \ -e "GRAFZAHL_USERNAME=<USERNAME>" \ me/grafzahl:1.25.3
- Pet nearby cat.
- Move the binary into
PATH
sudo install grafzahl
- Add the config
vim /etc/grafzahl.yaml
- Run the process
A service for systemd would be welcome
./grafzahl &
- Pet nearby cat nonetheless.
go get -v
go build .
docker build . -t <user>/grafzahl:<version>
docker push <user>/grafzahl:<version>