Alert on cloud function memory and/or timeout exceeding

281 views
Skip to first unread message

Sergii Kalashnyk

unread,
Mar 21, 2021, 12:48:11 PM3/21/21
to Google Stackdriver Discussion Forum
Hi All!

Is there a way to set stackdriver alert on cloud function memory and/or timeout exceeding?

Thanks

Mary Koes

unread,
Mar 21, 2021, 9:18:23 PM3/21/21
to Sergii Kalashnyk, Google Stackdriver Discussion Forum
Hi Sergii,

There are a number of metrics for Cloud Functions that are available out of the box. In particular, this may be helpful:
  • execution_times: 
    • memory: Memory assigned to function in MB.
    • status: Execution status of the function: 'ok', 'timeout', 'error', 'crash', 'out of memory', 'out of quota', 'load error', 'load timeout', 'connection error', 'invalid header', 'request too large', 'system error', 'response error', 'invalid message'.
    • trigger_type: Function's trigger type.
Have a great day!

Mary

--
© 2020 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/8009d1ae-094b-4aeb-a221-8f187d7d7a08n%40googlegroups.com.

Sergii Kalashnyk

unread,
Mar 22, 2021, 11:52:47 AM3/22/21
to Google Stackdriver Discussion Forum
Mary, thanks!

Seems, this is what I'm looking for.

понеділок, 22 березня 2021 р. о 03:18:23 UTC+2 mk...@google.com пише:
Reply all
Reply to author
Forward
0 new messages