telegraf/plugins/inputs/internet_speed
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776)
2022-09-08 12:49:36 -06:00
..
README.md chore: Fix readme linter errors for input plugins E-L (#11214) 2022-06-07 15:37:08 -06:00
internet_speed.go chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
internet_speed_test.go test: switch internet speed to enable file download (#11146) 2022-05-19 11:31:51 -06:00
sample.conf fix: doc interval setting for internet speed plugin (#11150) 2022-05-19 11:31:33 -06:00

README.md

Internet Speed Monitor Input Plugin

The Internet Speed Monitor collects data about the internet speed on the system.

Configuration

# Monitors internet speed using speedtest.net service
[[inputs.internet_speed]]
  ## This plugin downloads many MB of data each time it is run. As such
  ## consider setting a higher interval for this plugin to reduce the
  ## demand on your internet connection.
  # interval = "60m"

  ## Sets if runs file download test
  # enable_file_download = false

  ## Caches the closest server location
  # cache = false

Metrics

It collects latency, download speed and upload speed

Name filed name type Unit
Download Speed download float64 Mbps
Upload Speed upload float64 Mbps
Latency latency float64 ms

Example Output

internet_speed,host=Sanyam-Ubuntu download=41.791,latency=28.518,upload=59.798 1631031183000000000