rucio / probes

Common Nagios probes to monitor Rucio
Apache License 2.0
0 stars 23 forks source link

Modernize common probes to use context manager #128

Open voetberg opened 7 months ago

voetberg commented 7 months ago

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