1
0
Fork 0
This repository has been archived on 2024-12-18. You can view files and clone it, but cannot push or open issues or pull requests.
mining-dashboards/telegraf
Julien Riou 51374e9a92
feat: add Chia support for Flexpool (#8)
- Update Telegraf to 1.19.2
- Use Flexpool API v2
- Update Flexpool miner, pool and worker dashboards accordingly
- Add COIN environment variable for Telegraf ("eth" or "xch" supported)
- Add coin variable in Grafana dashboards

BREAKING CHANGE: measurement names change between API v1 and v2 so the
Grafana dashboards must be updated accordingly to use new names.
Values in the past will not be shown by the updated dashboards.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-08-18 11:19:14 +02:00
..
hiveos Add farm and worker names to HiveOS configuration 2021-02-13 09:34:35 +01:00
currencies.conf feat: add Chia support for Flexpool (#8) 2021-08-18 11:19:14 +02:00
etherscan.conf [telegraf] Add etherscan input 2021-03-29 17:23:09 +02:00
ethgasstation.conf Add ETH Gas Station Telegraf configuration (#7) 2021-04-15 18:05:05 +02:00
flexpool-miner.conf feat: add Chia support for Flexpool (#8) 2021-08-18 11:19:14 +02:00
flexpool-pool.conf feat: add Chia support for Flexpool (#8) 2021-08-18 11:19:14 +02:00
README.md Add HiveOS Telegraf configuration 2021-02-12 17:58:40 +01:00

Telegraf inputs

Ensure to replace MINER_ADDRESS with your Ethereum wallet address.

HiveOS API

Create token

On your account page, go to Authentication Tokens, search for Personal Tokens and create one for telegraf:

hiveos personal tokens

Enter your 2FA code if needed:

hiveos two factor auth

Clic on Show:

hiveos token show

And add this value to the HIVEOS_TOKEN environment variable (see Quickstart section in the README).

Create Telegraf configuration

cd hiveos
sudo apt install python3-virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
read -s HIVEOS_TOKEN
export HIVEOS_TOKEN
python3 generate.py --verbose
unset HIVEOS_TOKEN
mv hiveos.conf ../