nbarrientos / cryptowat_exporter

A prometheus exporter to fetch values from cryptowat.ch written in Go
Apache License 2.0
13 stars 4 forks source link

Increase default cache time and allow customising it #3

Closed nbarrientos closed 3 years ago

nbarrientos commented 3 years ago

It looks like it's more expensive now to query the API so the default cache time is not enough to cope with a 24h operation. This change increases the default from 60 seconds to 900 and allows Docker user to customise it via environment variables.