https://github.com/fabriceclementz/github-repo-stats-exporter
A simple Prometheus exporter that expose `open_issues_count` and `stargazers_count` from a repository.
https://github.com/fabriceclementz/github-repo-stats-exporter
github prometheus-exporter rust
Last synced: 2 months ago
JSON representation
A simple Prometheus exporter that expose `open_issues_count` and `stargazers_count` from a repository.
- Host: GitHub
- URL: https://github.com/fabriceclementz/github-repo-stats-exporter
- Owner: fabriceclementz
- License: mit
- Created: 2022-06-19T19:10:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-19T19:15:21.000Z (about 4 years ago)
- Last Synced: 2025-04-02T11:49:42.687Z (about 1 year ago)
- Topics: github, prometheus-exporter, rust
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Stats Prometheus exporter
A simple Prometheus exporter that exposes `open_issues_count` and `stargazers_count` from a GitHub repository.
## Usage
Start the exporter at `http://localhost:8000/metrics` to expose stats of the `rust-lang/rust` repository
```sh
gh-repo-stats-exporter --repository rust-lang/rust
```
Display all options
```sh
gh-repo-stats-exporter -h
```
## Building
```sh
cargo build
```