Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Runner 'Busy' Metrics and minor fixups #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

daviddob
Copy link

@daviddob daviddob commented May 3, 2021

  • Adds metrics for runner busy status to allow monitoring of when to scale runners based on how many runners are idle or in use at any given time.
  • Fixes a segfault if a provided repo has no workflows, or if the token used in the exporter doesn't have all the required permissions. Still logs errors appropriately.
  • Updates go mod and dependencies to be compatible with go get by renaming the module to reflect the repo

This was tested with PR #19 for ORG runner metrics as well without issue.

daviddob added 3 commits May 3, 2021 12:23
Fixes a segfault if a provided repo has no workflows, or if the token used
in the exporter doesnt have all the required permissions. Still logs errors
appropriately.
Adds metrics for runner busy status to allow monitoring of when to
scale runners based on how many runners are idle or in use at any given
time.

This was tested with PR Labbs#19 for ORG runner metrics as well without issue.
@moutonjeremy
Copy link
Member

moutonjeremy commented Jul 6, 2021

Updates go mod and dependencies to be compatible with go get by renaming the module to reflect the repo

For go get the repo directly ?

@FalconerTC
Copy link

Any chance of getting a review on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants