Failure to write a datapoint should not be fatal
This commit is contained in:
parent
97d90b99e2
commit
81e17bad40
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue