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

feat: ability to delay the speedtest (via env var SPEEDTEST_DELAY) #177

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Easen
Copy link

@Easen Easen commented Nov 20, 2022

Added the env var SPEEDTEST_DELAY to delay the running of the speedtest.

What does this fix?

I've been trying to run multiple instances of this speediest export as I currently have multiple internet connections (VPN's, etc.).

Prometheus doesn't have a way to stagger the scapes, I did try and use a different internals, but this was difficult to scale to 3 speedtest exporters.

Adding a delay means I can run multiple exporters with a 15 second gap between each at regular interval (every 30m)

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.

None yet

1 participant