caarlos0 / speedtest-exporter

Exports speedtest-cli metrics in the prometheus format
Apache License 2.0
51 stars 7 forks source link

How can I change the interval for when the checks are performed? #9

Closed ntoporcov closed 1 year ago

ntoporcov commented 2 years ago

I would like to shorten the interval for checks from 30min

ntoporcov commented 2 years ago

welp, I just changed the value on main.go and ran go build and it might have worked hehe I'll close it if it did

caarlos0 commented 1 year ago

theres a --refresh-interval flag for it.

phmayer commented 1 year ago

i was also wondering how i could change the interval in the best way, since there was no mention of it in the readme.
as an approvement, maybe the --refresh-interval flag can be documented better in the readme. :)