Skip to content

Commit

Permalink
Merge pull request #2 from mixpanel/andyleap-patch-1
Browse files Browse the repository at this point in the history
Reset gauge each iteration
  • Loading branch information
andyleap authored Sep 14, 2022
2 parents a02f1a6 + 44d1c6b commit 0c3e139
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/metrics/get_runners_from_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@ func getRunnersFromGithub() {
}

time.Sleep(time.Duration(config.Github.Refresh) * time.Second)
runnersGauge.Reset()
}
}

0 comments on commit 0c3e139

Please sign in to comment.