An open API service indexing awesome lists of open source software.

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.

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
```