actions-exporter

command module
v0.0.0-...-8e21438 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Actions Exporter

Prometheus exporter for GitHub Actions workflow states and API rate limit usage.

Tired of GitHub disabling your scheduled workflows after 60 days of repository inactivity, and only randomly discovering it some time later? This exporter was written for you: a timeseries is added for each of your workflows that's disabled, with a label that informs whether it was disabled manually (by you) or disabled due to inactivity (by GitHub.)

Supports monitoring workflows for GitHub organizations (--github-org) and/or users (--github-user). At least one must be provided; both can be used simultaneously.

Example:

# HELP github_rate_limit_limit The maximum number of requests allowed per hour (x-ratelimit-limit).
# TYPE github_rate_limit_limit gauge
github_rate_limit_limit 5000

# HELP github_rate_limit_used The number of requests used in the current rate limit window (x-ratelimit-used).
# TYPE github_rate_limit_used gauge
github_rate_limit_used 96

# HELP github_workflow_state Shows non-active workflow state for workflows belonging to a GitHub user or organization.
# TYPE github_workflow_state gauge
github_workflow_state{owner="FooUser",repository="BarRepository",state="disabled_manually",workflow="Lint + Test"} 1

GitHub PAT Scopes

This app requires a classic Personal Access Token with the following scope:

  • repo — needed to list organization/user repositories and their Actions workflows (includes private repos)

If you only need to monitor public repositories, public_repo is sufficient.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL