# US 2021/0286699 A1 · Automated selection of performance monitors

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286699 A1
- Document ID: US20210286699A1
- Status: Published application
- Kind: A1
- Application number: 16/818,656
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Saurabh Jha; Amos A. Omokpo; Karthick Rajamani; HariGovind Venkatraj Ramasamy
- Web page: https://patentgrep.com/patent/US20210286699A1

## CPC

- G06F 11/3452: {Performance evaluation by statistical analysis}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/327: {Alarm or error message display}
- G06F 11/3409: {for performance assessment}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 20/00: Machine learning
- H04L 41/142: using statistical or mathematical methods
- H04L 41/16: using machine learning or artificial intelligence
- H04L 41/5009: Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
- H04L 41/5019: Ensuring fulfilment of SLA
- H04L 43/0852: Delays
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An embodiment includes extracting statistical data associated with invocation of an application programming interface (API) from a log and using the statistical data to calculate a performance value and generate an aggregate dataset that combines the performance value with performance values associated with other invocations of the API. The embodiment includes calculating metric values for performance values for respective time intervals of a time period and calculating mean and standard deviation values of the metric values for the time period. The embodiment includes selecting the API as a candidate API and detecting a Customer Impacting Event (CIE) by applying a machine learning algorithm using monitored values associated with the candidate API during a time frame defined by a rolling window. The embodiment also includes automatically initiating a selected alert from among a plurality of alert options based at least in part on the monitored values associated with the CIE.

## Claims

### Claim 1

A computer implemented method comprising:
extracting, by a processor, statistical data from an application programming interface (API) call log, the statistical data being associated with an invocation of an API by an application;
calculating, by the processor, a performance value associated with the invocation of the API using the statistical data;
generating, by the processor, an aggregate dataset that combines the performance value associated with the invocation of the API with performance values associated with respective previous invocations of the API;
calculating, by the processor, metric values for respective time intervals of a time period, wherein the metric values are associated with performance values during the respective time intervals;
calculating, by the processor, mean and standard deviation values of the metric values for the time period;
selecting, by the processor, the API as a candidate API, the API being selected from among a plurality of APIs based at least in part on criteria involving performance values of the APIs;
detecting, by the processor, a Customer Impacting Event (CIE) by applying a machine learning algorithm using monitored values associated with the candidate API during a time frame defined by a rolling window; and
responsive to the detecting of the CIE, automatically initiating, by the processor, a selected alert from among a plurality of alert options based at least in part on the monitored values associated with the CIE.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the statistical data includes response time data and arrival rate data.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, wherein the extracting further comprises extracting statistical data from the API call log associated with invocation of a plurality of APIs, the plurality of APIs including said API.

### Claim 4 (depends on 1)

The computer implemented method of claim 1, wherein the calculating of a performance value comprises calculating a response time.

### Claim 5 (depends on 1)

The computer implemented method of claim 1, wherein the calculating of a performance value further comprises calculating an arrival rate.

### Claim 6 (depends on 1)

The computer implemented method of claim 1, wherein a type of metric used for calculating the metric values is selected from the group consisting of a median value, a 95th percentile value, and a 99th percentile value.

### Claim 7 (depends on 1)

The computer implemented method of claim 1, wherein the time intervals include a plurality of equal time intervals.

### Claim 8 (depends on 1)

The computer implemented method of claim 1, wherein the machine learning algorithm provides an indication of monitored values that are outlier values indicative of the CIE.

### Claim 9 (depends on 1)

The computer implemented method of claim 1, wherein the monitored values comprise response time values and arrival rate values.

### Claim 10 (depends on 1)

The computer implemented method of claim 1, wherein the plurality of alert options include an outage alert and a performance alert.

### Claim 11

A computer program product for automated selection of performance and reliability monitors, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations comprising:
extracting, by a processor, statistical data from an application programming interface (API) call log, the statistical data being associated with an invocation of an API by an application;
calculating, by the processor, a performance value associated with the invocation of the API using the statistical data;
generating, by the processor, an aggregate dataset that combines the performance value associated with the invocation of the API with performance values associated with respective previous invocations of the API;
calculating, by the processor, metric values for respective time intervals of a time period, wherein the metric values are associated with performance values during the respective time intervals;
calculating, by the processor, mean and standard deviation values of the metric values for the time period;
selecting, by the processor, the API as a candidate API, the API being selected from among a plurality of APIs based at least in part on criteria involving performance values of the APIs;
detecting, by the processor, a CIE by applying a machine learning algorithm using monitored values associated with the candidate API during a time frame defined by a rolling window; and
responsive to the detecting of the CIE, automatically initiating, by the processor, a selected alert from among a plurality of alert options based at least in part on the monitored values associated with the CIE.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the stored program instructions are stored in a computer readable storage device in a data processing system, and wherein the stored program instructions are transferred over a network from a remote data processing system.

### Claim 13 (depends on 11)

The computer program product of claim 11, wherein the stored program instructions are stored in a computer readable storage device in a server data processing system, and wherein the stored program instructions are downloaded over a network to a remote data processing system for use in a computer readable storage device associated with the remote data processing system, further comprising:
metering use of the computer usable code associated with the request; and
generating an invoice based on the metered use.

### Claim 14 (depends on 11)

The computer program product of claim 11, wherein the statistical data includes response time data and arrival rate data.

### Claim 15 (depends on 11)

The computer program product of claim 11, wherein a type of metric used for calculating the metric values is selected from the group consisting of a median value, a 95th percentile value, and a 99th percentile value.

### Claim 16 (depends on 11)

The computer program product of claim 11, wherein the plurality of alert options include an outage alert and a performance alert.

### Claim 17

A computer system comprising a processor and one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by the processor to cause the processor to perform operations comprising:
extracting, by a processor, statistical data from an application programming interface (API) call log, the statistical data being associated with an invocation of an API by an application;
calculating, by the processor, a performance value associated with the invocation of the API using the statistical data;
generating, by the processor, an aggregate dataset that combines the performance value associated with the invocation of the API with performance values associated with respective previous invocations of the API;
calculating, by the processor, metric values for respective time intervals of a time period, wherein the metric values are associated with performance values during the respective time intervals;
calculating, by the processor, mean and standard deviation values of the metric values for the time period;
selecting, by the processor, the API as a candidate API, the API being selected from among a plurality of APIs based at least in part on criteria involving performance values of the APIs;
detecting, by the processor, a CIE by applying a machine learning algorithm using monitored values associated with the candidate API during a time frame defined by a rolling window; and
responsive to the detecting of the CIE, automatically initiating, by the processor, a selected alert from among a plurality of alert options based at least in part on the monitored values associated with the CIE.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the statistical data includes response time data and arrival rate data.

### Claim 19 (depends on 17)

The computer system of claim 17, wherein a type of metric used for calculating the metric values is selected from the group consisting of a median value, a 95th percentile value, and a 99th percentile value.

### Claim 20 (depends on 17)

The computer system of claim 17, wherein the plurality of alert options include an outage alert and a performance alert.
