This plugin will pull ticker stats from Kraken API.
The minimal configuration expects the pairs
to be set.
[[inputs.ticker]]
## Pairs to grab - Required
pairs = [""]
## Timeout for HTTP requests
# timeout = "5s"
- Clone the repository
git clone [email protected]:guillaume-gricourt/telegraf-kraken.git
- Build the
bin/telegraf-kraken-<label>
binary
The label
refers to the endpoint of the API.
The labels available are:
ticker
: Get Ticker Informationdepth
: Get Order Bookspread
: Get Recent Spreads, only last one is kept
make <label>
- You should be able to call this from telegraf now using execd
[[inputs.execd]]
command = ["/path/to/telegraf-kraken-<label>", "-poll_interval 1m"]
signal = "none"
This self-contained plugin is based on the documentations of Execd Go Shim