You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rtannenbaum
changed the title
GCP: Add Stackdriver setup to VM startup script for #41
GCP: Add Stackdriver setup to GCP/GKE setup script for #41
Jan 14, 2018
Actually by enabling Stackdriver in the GCP project, and creating an account name (= project name) and starting the free trial, it automatically started reporting the builtin metrics.
So luckily, no VM/startup script adjustment is necessary
We should still script the enabling of Stackdriver in the GCP/GKE setup script
We will provide a generic Java interface for metrics writing for #41. For GCP, we will hook this up to write to Stackdriver.
Stackdriver includes logging and monitoring agents for VMs. This monitors some metrics for free such as CPU utilization.
We should script the creation of a Stackdriver account (or point to an existing one) in our GCP project setup script
We should also add a VM startup script:
https://cloud.google.com/compute/docs/startupscript
and include Stackdriver agents in the VM start up script:
To install the Stackdriver monitoring agent:
$ curl -sSO https://repo.stackdriver.com/stack-install.sh
$ sudo bash stack-install.sh --write-gcm
To install the Stackdriver logging agent:
$ curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh
$ sudo bash install-logging-agent.sh
The text was updated successfully, but these errors were encountered: