diff --git a/docker/environment.example b/docker/environment.example index 11494f6..c69c466 100644 --- a/docker/environment.example +++ b/docker/environment.example @@ -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 diff --git a/telegraf/ethgasstation.conf b/telegraf/ethgasstation.conf new file mode 100644 index 0000000..2786d4c --- /dev/null +++ b/telegraf/ethgasstation.conf @@ -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"]