-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
internet_speed: Support blacklisting or chosing servers #11625
Comments
Hi @KoffeinKaio, are those six digit server numbers you are using the same as the ID from the speedtest-go module? If so, it looks like telegraf could be changed to remove them from the list of servers here We would need to be careful not to remove all the servers from the list or warn the user if they did, but it seems like that would possible. Are you able to put together a PR to make this code change? |
I would love this to be a feature too. May be able to attempt to create a PR, though I haven't worked that much with go before, and never with the |
This adds the ability to exclude or include specific speedtest server IDs. If a user excludes a server ID that server is always excluded from selection. If a user includes a specific server ID, then we will look for only that ID. This does not let a user pick a random server ID. The speedtest-go library will receive the 10 closet servers. As such, users need to be careful as they can prevent any server from being picked. fixes: influxdata#11449 fixes: influxdata#11625 fixes: influxdata#12595
Can you try one of the test artifacts on #12617 and use the server_id_exclude option to ignore certain servers? Thanks! |
Use Case
My ISP provieds its own speedtest server, which is of course selected frist for lowest latency/distance.
Thing is, they cheat. It gets routet ISP-internal and provides the full line speeds, not the one to the internet.
Expected behavior
I kinda want something like
or (allowed servers)
Actual behavior
as far as I can see, its not supported to chose or exclude servers
Additional info
If someone could point me where to do the code changes, I might implement it myself.
The text was updated successfully, but these errors were encountered: