Emit a metrics datapoint if bench-tps terminates
This commit is contained in:
parent
5fa072cf16
commit
1b79fe73a1
|
@ -162,6 +162,8 @@ client_start() {
|
|||
if [[ \$threadCount -gt 4 ]]; then threadCount=4; fi; \
|
||||
tmux new -s solana -d \" \
|
||||
/snap/bin/solana.bench-tps $SOLANA_NET_URL $fullnode_count --loop -s 600 --sustained -t \$threadCount 2>&1 | tee /tmp/solana.log; \
|
||||
echo 'https://metrics.solana.com:8086/write?db=${INFLUX_DATABASE}&u=${INFLUX_USERNAME}&p=${INFLUX_PASSWORD}' \
|
||||
| xargs curl -XPOST --data-binary 'testnet-deploy,name=$netName clientexit=1'; \
|
||||
echo Error: bench-tps should never exit; \
|
||||
bash \
|
||||
\"; \
|
||||
|
|
Loading…
Reference in New Issue