Syncthing statistics to telegraf
Quick start:
- Build with
go build .
- Put
syncthing_stats
binary to some good location, for example/usr/local/bin
- Fetch Syncthing API key from Syncthing GUI, top-right corner Actions - Settings - API Key field in General tab.
- Configure to telegraf as exec plugin.
[[ inputs.exec ]]
command = "/usr/local/bin/syncthing_stats -apikey YourApiKeyFromStep3"
data_format = "influx"
License
MIT license. For full details, see LICENSE file.