Is there an instance name variable? I only found the instance id variable ${resource.label.instance_id}

Skip to first unread message

Isaac Valero

Jun 1, 2022, 4:35:30 PMJun 1
to gce-discussion
I created a log-based metrics alert that notifies me when a virtual machine is powered on or off, but it doesn't show me the instance name, just the instance id. Is there a way to display the instance name in the mail sent by the alert?

Gabriel Robledo Ahumada

Jun 3, 2022, 11:40:20 AMJun 3
to gce-discussion
You can try with metric.labels.instance_name
Reply all
Reply to author
0 new messages