{"id":38232675,"url":"https://github.com/onuryilmaz/prometheus-pushgateway-cleaner","last_synced_at":"2026-01-17T01:01:51.114Z","repository":{"id":57658241,"uuid":"322431339","full_name":"onuryilmaz/prometheus-pushgateway-cleaner","owner":"onuryilmaz","description":"A tool to delete old metrics from Prometheus Pushgateway","archived":false,"fork":false,"pushed_at":"2020-12-18T00:07:10.000Z","size":15,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-20T08:21:30.000Z","etag":null,"topics":["prometheus","pushgateway","ttl"],"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/onuryilmaz.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}},"created_at":"2020-12-17T22:50:29.000Z","updated_at":"2023-07-19T07:19:34.000Z","dependencies_parsed_at":"2022-08-25T16:50:11.268Z","dependency_job_id":null,"html_url":"https://github.com/onuryilmaz/prometheus-pushgateway-cleaner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/onuryilmaz/prometheus-pushgateway-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onuryilmaz%2Fprometheus-pushgateway-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onuryilmaz%2Fprometheus-pushgateway-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onuryilmaz%2Fprometheus-pushgateway-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onuryilmaz%2Fprometheus-pushgateway-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onuryilmaz","download_url":"https://codeload.github.com/onuryilmaz/prometheus-pushgateway-cleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onuryilmaz%2Fprometheus-pushgateway-cleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["prometheus","pushgateway","ttl"],"created_at":"2026-01-17T01:01:50.573Z","updated_at":"2026-01-17T01:01:51.087Z","avatar_url":"https://github.com/onuryilmaz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus Pushgateway Cleaner\n# :fire: :hourglass_flowing_sand: :recycle:\n\nIt is a tool to delete old metrics from [Prometheus Pushgateway](https://github.com/prometheus/pushgateway).\n\n## Why?\n\nFrom [Pushgateway Non-Goals](https://github.com/prometheus/pushgateway/blob/master/README.md#non-goals):\n\n\u003e A while ago, we\n[decided to not implement a “timeout” or TTL for pushed metrics](https://github.com/prometheus/pushgateway/issues/19)\nbecause almost all proposed use cases turned out to be anti-patterns we\nstrongly discourage.\n\n## How?\n```\n$ docker run -it onuryilmaz/prometheus-pushgateway-cleaner:latest --help\n\nUsage of prometheus-pushgateway-cleaner:\n  -address string\n        Address of Prometheus Pushgateway\n  -debug\n        Set debug log level, the default is false.\n  -dry-run\n        Dry run and do not delete the metrics, the default is false\n  -ttl duration\n        TTL for clearing the expired metrics, the default is 24 hours. (default 24h0m0s)\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonuryilmaz%2Fprometheus-pushgateway-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonuryilmaz%2Fprometheus-pushgateway-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonuryilmaz%2Fprometheus-pushgateway-cleaner/lists"}