Stackdriver missing error log metrics.

61 views
Skip to first unread message

Jack Duan

unread,
Jun 20, 2016, 2:00:48 PM6/20/16
to Google Cloud Monitoring Beta Forum
This is my Google AppEngine Log, it has quite some Error log entries in that two days,

However I can't find the same Error log metrics using Stackdriver when I try to setup a policy alert, I probably did something wrong, but played with it for 30 minutes without any luck, any ideas from your end?






Btw this is really a cool product!

Jack

Amir Hermelin

unread,
Jun 20, 2016, 2:08:21 PM6/20/16
to Jack Duan, Google Cloud Monitoring Beta Forum
Jack,
the reason you're not finding the metric is probably because you haven't created the log-based metric. Note the "create metric" button right under the top red box in your screenshot - did you try that?
That being said, with app engine there's an easier way: app engine already counts your 5xx errors and ingests this as ts (in addition to many other metrics). What you could do is simply create a policy, choose app engine as the resource target, and from the metric dropdown choose 5XX responses. LMK if that works for you.

--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Cloud Monitoring Beta Discussion Google Group (gc-monitoring-...@googlegroups.com) to participate in discussions with other members of the Google Cloud Monitoring Beta community and the Google Cloud Monitoring Team.
---
You received this message because you are subscribed to the Google Groups "Google Cloud Monitoring Beta Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gc-monitoring-beta-d...@googlegroups.com.
To post to this group, send email to gc-monitoring-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gc-monitoring-beta-discussion/ca2ed3b7-56db-4309-ac9e-694af286c6cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Amir Hermelin | Product Manager, Cloud & Infrastructure | am...@google.com | 408-982-6470
Reply all
Reply to author
Forward
0 new messages