From 81e17bad40234f46e5deaca508e23211e97f4b6f Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 16 Jan 2019 08:42:49 -0800 Subject: [PATCH] Failure to write a datapoint should not be fatal --- scripts/metrics-write-datapoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/metrics-write-datapoint.sh b/scripts/metrics-write-datapoint.sh index 3633dab3b..215d69a17 100755 --- a/scripts/metrics-write-datapoint.sh +++ b/scripts/metrics-write-datapoint.sh @@ -2,7 +2,6 @@ # # Send a metrics datapoint # -set -e point=$1 if [[ -z $point ]]; then @@ -18,3 +17,4 @@ fi echo "https://metrics.solana.com:8086/write?db=${INFLUX_DATABASE}&u=${INFLUX_USERNAME}&p=${INFLUX_PASSWORD}" \ | xargs curl --max-time 5 -XPOST --data-binary "$point" +exit 0