{"id":15952608,"url":"https://github.com/skuzzle/gh-prom-exporter","last_synced_at":"2025-03-17T23:32:40.201Z","repository":{"id":39706543,"uuid":"428227431","full_name":"skuzzle/gh-prom-exporter","owner":"skuzzle","description":"Export your favorite GitHub repositories to Prometheus - SAAS or on-premise","archived":false,"fork":false,"pushed_at":"2023-01-05T11:01:14.000Z","size":378,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T05:54:06.273Z","etag":null,"topics":["github","java","prometheus-exporter","spring-boot"],"latest_commit_sha":null,"homepage":"https://gh.skuzzle.de","language":"Java","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/skuzzle.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}},"created_at":"2021-11-15T10:59:05.000Z","updated_at":"2022-01-06T19:16:11.000Z","dependencies_parsed_at":"2023-02-04T02:18:26.234Z","dependency_job_id":null,"html_url":"https://github.com/skuzzle/gh-prom-exporter","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skuzzle%2Fgh-prom-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skuzzle%2Fgh-prom-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skuzzle%2Fgh-prom-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skuzzle%2Fgh-prom-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skuzzle","download_url":"https://codeload.github.com/skuzzle/gh-prom-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893416,"owners_count":20364897,"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":["github","java","prometheus-exporter","spring-boot"],"created_at":"2024-10-07T13:09:17.443Z","updated_at":"2025-03-17T23:32:39.911Z","avatar_url":"https://github.com/skuzzle.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- This file is auto generated during release from readme/README.md --\u003e\n\n[![Coverage Status](https://coveralls.io/repos/github/skuzzle/gh-prom-exporter/badge.svg?branch=master)](https://coveralls.io/github/skuzzle/gh-prom-exporter?branch=master)\n[![Twitter Follow](https://img.shields.io/twitter/follow/skuzzleOSS.svg?style=social)](https://twitter.com/skuzzleOSS)\n\n\n# gh-prom-exporter\n\nExport your favorite GitHub repositories to Prometheus\n\n* Use it _as a service_: See https://gh.skuzzle.de for instructions\n* Deploy it _on-premise_: `docker pull ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.19`\n\n## On-Premise deployment with docker\nThis application can easily be run as a docker container in whatever environment you like:\n\n```\ndocker run -p 8080:8080 \\\n    -e WEB_ALLOWANONYMOUSSCRAPE=true \\\n    ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.19\n```\n\nWith _anonymous scraping_ allowed, you can now easily view the scrape results directly in the browser by navigating to\n`http://localhost:8080/YOUR-GITHUB-USERNAME/YOUR-REPOSITORY`.\n\nThe scraped repository can just as easily be added as static scrape target to your prometheus' scrape configs. You can\nalso scrape multiple repositories of the same owner at once: \n\n```\nscrape_configs:\n- job_name: CHANGE_ME\n  scrape_interval: 2m\n  metrics_path: /YOUR-GITHUB-USERNAME/YOUR-REPOSITORY1,YOUR-REPOSITORY2\n  static_configs:\n    - targets: ['your.docker.host:8080']\n```\n\nIn case you want to enforce authenticated scrapes only, use this configuration instead:\n```\ndocker run -p 8080:8080 \\\n    ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.19\n```\n\nScraping now requires a GitHub access token, otherwise the service will respond with 401/Unauthorized. \n\n```\nscrape_configs:\n- job_name: CHANGE_ME\n  scrape_interval: 2m\n  basic_auth: \n    username: YOUR-GITHUB-USERNAME\n    password: YOUR-GITHUB-ACCESS-TOKEN\n  metrics_path: /YOUR-GITHUB-USERNAME/YOUR-REPOSITORY\n  static_configs:\n    - targets: ['your.docker.host:8080']\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskuzzle%2Fgh-prom-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskuzzle%2Fgh-prom-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskuzzle%2Fgh-prom-exporter/lists"}