1
0
Fork 0
Commit graph

9 commits

Author SHA1 Message Date
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
2d5007dc61
Remove group by time interval (#6)
On Flexpool miners, workers and Etherscan dashboards, min, max and last
computations where based on multiple small time intervals instead of the big
time interval. Removing "group by" solved the computations.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-09 08:37:11 +02:00
5f40b7c57d
UTC by default
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 08:55:29 +02:00
520cfd140b
Bugfix Flexpool workers measurements
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-28 18:45:05 +02:00
e902008a28
Bugfix Flexpool workers variables
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-28 18:36:04 +02:00
e8ba07a1b7
Rename Flexpool miner measurements
Procedure to migrate:

Stop telegraf container:

```
docker-compose -f docker-compose.yml stop telegraf
```

Rename all measurements:
```
docker exec -it influxdb influx -unsafeSsl -ssl -database '$INFLUXDB_DB'
select * into flexpool_miner_balance from flexpool_balance group by *;
drop measurement flexpool_balance;
select * into flexpool_miner_stats from flexpool_stats group by *;
drop measurement flexpool_stats;
select * into flexpool_miner_workers from flexpool_workers group by *;
drop measurement flexpool_workers;
select * into flexpool_miner_paid from flexpool_paid group by *;
drop measurement flexpool_paid;
select * into flexpool_miner_daily_revenue_estimation from flexpool_daily_revenue_estimation group by *;
drop measurement flexpool_daily_revenue_estimation;
select * into flexpool_miner_payments from flexpool_payments group by *;
drop measurement flexpool_payments;
```

Update telegraf configuration.

Start telegraf:

```
docker-compose -f docker-compose.yml start telegraf
```

Re-import the `grafana/flexpool-overview.json` graph.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-28 18:15:55 +02:00
c13573f969
Improve Grafana dark theme compatibility
On Flexpool dashboards, some values were printed in black. They were hard to
read on a dark theme. Revert back to default "green" value for improved
visibility on light and dark themes.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-20 08:49:33 +01:00
0ab8e445f6
Add full procedure and make generic dashboards
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-02 17:56:15 +01:00
20f88988fd
Initial commit
Add README and flexpool dashboards.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-01-31 09:43:54 +01:00