Google Stackdriver Monitoring to monitor each VM in a Instance Group

Viewed 212

We are using Managed Instance Group(MIG) in Google Cloud Platform. I have installed agent via a startup script, so it is able to send metrics

Requirement: Monitor VM disk utilisation for each instance in MIG and send alerts.

When a deployment is performed/ when the new VMs get created when there is a process of scaling, I have to filter each VMs after the deployment or for the newly created VM.

Is there a way to dynamically monitor VMs when we perform rolling replacements or for the newly created VM to create a chart?

0 Answers
Related