1
0
Fork 0
Commit graph

53 commits

Author SHA1 Message Date
f38a4b3ce1
chore: End of life notice
Signed-off-by: Julien Riou <julien@riou.xyz>
2023-11-01 09:04:08 +01:00
858ef57b9b
fix: discover all coins on Flexpool Pool
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-08-24 07:45:43 +02:00
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
1bdcac5a88
Bump Telegraf version to 1.18.2 (#3)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-05-10 12:49:49 +02:00
49dd2a4e62
[grafana] Add ETH Gas Station dashboard
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-17 08:44:45 +02:00
7c45cd2593
Add ETH Gas Station Telegraf configuration (#7)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-15 18:05:05 +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
c24158b636
[grafana] Add luck and effort to Flexpool pool
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-04 08:39:10 +02:00
406f044be1
[grafana] Improve Etherscan dashboard
- Add a "Gas prices" row
- Rename "safe" to "low"
- Rename "propose" to "average"
- Rename "fast" to "high"
- Colorize low to green, average to orange, high to red
- Add min, average and max statistics

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-02 11:33:53 +02:00
fed9ebb753
Add Pacific/Auckland time zone (#5)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-02 08:22:07 +02:00
f90e28a0d0
Add America/New_York time zone (#4)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-01 18:18:51 +02:00
de5e38ae94
[grafana] Group daily, weekly and monthly revenues
Grafana displays single statistics by grouping 3 values together. If we group
currency and fiat currency (2 values) together, the output is broken. This
commit groups all crypto currency (daily, weekly and monthly) on a single row,
then fiat currencies on a second row.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-30 08:08:10 +02:00
562e3e1a47
[grafana] Reorder gas prices measurements
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 17:41:37 +02:00
10cd2ef312
[grafana] Add etherscan dashboard
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 17:39:44 +02:00
3db323ce25
[telegraf] Add etherscan input
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 17:23:09 +02:00
b8866232d0
[grafana] Add exchange rate dashboard
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 16:37:58 +02:00
b3cb773ac2
[grafana] Group all estimated revenues
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 16:21:41 +02:00
b6f4045197
[grafana] Assert month = 30 days
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 16:11:43 +02:00
64ff7eb715
[grafana] Add monthly revenue estimation on Flexpool miners
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 16:08:23 +02:00
5f40b7c57d
UTC by default
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 08:55:29 +02:00
20ad485df4
[grafana] Add Flexpool pool dashboard
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-29 08:47:47 +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
2cebe9eddf
Rename Flexpool overview to Flexpool miners
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-28 18:17:08 +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
21754f74d9
[telegraf] Remove duplicate in Flexpool collector
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-28 08:10:01 +02:00
a5b09436f0
[telegraf] Add pool statistics for Flexpool
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-26 08:12:08 +01:00
745cf49a99
Add decimals to Flexpool overview
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-23 07:54:06 +01:00
0036bc6cc3
Add Europe/London time zone
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-22 11:25:06 +01:00
a288e90e6f
Add time zone to Flexpool overview
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-22 09:13:30 +01: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
a49ae763b1
Add Flexpool blocks and remove fixed time windows
- Remove fixed time ("last 1 month", "last 1 year") from daily and monthly revenue
  dashboards.
- Add daily and monthly blocks counters next to revenue

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-20 08:30:32 +01:00
e790147476
[telegraf] Add Flexpool blocks count
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-19 11:42:17 +01:00
9b1857c1cc
Use 5 decimals for daily/monthly revenue (#2)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-18 13:07:30 +01:00
ce1b837ae0
Group Flexpool hashrates graphs together (#1)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-18 12:50:33 +01:00
695a895735
Bump Telegraf version to 1.17
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-16 08:08:13 +01:00
e85c21fe11
Add last payments to Flexpool dashboard
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-05 09:16:01 +01:00
65c11fc2a1
Merge currencies to one graph
ETH and fiat currencies were in a separate graphs. This commit merges them into
a single graph each time.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-04 16:25:48 +01:00
c4a4b6f787
Add farm and worker names to HiveOS configuration
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-13 09:34:35 +01:00
8cfb8fabf8
Add HiveOS Telegraf configuration
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-12 17:58:40 +01:00
2e90107641
Bugfix balance rate
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-09 18:28:22 +01:00
9437cb47b5
Flatten the rebalance curve
When Flexpool pays you out, the spread function considers the payment as
balance earnings. Using non_negative_derivative instead to flatten the curve.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-08 08:58:31 +01:00
6fac493ba8
Update monthly fiat income title
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-07 17:37:16 +01:00
e006223163
Add histograms with daily and monthly income
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-07 17:35:19 +01:00
87d41da2aa
Bugfix flexpool overview hashrates
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-05 17:22:23 +01:00
1d82da5e17
Update Flexpool overview dashboard
Estimated and reported hashrates where grouped by worker. Now the graph shows
the sum of all workers, because this is an overview dashboard after all. To show
graphs per workers, we should use the Flexpool workers dashboard.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-04 12:05:59 +01:00
96649e3570
Remove leftover environment file
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-02 17:59:51 +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
075a281a08
Use TLS for InfluxDB
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-02 15:18:49 +01:00
df7141504e
Auto create InfluxDB database and users
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-02 12:38:47 +01:00