Monitor SLA
This policy monitors a set of run-time performance conditions for an API, and sends alerts to a specified destination when the performance conditions are violated. This policy enables you to monitor run-time performance for one or more specified applications. You can configure this policy to define a Service Level Agreement (SLA), which is a set of conditions that defines the level of performance that an application should expect from an API. You can use this policy to identify whether the API threshold rules are met or exceeded. For example, you might define an agreement with a particular application that sends an alert to the application if responses are not sent within a certain maximum response time. You can configure SLAs for each API or application combination.
Parameters like success count, fault count and total request count are immediate monitoring parameters and the evaluation happens immediately after the limit is breached. The rest of the parameters are Aggregated monitoring parameters whose evaluation happens once the configured interval is over. If there is a breach in any of the parameters, an event notification ( Monitor event) is sent to the configured destination. In a single policy, multiple action configurations behave as AND condition. The OR condition can be achieved by configuring multiple policies.
Property | Value | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Action Configuration. Specifies the type of action to be configured. | |||||||||||||||||||||||||||||||||||||||||
Name | Specifies the name of the metric to be
monitored.
You can select one of the available metrics:
|
||||||||||||||||||||||||||||||||||||||||
Operator | Specifies the operator applicable to the
metric selected.
Select one of the available operator: Greater Than, Less Than, Equals To. |
||||||||||||||||||||||||||||||||||||||||
Value | Specifies the alert value for which the monitoring is applied. | ||||||||||||||||||||||||||||||||||||||||
Destination | Specifies the destination where the alert
is to be logged.
Select the required options:
|
||||||||||||||||||||||||||||||||||||||||
Alert Interval | Specifies the time period (in minutes) in
which to monitor performance before sending an alert if a condition is
violated.
The timer starts once the API is activated and resets after the configured time interval. If and API is deactivated the interval gets reset and on API activation its starts afresh. |
||||||||||||||||||||||||||||||||||||||||
Unit | Specifies the unit of measurement of the
Alert Interval configured, to monitor
performance, before sending an alert. For example:
|
||||||||||||||||||||||||||||||||||||||||
Alert Frequency | Specifies how frequently to issue alerts
for the counter-based metrics (Total Request Count, Success Count, Fault
Count).
Select one of the options:
|
||||||||||||||||||||||||||||||||||||||||
Alert Message | Specifies the text to be included in the alert. | ||||||||||||||||||||||||||||||||||||||||
Consumer Applications | Specifies the application to which this
Service Level Agreement applies.
You can type a search term to match an application and
click
You can add multiple applications or delete an added
application by clicking
|