I have a metric on Stackdriver, which filter my application logs. When a log pass by this filter, I want to send this logs by email, to fast act on this.
I created a policy in Stackdriver, added the metric and the label(which contains the information that I need) to the policy condition and added the email to notification chanels. But I receive emails with defaults title and body, not distinguing by label's metric type.
Is there any way to modify this email, adding the content of the label in title email?
Ps: I Tried put variables in the Documentation by this link https://cloud.google.com/monitoring/alerts/doc-variables#doc-vars , but not working.