Change Threshold Settings
About this task
Threshold settings refer to the values used to set a specific limit for a particular variable or a system.
These settings are used to specify a variable's acceptable range of values, and if the variable's value comes within that range, a specific action is taken.
API Control Plane has the following major threshold settings:
- Trend threshold settings. Trend threshold settings refer to the values
used to define a particular trend or pattern in a time series data. These settings are used to
identify when the data is deviating from its expected trend or pattern, and trigger a particular
action.
API Control Plane has upward and downward trend threshold settings for APIs and runtimes.
- Performance threshold settings. Performance threshold settings refer to
the values used to measure the performance of a system, or a service. These settings are used to
determine when the performance of the system, or a service is outside of the acceptable range, and
trigger a particular action.
API Control Plane measures the performance threshold settings for data planes and runtimes based on the latency and error rate parameters.
The trend and performance threshold settings depend on the following parameters,
- Number of transactions. The total number of transactions handled by a runtime.
- Error rate. The total number of failed transactions in a runtime.
- Response time. The total time taken to process an incoming API request and send the response to the client. It includes the time that is taken by API Gateway and the backend service to process the request.
- Latency. The time taken by API Gateway to process an API request. It does not include the time that is taken by the backend service to process the request.
By setting the threshold for these parameters, you can monitor APIs and runtimes for an upward or improving trend and a downward or deteriorating trend. You can set a performance threshold for the data planes and runtimes. Any deviaton from the set threshold values is displayed in the dashboard.
You can also closely monitor the APIs, runtimes, and data planes to make informed business decisions.