{"id":15902822,"url":"https://github.com/erikh/squeegee","last_synced_at":"2025-04-02T20:14:08.017Z","repository":{"id":145967258,"uuid":"360836353","full_name":"erikh/squeegee","owner":"erikh","description":"Scrape URLs, parse them and expose them as prometheus metrics","archived":false,"fork":false,"pushed_at":"2021-04-23T09:48:22.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-23T08:14:38.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erikh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2021-04-23T09:46:10.000Z","updated_at":"2024-06-19T12:29:23.772Z","dependencies_parsed_at":null,"dependency_job_id":"928415a3-7805-48ce-aa28-ec5edf8875e4","html_url":"https://github.com/erikh/squeegee","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fsqueegee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fsqueegee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fsqueegee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fsqueegee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erikh","download_url":"https://codeload.github.com/erikh/squeegee/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246884767,"owners_count":20849554,"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":[],"created_at":"2024-10-06T12:00:20.059Z","updated_at":"2025-04-02T20:14:07.986Z","avatar_url":"https://github.com/erikh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Squeegee: so I scrape when you scrape (prometheus)\n\nThis is a simple tool to:\n\n- Scrape JSON endpoints according to (get excited) a YAML syntax\n- Parse them with [jsonquery](https://github.com/antchfx/jsonquery)\n- Shove them into a prometheus gauge\n- Serve that over port 8000\n\nThat's it, folks.\n\n## Syntax\n\nThe syntax is simple, here's a complete example:\n\n```yaml\n---\nmetrics:\n  watchers_count:\n    url: https://api.github.com/repos/erikh/tftest\n    headers:\n      Authorization: \"bearer \u003ctoken\u003e\"\n    query: /watchers_count\n    interval: 1s\n```\n\nThis will poll the watchers count for [erikh/tftest](https://github.com/erikh/tftest) and expose it as a prometheus metric called `watchers_count` for the scraped host.\n\n## License\n\nMIT\n\n## Author\n\nErik Hollensbe \u003cgithub@hollensbe.org\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikh%2Fsqueegee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferikh%2Fsqueegee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikh%2Fsqueegee/lists"}