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

Worker workload #30

Open
thibaultduponchelle opened this issue Jan 4, 2021 · 5 comments
Open

Worker workload #30

thibaultduponchelle opened this issue Jan 4, 2021 · 5 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@thibaultduponchelle
Copy link
Contributor

Somewhat related to #27 and #28 but I would like a view with a graph to monitor the health of workers. We can play with kubernetes also for this (but it won't always be deployed in k8s...).

@melezhik
Copy link
Owner

melezhik commented Jan 5, 2021

The challenge with that request is that Sparky workers could be dynamic because of FTP. We can't count them just counting all sparky.yml files across all projects.

It's makes a sense with k8s though, where we could assume that workers equal docker pods and pods statistics are usually available in k8s cluster ...

@melezhik melezhik added help wanted Extra attention is needed question Further information is requested labels Jan 5, 2021
@melezhik
Copy link
Owner

melezhik commented Jan 5, 2021

Also should we count docker containers on localhost (none k8s) setup?

@thibaultduponchelle
Copy link
Contributor Author

For this issue:

  • We can "ping" from time to time
  • Or we can maybe forget about health and just count how many jobs are sent and return to/from a worker (= node) and draw a load graph.

About localhost, I don't know.

@melezhik
Copy link
Owner

melezhik commented Jan 5, 2021

counting jobs for worker is doable ... in sparky database we have a list of builds. for every build we can find a worker it's been executed or being executed, so we can makes a graph out of it ... builds also have state (successful/failed), so we can measure by states as well. Will it work?

@thibaultduponchelle
Copy link
Contributor Author

Yes !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants