It is a tool to delete old metrics from Prometheus Pushgateway.
From Pushgateway Non-Goals:
A while ago, we decided to not implement a “timeout” or TTL for pushed metrics because almost all proposed use cases turned out to be anti-patterns we strongly discourage.
$ docker run -it onuryilmaz/prometheus-pushgateway-cleaner:latest --help
Usage of prometheus-pushgateway-cleaner:
-address string
Address of Prometheus Pushgateway
-debug
Set debug log level, the default is false.
-dry-run
Dry run and do not delete the metrics, the default is false
-ttl duration
TTL for clearing the expired metrics, the default is 24 hours. (default 24h0m0s)