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 automated speedtest followups and store results #92

Open
WillNilges opened this issue Oct 3, 2023 · 4 comments
Open

Add automated speedtest followups and store results #92

WillNilges opened this issue Oct 3, 2023 · 4 comments

Comments

@WillNilges
Copy link
Collaborator

We'd like a way to automatically follow up on completed installs. Two weeks after an install is completed, the support bot should run a speedtest on the node and ensure it's above some baseline, and store the result. If it's not above the baseline, it should alert someone. It could also do a speedtest on the upstream hubs to compare.

Additionally, when a speedtest is run, the results should be stored in a database, and every time a speedtest is run, the past results are called up to compare.

@WillNilges
Copy link
Collaborator Author

WillNilges commented Oct 4, 2023

One way to figure out if there are new nodes is to query Andrew's API a few hours apart 2 weeks ago, vs now, and diff it. That's very un-ideal, but shrug.

@andybaumgar
Copy link
Collaborator

andybaumgar commented Oct 4, 2023

@WillNilges You could also diff the existing API.

Actually this is an "everything table" so it's pretty big. Might be easier to diff Andrew's data.

@margsuarez
Copy link
Collaborator

would also be good to somehow automate or require this to be run at initial completion of the install. that first run would store the baseline data with which to compare.

@andybaumgar
Copy link
Collaborator

andybaumgar commented Oct 4, 2023

@margsuarez I agree we should store the results of the speed tests we already run. We can take the max to figure out the best case.

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

No branches or pull requests

3 participants