Add ETH Gas Station Telegraf configuration (#7)
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
2d5007dc61
commit
7c45cd2593
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
5
telegraf/ethgasstation.conf
Normal file
5
telegraf/ethgasstation.conf
Normal 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"]
|
Reference in a new issue