Closed fireheadman closed 3 years ago
This appears to be happening for all markets (bitstamp, kraken, coinbase-pro)
Hi,
Thanks for your report. The plugin works for me, though. Please make sure that:
1) You're running the latest version published (v2.1.1
)
2) You're selecting a reasonable polling interval (--cryptowat.cacheseconds
) so you don't exceed the daily free API credits (see the README for more details).
Am also getting this same issue. Restarted my server running cryptowat and suddenly getting this. Running latest version and cacheseconds set to default (60s).
Hi,
The default value for --cryptowat.cacheseconds
is 300 seconds since v2.1.0
which is enough to not to exceed the free daily API quota.
In my case I'm running the exporter continuously with the default cache validity fetching three exchanges and two pairs and it works. I've just restarted it and it's happily retrieving values:
cryptowat_exporter | 2020/12/08 15:49:38 Looking for market bitstamp:btcusd
cryptowat_exporter | 2020/12/08 15:49:38 Looking for market bitstamp:ltcusd
cryptowat_exporter | 2020/12/08 15:49:38 Looking for market kraken:btcusd
cryptowat_exporter | 2020/12/08 15:49:38 Looking for market kraken:ltcusd
cryptowat_exporter | 2020/12/08 15:49:38 Looking for market coinbase-pro:btcusd
cryptowat_exporter | 2020/12/08 15:49:38 Looking for market coinbase-pro:ltcusd
cryptowat_exporter | 2020/12/08 15:49:38 Sleeping for 900 seconds
Please make sure that you're running the latest version and that you're not overriding the default cache validity. If you have been banned in the worst case your quota will be restablished within 24h.
This is all assuming that it's a quota problem. Please make sure as well that the node running the exporter can talk to api.cryptowat.ch
via HTTPS, etc.
thanks for the tip on cacheseconds... I have increased to 1800s (30min) intervals as I am not overly concerned with fluxuation.
● cryptowat.service - cryptowat go client
Loaded: loaded (/etc/systemd/system/cryptowat.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-12-08 16:50:29 UTC; 5s ago
Main PID: 8834 (cryptowat_expor)
Tasks: 10 (limit: 38436)
Memory: 17.1M
CGroup: /system.slice/cryptowat.service
└─8834 /usr/local/bin/cryptowat_exporter --cryptowat.pairs=ethusd,ethbtc --cryptowat.exchanges=kraken --cryptowat.cacheseconds=1800
Dec 08 16:50:29 eth01 systemd[1]: Started cryptowat go client.
Dec 08 16:50:29 eth01 cryptowat_exporter[8834]: 2020/12/08 16:50:29 Listening on address :9745
Dec 08 16:50:29 eth01 cryptowat_exporter[8834]: 2020/12/08 16:50:29 Looking for market kraken:ethusd
Dec 08 16:50:29 eth01 cryptowat_exporter[8834]: 2020/12/08 16:50:29 Looking for market kraken:ethbtc
Dec 08 16:50:29 eth01 cryptowat_exporter[8834]: 2020/12/08 16:50:29 Sleeping for 1800 seconds
free to close at will.
Hey fireheadman!
Glad you have resolved your issue. I hope you enjoy the dashboard AND @nbarrientos tool :D
If there is something I can try to resolve this, please let me know. This was working flawlessly all last week.