Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloudrun service error alerting

while creating alert iam having trouble to look for specific string in generic Error .

Example: below Log query out puts all types of errors. if i want filter only some specific string like "DEADLINE_EXCEEDED: deadline exceeded" how can i do that, please help me here.

Log Query:resource.type = "cloud_run_revision" resource.labels.service_name = "test-api" resource.labels.location = "us-central1" severity>="ERROR" 

Solved Solved
0 1 900
1 ACCEPTED SOLUTION

Have you checked any specific documentation to achieve it? Take a look at this video [1] about how to avoid common alerting mistakes. Have you also taken a look at this documentation [2] [3]?

[1]:https://youtu.be/QMyS-upk9ZU

[2]:https://cloud.google.com/logging/docs/alerting/monitoring-logs  

[3]:https://cloud.google.com/logging/docs/alerting/log-based-alerts 

View solution in original post

1 REPLY 1

Have you checked any specific documentation to achieve it? Take a look at this video [1] about how to avoid common alerting mistakes. Have you also taken a look at this documentation [2] [3]?

[1]:https://youtu.be/QMyS-upk9ZU

[2]:https://cloud.google.com/logging/docs/alerting/monitoring-logs  

[3]:https://cloud.google.com/logging/docs/alerting/log-based-alerts 

Top Solution Authors