{"id":18251683,"url":"https://github.com/summerwind/github-project-exporter","last_synced_at":"2025-04-04T16:32:35.168Z","repository":{"id":57592111,"uuid":"110693322","full_name":"summerwind/github-project-exporter","owner":"summerwind","description":"Export GitHub project status to Prometheus.","archived":false,"fork":false,"pushed_at":"2019-09-04T13:17:17.000Z","size":19,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T19:20:11.764Z","etag":null,"topics":["github","golang","prometheus"],"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/summerwind.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":"2017-11-14T13:23:57.000Z","updated_at":"2024-05-16T02:01:09.000Z","dependencies_parsed_at":"2022-09-26T19:42:57.100Z","dependency_job_id":null,"html_url":"https://github.com/summerwind/github-project-exporter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summerwind%2Fgithub-project-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summerwind%2Fgithub-project-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summerwind%2Fgithub-project-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summerwind%2Fgithub-project-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/summerwind","download_url":"https://codeload.github.com/summerwind/github-project-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223150767,"owners_count":17095957,"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","golang","prometheus"],"created_at":"2024-11-05T09:48:14.298Z","updated_at":"2024-11-05T09:48:18.899Z","avatar_url":"https://github.com/summerwind.png","language":"Go","readme":"# github-project-exporter\n\nExport GitHub project status to Prometheus.\n\n## Install\n\n### Just want the binary?\n\nGo to the [releases page](https://github.com/summerwind/github-project-exporter/releases), find the version you want, and download the tarball file.\n\n### Run as container?\n\n```\n$ docker pull summerwind/github-project-exporter:latest\n```\n\n### Building binary yourself\n\nTo build the binary you need to install [Go](https://golang.org/) and [task](https://github.com/go-task/task).\n\n```\n$ task build\n```\n\n## Usage\n\nYou can specify the repository name with `--github.repository` flag to export the project metrics of the repository. An GitHub access token must be specified in `--github.token`.\n\n```\n$ github-project-exporter --github.token ${ACCESS_TOKEN} --github.repository summerwind/github-project-exporter\n```\n\nIf you want to expose the project metrics of the organization, you can use `--github.organization` instead of `--github.repository`.\n\n```\n$ github-project-exporter --github.token ${ACCESS_TOKEN} --github.organization summerwind\n```\n\nMultiple flags can also be used.\n\n```\n$ github-project-exporter --github.token ${ACCESS_TOKEN} --github.repository summerwind/github-project-exporter --github.repository summerwind/h2spec\n```\n\n## Metrics\n\nThis exporter will expose these metrics.\n\n| Metric | Meaning | Labels |\n| --- | --- | --- |\n| github_organization_projects | How many projects are in the organization. | organization |\n| github_organization_project_columns | How many columns are in the organization project. | organization, project |\n| github_organization_project_cards | How many cards are in the organization project. | organization, project, column |\n| github_repository_projects | How many projects are in the repository. | repository |\n| github_repository_project_columns | How many columns are in the repository project. | repository, project |\n| github_repository_project_cards | How many cards are in the repository project. | repository, project, column |\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsummerwind%2Fgithub-project-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsummerwind%2Fgithub-project-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsummerwind%2Fgithub-project-exporter/lists"}