Version 3 is Available ! For V2 users upgrading to V3:
- Don't forget to update Grafana to version 8.1.2
- Reimport the new Grafana Dashboard
- Install the new lotus-exporter-farcaster (instructions below)
Feature | Implementation | Comments | |
---|---|---|---|
Sectors | |||
Mpool | |||
Storage Info | |||
Workers Info | |||
Sealing | |||
Power | |||
Wallets | |||
Chain | |||
Deadlines | |||
Deals | Partial | ||
Online data transfers | Realtime view of on-going transfers | ||
Fil+ | Visualize granted datacap | ||
Address lookup | View friendly names instead of boring addresses |
-------------------------- ------------ --------------------- ------------ | Lotus Miner | | | | Grafana | | Web Client | | lotus-exporter-farcaster | <------- | Prometheus | <------- | farcaster-dashboard | <------- | | -------------------------- ------------ --------------------- ------------ | | ------------------------- |-> | Lotus Daemon | | ------------------------- | | ------------------------- |-> | Lotus Markets | -------------------------Lotus farcaster comes with 2 Components :
A Grafana / Prometheus working environement (local or remote)
Locally installed on the miner node only
git clone https://github.com/s0nik42/lotus-farcaster.git cd lotus-farcaster/lotus-exporter-farcaster chmod +x install.sh ./install.sh LOTUS_USER_USERNAME
Farcaster can also run as a Docker container.
The container that corresponds to this repository will run the `docker_run_script.sh`
script which just loops over calling lotus-farcaster code at a specific frequency (default: every minute)
This can be overriden by editing the Dockerfile. In case execution exceed the set requency,
the execution restart after 10 seconds.
The output of the lotus-farcaster is written to `/data/farcaster.prom` inside the container which
should be a bind mount in prometheus node exporter path.
Optional : This could be use in conjunction with a dockerised version of prometheus
node_exporter (instructions to get the node_exporter container going
apt install docker.io docker build -t lotus-farcaster:latest -f dockerfiles/Dockerfile .
lotus-exporter-farcaster use 2 configuration files:
cd lotus-exporter-farcaster cp config.toml.example config.toml nano config.toml # Optional cp addresses.toml.example addresses.toml nano addresses.toml
export PROMETHEUS_NODE_EXPORTER_PATH="/var/lib/prometheus/node-exporter/" docker run --name lotus-farcaster -d \ --mount type=bind,source=$PROMETHEUS_NODE_EXPORTER_PATH,target=/data \ --network=host \ lotus-farcaster
docker ps [-a] docker logs lotus-farcaster docker exec -it lotus-farcaster bash
docker stop lotus-farcaster docker rm lotus-farcaster docker image rm lotus-farcaster
Import in Grafana the relevent dashboard file from ./lotus-farcaster/grafana-dashboard
If you're interested in contributing to the Grafana project: