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

Skip disabled repositories #43

Closed
whiskeysierra opened this issue Oct 7, 2021 · 0 comments
Closed

Skip disabled repositories #43

whiskeysierra opened this issue Oct 7, 2021 · 0 comments

Comments

@whiskeysierra
Copy link

whiskeysierra commented Oct 7, 2021

We have a couple of disabled repositories and they yield errors in the log:

{
   "collector":"Repository",
   "file":"metrics_repository.go:127",
   "func":"collectRepository",
   "level":"error",
   "msg":"response status code is 404 (expected 200), url: https://dev.azure.com/gropyus/_apis/git/repositories/0ea2ea25-0d9d-4b4f-b3df-fbef5da3063d/commits?searchCriteria.fromDate=2021-10-07T06%3A03%3A51Z\u0026api-version=5.1",
   "project":"architecture",
   "repository":"base-image"
}

Even though it's not a big deal, it would be nice if disabled repositories were skipped by default.

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

No branches or pull requests

1 participant