feat: telemetry census — node population vs distinct authors
deploy / fetch (push) Successful in 16s
deploy / deploy-node (bob.hanzalova.internal, 0x134e73f06fa9bdb1dbfa909e149c563f5860ceb71a0e7307918f7033970edf59, benjy.hanzalova.internal quadbrat.hanzalova.internal, --public-addr /dns4/nh.thgttg.com/tcp/30333, --unsafe-rpc-external --rpc-methods safe --rpc-c… (push) Successful in 34s
deploy / deploy-miner (1, quadbrat.hanzalova.internal, bob.hanzalova.internal) (push) Successful in 40s
deploy / deploy-miner (1, benjy.hanzalova.internal, bob.hanzalova.internal) (push) Successful in 42s
deploy / deploy-metrics (push) Successful in 9s
deploy / fetch (push) Successful in 16s
deploy / deploy-node (bob.hanzalova.internal, 0x134e73f06fa9bdb1dbfa909e149c563f5860ceb71a0e7307918f7033970edf59, benjy.hanzalova.internal quadbrat.hanzalova.internal, --public-addr /dns4/nh.thgttg.com/tcp/30333, --unsafe-rpc-external --rpc-methods safe --rpc-c… (push) Successful in 34s
deploy / deploy-miner (1, quadbrat.hanzalova.internal, bob.hanzalova.internal) (push) Successful in 40s
deploy / deploy-miner (1, benjy.hanzalova.internal, bob.hanzalova.internal) (push) Successful in 42s
deploy / deploy-metrics (push) Successful in 9s
The chain can only see miners that WIN blocks. A miner too small to take a block in any given window is invisible in the authorship leaderboard while still being connected and still burning electricity. Telemetry sees every node, so the two series together answer a question neither can alone: nodes flat while distinct authors falls means small miners are being out-competed, not quitting. Measured on the live feed: 32 nodes against 9-21 distinct authors, 229 aggregate CPU cores, 15 VMs, and five client versions in the wild -- half the network is still on 0.6.x/0.7.x/0.8.x, which is a fork risk at a runtime upgrade and worth knowing before 2026-09-09. python3-websockets is a SOFT dependency, packaged not pip: without it the exporter serves every chain metric and reports quantus_telemetry_up 0, so a missing package degrades rather than breaks. infra-setup.sh installs it and treats failure as non-fatal. The genesis hash is discovered from the node rather than configured -- one less value to get wrong when the chain changes for mainnet.
This commit is contained in:
@@ -121,6 +121,17 @@ provision_node() {
|
||||
# journalctl -u <unit> for the deploy's log capture, without sudo.
|
||||
usermod -aG systemd-journal gitea_ci
|
||||
|
||||
# Soft dependency for the arena exporter's telemetry feed. Packaged, never
|
||||
# pip. Its absence only disables telemetry metrics — the exporter still
|
||||
# serves every chain metric — so this is deliberately not fatal.
|
||||
if python3 -c "import websockets" >/dev/null 2>&1; then
|
||||
echo " = python3-websockets already present"
|
||||
elif dnf install -y python3-websockets >/dev/null 2>&1; then
|
||||
echo " + installed python3-websockets"
|
||||
else
|
||||
echo " ! could not install python3-websockets — telemetry metrics will be disabled" >&2
|
||||
fi
|
||||
|
||||
tmp=/etc/sudoers.d/.quantus-node_gitea_ci.tmp
|
||||
cat > "$tmp" <<'SUDO'
|
||||
gitea_ci ALL=(root) NOPASSWD: /usr/bin/rsync * /usr/local/bin/quantus-node
|
||||
|
||||
Reference in New Issue
Block a user