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

add galaxy job radar visualization tool stats collection role and scripts #1395

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

sanjaysrikakulam
Copy link
Member

@sanjaysrikakulam sanjaysrikakulam marked this pull request as ready for review February 7, 2025 16:03
Copy link
Member

@bgruening bgruening left a comment

Choose a reason for hiding this comment

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

Shouldn't the gxadmin queries be upstreamed? Maybe someone from ESG can work on that?

@sanjaysrikakulam
Copy link
Member Author

Shouldn't the gxadmin queries be upstreamed? Maybe someone from ESG can work on that?

Yes, that needs to be done. I can ask and see if someone would be interested in contributing to it.

]
- timeout = "240s"
- data_format = "influx"
- interval = "1h"
Copy link
Member

Choose a reason for hiding this comment

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

Those queries are very expensive arn't they? Do we really need to run them this often?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, The SQL queries I have added are optimized as much as possible (I think when I timed their executions, they completed in less than a few seconds (Yes, a few seconds might be an expensive operation)). The interval depends on how often we want the data in the Galaxy Job Radar to be updated for visualization and how "real" the "real-time" data should be for that.

Copy link
Member

Choose a reason for hiding this comment

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

Stefan and me have the suspicion that one of our many queries for Grafana is causing our DB problems.
I'm just afraid of we add more of those. Please merge this in and observe how it is going, but my maybe we should also:

  • increase the interval
  • maybe we need to add new indices somewhere
  • maybe we need to fill larger influx-tables and then do the selection in the influx side.

Copy link
Member Author

Choose a reason for hiding this comment

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

I like dumping the data into the influx tables and then processing it there. Let me see the possibilities.

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

Successfully merging this pull request may close these issues.

2 participants