-
Notifications
You must be signed in to change notification settings - Fork 24
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
Common: rewrite check_transfer_queue_status #147
base: master
Are you sure you want to change the base?
Conversation
voetberg
commented
Aug 6, 2024
- Rewrite base query with sqla2.0
- Move CASE statements into python logic - This I am less confident I got it correct, I could not figure out exactly what the external_host is supposed to look like. The probe has been broken a long time in CMS int and prod so I'm missing some reference material there.
- Sort Imports
- Update header
- Update exception statement
- Change gauge to PrometheusPusher
4ad7968
to
1d4c3ba
Compare
* Rewrite base query with sqla2.0 * Move CASE statements into python logic * Sort Imports * Update header * Update exception statement * Change gauge to PrometheusPusher
1d4c3ba
to
884bbcd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done. I’m happy on my end.
There was a problem hiding this 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 have to withdraw my approval.
There is a significant change that was not mentioned at all in the commit: the metric name has been changed from conveyor_queues_requests
to rucio_probes_transfer
. Also state
now contains the queues.requests.
prefix, which doesn’t look right to me.
Similarly, the other two PRs I approved will have to be revisited.
I think the Prometheus pusher automatically appends
That was from the original query (unless I missed a post-processing step in the original? That case statement just makes my head spin so it's a possibility) |
Correct. "rucio_probes" (or "rucio.probes" for Graphite) is added by the pusher Line 17 in a7c0556
I'm going to approve this. |