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

Parse Indexer Unavailable Errors to emit unavailable_indexers metric #158

Closed
rtrox opened this issue Apr 27, 2023 · 0 comments · Fixed by #162
Closed

Parse Indexer Unavailable Errors to emit unavailable_indexers metric #158

rtrox opened this issue Apr 27, 2023 · 0 comments · Fixed by #162
Labels
enhancement New feature or request

Comments

@rtrox
Copy link
Collaborator

rtrox commented Apr 27, 2023

Details

Describe the solution you'd like:

Prowlarr, interestingly, does not consider indexers which have been marked "unavailable" as "disabled", so they don't increment the disabled metric (It only counts indexers which were manually disabled). Unavailable indexers seems like a metric that will commonly want to be alerted on, but the only place it shows up is as a health issue (of source IndexerLongTermStatusCheck). We should consider special casing this error type to emit an unavailable indexer metric. The actual logic isn't particularly difficulty, but system health issues are collected by a common collector, so we probably need to think a little bit about where and how to collect this and emit it as another metric.

image

Anything else you would like to add:

Additional Information:

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

Successfully merging a pull request may close this issue.

1 participant