Alerting & Policies

Dashbird Policies allow us to customize the behavior of alarms, errors, or insights. Using policies, we can customize what alarms, errors, or insights we would like to get notified about, how we would like to get notified about, and on what notification channels. A separate policy can be set up for each alarm, error, and insight.

For example, we could set Dashbird to raise an incident whenever memory consumption is above 90%, on average, over a period of 15 minutes.

It is possible to combine filters in seven different dimensions:

  • Type of request (invocations in general, cold starts, errors, etc)
  • Metric (cost, duration, memory usage, etc)
  • Inequality operator (above or below a certain threshold)
  • A given number to compare against the metric monitored
  • Aggregation factor (sum, average, minimum, maximum)
  • Time-period to look for the comparison (last minute, 5 or 10 minutes, for example)
  • Target Lambdas (to which functions this policy should apply – can be all your Lambdas)

Creating a policy is simple:

  • Go to settings and click on Notifications under the Account section.
  • Under the policy section click “Add new policy”.
  • Provide a suitable name for the policy and select one for more destinations.

dashbird policies

 

  • Now click on “Add Condition” to add an alarm, error or insight condition for the policy.

dashbird policies

  • For errors, we can select what lambda events we would like to get notified about either (new and reopened or all events). We can select the severity level of the lambda error event we would like to get notified about (critical, warning, info). We can set filters on the type of errors (crash, timeout, out of memory etc) and also set filters on the resources or resource groups.

dashbird policies

 

  • For insight conditions, just like errors we can select the severity level of events we would like to get insight notifications (critical, warning, info).
  • We can also set filters on the type of services we would like to get insight notifications and also set filters on the specific resources or resource groups.

dashbird policies

 

Can’t find what you’re looking for? We’d love to help. Send us a message through the chat bubble or email us.

No results found