Split start/version reporting
This commit is contained in:
parent
9ca6a2d25b
commit
31dee553d5
|
@ -263,6 +263,7 @@ start() {
|
|||
startClient "$ipAddress" "$netLogDir/client-$ipAddress.log"
|
||||
done
|
||||
clientDeployTime=$SECONDS
|
||||
$metricsWriteDatapoint "testnet-deploy start=1"
|
||||
|
||||
if [[ $deployMethod = "snap" ]]; then
|
||||
IFS=\ read -r _ networkVersion _ < <(
|
||||
|
@ -270,10 +271,9 @@ start() {
|
|||
"snap info solana | grep \"^installed:\""
|
||||
)
|
||||
networkVersion=${networkVersion/0+git./}
|
||||
$metricsWriteDatapoint "testnet-deploy version=\"$networkVersion\""
|
||||
fi
|
||||
|
||||
$metricsWriteDatapoint "testnet-deploy start=1,version=\"$networkVersion\""
|
||||
|
||||
echo
|
||||
echo "================================================================="
|
||||
echo "Deployment finished at $(date)"
|
||||
|
|
Loading…
Reference in New Issue