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

View to see overall sparky stats #23

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

View to see overall sparky stats #23

thibaultduponchelle opened this issue Jan 4, 2021 · 4 comments
Labels
feature request question Further information is requested

Comments

@thibaultduponchelle
Copy link
Contributor

An overall view of what sparky have done from "all time".

Something like :

all

To put somewhere either on main page or on a "statistic" or "status" page

@melezhik
Copy link
Owner

melezhik commented Jan 4, 2021

Though it's technically doable, why would we need "total" statistics? It makes a sense for me for active/queued jobs to understand current load, but as for the total, do we really need this? If you please give me more details, context?

PS If we're really need some time statistics we could think about creating Prometheus API or something for that ...

@melezhik melezhik added the question Further information is requested label Jan 4, 2021
@thibaultduponchelle
Copy link
Contributor Author

For the total, it's just sugar, we can drop it.

It's not for monitoring sparky itself.
But concerning monitoring, even if I like prometheus and friends, it's yet another service to run where a minimal monitoring report can be embedded in the UI (cpu + memory usage) for the small setups.

@melezhik
Copy link
Owner

melezhik commented Jan 5, 2021

I see. Basically as all builds ( aka jobs ) with statues are kept in sql table we can easily fetch it from there and display in some format, is that what you want? So you don't need a time series here, just total for all the time?

@thibaultduponchelle
Copy link
Contributor Author

Yes exactly 🕺

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

No branches or pull requests

2 participants