Failure to write a datapoint should not be fatal
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user