Metrics
All metrics also have a organization
tag on them with the set organization as
the value. Although not that important it is nice in the case that the service
is being used on two organizations at the same time but pushing the data to a
single frontend.
metric name | labels | description | |
---|---|---|---|
Repositories | repositories_count |
organization |
All Repositories that the Github Installation token has access to and exposes a total current count metric. |
Workflow Runs | workflow_runs |
organization status {DONE, IN_PROGRESS, PENDING, FAILED}
|
For all Repositories retrieves all workflow runs from the start of yesterday until time of export and display a count of them for every status. |
active_workflow_runs |
organization status {DONE, IN_PROGRESS, PENDING, FAILED}
|
For all Repositories all active workflow runs and display a count of them for every status. | |
workflow_runs_total_build_times |
For all Repositories the total build time of the workflow runs from the start of yesterday until the time of export. | ||
workflow_runs_average_build_times |
For all Repositories the average build time of the workflow runs from the start of yesterday until the time of export | ||
Jobs | workflow_run_jobs |
organization
status {DONE, PENDING, IN_PROGRESS}conclusion {SUCCESS, FAILURE, ACTION_REQUIRED, NEUTRAL}
|
For all Workflow runs of the last day retrieve all jobs and a count of every status/conclusion. |
Pull Requests |
pull_requests_count_of_last_{X}_days |
organization state {OPEN, CLOSED, MERGED}
|
For pull requests of the last days a count of each state |
pull_request_throughput_of_last_{X}_days |
organization
|
Merged Pull Requests per day over the period X | |
Self Hosted Runners | self_hosted_runners |
organization
os {MAC_OS, LINUX, WINDOWS}status {OFFLINE, IDLE, BUSY}
|
For all selfhosted runners of the org/repos a count of their Operating System and Status. |