Create alert for Lambda Error

Hello Team,
I want to create alert from all lambda function. As from new relic alerts policies I can able to create alerts for “provider-error-sum”. Which is included 400 and 500 both.
Is there any chance we can only create alert for statuscode = 500 ?

Regards,
Sanket

Hi, @sjadhav2: You may execute the following query to see a list of available attributes in the ServerlessSample event:

SELECT keyset() FROM ServerlessSample

By default, it does not appear there is any way to monitor individual response codes. You may, however, add your own custom attributes or events to track response codes:

1 Like

This topic was automatically closed after 365 days. New replies are no longer allowed.