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

Modernize common probes to use context manager #128

Open
voetberg opened this issue Feb 12, 2024 · 0 comments
Open

Modernize common probes to use context manager #128

voetberg opened this issue Feb 12, 2024 · 0 comments
Assignees

Comments

@voetberg
Copy link
Contributor

Probes https://github.com/rucio/probes/blob/master/common/check_expired_locked_rules and https://github.com/rucio/probes/blob/master/common/check_obsolete_replicas don't use a context manager so they're inaccessible to Prometheus. They should be updated to use common.utils.PromotheusPusher

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