GitHubActionsExporter is Prometheus Exporter that collects GitHub Actions statistics of the specified repository.
$ kubectl apply -k manifests
$ curl -s http://github-actions-exporter:9090/metrics | grep github_actions_
# HELP github_actions_runners List how many workflow runners each repository actions
# TYPE github_actions_runners gauge
github_actions_runners{repository="kaidotdev/github-actions-exporter",status="offline"} 1
github_actions_runners{repository="kaidotdev/github-actions-exporter",status="online"} 5
# HELP github_actions_runs List how many workflow runs each repository actions
# TYPE github_actions_runs gauge
github_actions_runs{repository="kaidotdev/github-actions-exporter",status="completed"} 10
github_actions_runs{repository="kaidotdev/github-actions-exporter",status="in_progress"} 1
github_actions_runs{repository="kaidotdev/github-actions-exporter",status="queued"} 1
$ make dev
$ make test
$ make lint