npm install gcmetrics -g
gcmetric -t auth -s 288173501788-9fh14iojjmehakjtgkhoubdiaguppn1h@developer.gserviceaccount.com \
-k $HOME/.gcpkeys/mitac-cp300-taipei101/mitac-cp300-taipei101-8c0662095ef9.pem \
-p mitac-cp300-taipei101
gcmetric -t init -n mymetric -i firstid -d "test first id"
while [ true ] ; do gcmetric -t simple -n mymetric -d `free | grep Mem | awk '{print $3}'`; sleep 3 ; done
Cloud Monitor is made by StackDriver and integrated to Google Cloud Platform, we can easily integrate it with chart and alert...
Setting the dashboard chart...
The chart from custom metric...