Split start/version reporting

This commit is contained in:
Michael Vines 2018-09-06 12:14:32 -07:00
parent 9ca6a2d25b
commit 31dee553d5
1 changed files with 2 additions and 2 deletions

View File

@ -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)"