picatz / terraform-google-nomad

📗 Terraform Module for Nomad clusters with Consul on GCP
https://registry.terraform.io/modules/picatz/nomad/google
MIT License
78 stars 16 forks source link

Install the Stackdriver monitoring agent #40

Closed picatz closed 2 years ago

picatz commented 2 years ago

To start getting the builtin observability features working.

curl -sSO https://dl.google.com/cloudagents/add-monitoring-agent-repo.sh && sudo bash add-monitoring-agent-repo.sh --also-install && sudo service stackdriver-agent start

Likely need to add a new scope to the vm module:

https://www.googleapis.com/auth/monitoring.write