Scalingo lets you create alerts based on an application metric. When the metric’s value goes above or below a user-defined limit, Scalingo sends a notification on some specified notifiers. See this page for more information about the notifiers.
An alert can be added to an application by going to the “Notifications” tab of your app:
In order to create a new alert, a few parameters must be provided:
- Container type: can be any container type of an application (e.g. web, clock…).
- CPU: percentage of CPU consumption
- RAM: percentage of memory consumption
- Swap: percentage of swap consumption
- Response time: 95th percentile of the requests response time
- 5xx errors: amount of HTTP errors (status code ranges from 500 to 599)
- RPM: requests per minute (RPM) received by your application.
- RPM per container: If your application is scaled on multiple containers, the RPM per container divides the RPM of the application by the amount of containers.
- Limit: any float value.
- Send when below: send the alert when metric value is below the limit.
- Notifiers: list of notifiers the alert send a notification to.
- Duration before trigger: send the alert when metric value is above the limit for the specified duration. For example, specifying 4 minutes means that the alert will be triggered if the limit is reached for 4 consecutive minutes.
Monitoring alert events
Every time an alert is triggered, an event is created. This event appears on the application’s
timeline. The user responsible for the operation is labeled
An event is also generated when an alert is created or deleted: