Failure to write a datapoint should not be fatal

This commit is contained in:
Michael Vines 2019-01-16 08:42:49 -08:00 committed by Grimes
parent 97d90b99e2
commit 81e17bad40
1 changed files with 1 additions and 1 deletions

View File

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