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 that were using atlas_rucio tables #131

Closed

Conversation

voetberg
Copy link
Contributor

Addressing #127 completely and #128 in part

Copy link
Contributor

@dchristidis dchristidis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m afraid I do not understand at all the proposed changes. They appear to completely substitute the existing functionality and behaviour.

@voetberg
Copy link
Contributor Author

@ericvaandering Can elaborate on the behavior changes in common/check_expired_locked_rules

Otherwise, the updates to common/check_obsolete_replicas are to push monitoring to Prometheus and parameterize the base table of the query.

@dchristidis
Copy link
Contributor

That is certainly not the case.

An execution of common/check_expired_locked_rules will, as the name suggests, list rules that are expired and locked or expired datasets that have locked rules. The proposed changes remove this functionality completely and add metrics that are irrelevant to its current purpose.

Locked expired rules
…
Datasets expired with locked rules
…

An execution of common/check_obsolete_replicas is supposed to update the the RSE usage counters (MERGE INTO atlas_rucio.RSE_USAGE …). That part of the query has been stripped.

@ericvaandering
Copy link
Contributor

I'll have to go look at the history of this. We've been running an early version of this for ages. Not sure I can even reconstruct the history.

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

Successfully merging this pull request may close these issues.

3 participants