Resources for Developers

Alerts About Application Metrics

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:

Alert Parameters

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…).
  • Metric:
    1. CPU: percentage of CPU consumption
    2. RAM: percentage of memory consumption
    3. Swap: percentage of swap consumption
    4. Response time: 95th percentile of the requests response time
    5. 5xx errors: amount of HTTP errors (status code ranges from 500 to 599)
    6. RPM: requests per minute (RPM) received by your application.
    7. 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.

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 scalingo-platform:

An event is also generated when an alert is created or deleted:


mode_edit Suggest edits