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

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

Suggest edits

Alerts About Application Metrics

©2024 Scalingo