Skip to content

GitHubActionsExporter is Prometheus Exporter that collects GitHub Actions statistics of the specified repository.

License

Notifications You must be signed in to change notification settings

kaidotdev/github-actions-exporter

Repository files navigation

GitHubActionsExporter

GitHubActionsExporter is Prometheus Exporter that collects GitHub Actions statistics of the specified repository.

Installation

$ kubectl apply -k manifests

Usage

$ 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

How to develop

skaffold dev

$ make dev

Test

$ make test

Lint

$ make lint

About

GitHubActionsExporter is Prometheus Exporter that collects GitHub Actions statistics of the specified repository.

Topics

Resources

License

Stars

Watchers

Forks

Packages