1
0
Fork 0

Add ETH Gas Station Telegraf configuration (#7)

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-04-15 18:03:06 +02:00
parent 2d5007dc61
commit 7c45cd2593
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,7 @@
MINER_ADDRESS=
HIVEOS_TOKEN=
ETHERSCAN_TOKEN=
ETHGASSTATION_TOKEN=
GF_SECURITY_ADMIN_USER=admin
GF_SECURITY_ADMIN_PASSWORD=
GF_USERS_DEFAULT_THEME=light

View file

@ -0,0 +1,5 @@
[[inputs.http]]
name_override = "ethgasstation_ethgasapi"
urls = ["https://ethgasstation.info/api/ethgasAPI.json?api-key=${ETHGASSTATION_TOKEN}"]
data_format = "json"
tagexclude = ["url"]