1
0
Fork 0
Commit graph

36 commits

Author SHA1 Message Date
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
42b97119be
Add Docker instructions
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-02 09:11:20 +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
9fc2d6e300
Initial commit 2021-01-31 09:15:35 +01:00