Adapt testnet-deploy metric datapoint names to {,bootnode-}fullnode

This commit is contained in:
Michael Vines 2018-12-06 08:04:01 -08:00
parent a20c1b4547
commit f0fe089013
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
2 changed files with 3 additions and 3 deletions

View File

@ -307,7 +307,7 @@ start() {
declare bootstrapNodeDeployTime=
startBootstrapNode "$bootstrapFullNodeIp" "$netLogDir/bootstrap-fullnode-$bootstrapFullNodeIp.log"
bootstrapNodeDeployTime=$SECONDS
$metricsWriteDatapoint "testnet-deploy net-leader-started=1"
$metricsWriteDatapoint "testnet-deploy net-bootnode-fullnode-started=1"
SECONDS=0
pids=()
@ -331,7 +331,7 @@ start() {
fi
done
$metricsWriteDatapoint "testnet-deploy net-validators-started=1"
$metricsWriteDatapoint "testnet-deploy net-fullnodes-started=1"
additionalNodeDeployTime=$SECONDS
sanity

View File

@ -68,7 +68,7 @@ snap)
ln -sf -T /var/snap/solana/current/leader/current fullnode.log
ln -sf -T /var/snap/solana/current/drone/current drone.log
else
nodeConfig="mode=validator $commonNodeConfig"
nodeConfig="mode=fullnode $commonNodeConfig"
ln -sf -T /var/snap/solana/current/validator/current fullnode.log
fi