# US 2025/0156258 A1 · Granular monitoring and alerting system for microservices

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

- Number: US 2025/0156258 A1
- Document ID: US20250156258A1
- Status: Published application
- Kind: A1
- Application number: 18/509,700
- Filed: 2023-11-15
- Published: 2025-05-15
- Earliest claimed: 2023-11-15
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Sreekanth Kozhisseri Pattath; Sreeram V; Sudheernath Reddy Kaipa; Wei Li; Xiangjun Xiao; Vidhya K
- Web page: https://patentgrep.com/patent/US20250156258A1

## CPC

- G06F 11/0766: {Error or fault reporting or storing}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/301: {where the computing system is a virtual computing platform, e.g. logically partitioned systems (virtual machines G06F9/45533; logical partitioning of resources G06F9/5077)}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3409: {for performance assessment}
- G06F 11/3616: {using software metrics}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method may comprise obtaining thresholds for metrics for microservices, injecting metadata comprising the thresholds for each microservice into a pod within which the microservice is running, obtaining the metrics for the microservices, obtaining the corresponding metadata from the pod within which each microservice is running, determining that one of the thresholds for one of the microservices has been violated using the metadata of the microservice obtained from the corresponding pod of the microservice and the corresponding set of metrics for the microservice, and sending an alert to an electronic destination based on the determining that the threshold for the microservice has been violated. The alert may indicate that the threshold for the microservice has been violated.

## Claims

### Claim 1

A computer-implemented method comprising:
for each one of a plurality of microservices, obtaining a corresponding set of one or more thresholds for a corresponding set of one or more metrics of the microservice;
for each one of the plurality of microservices, injecting corresponding metadata into a pod within which the microservice is running, the metadata comprising the corresponding set of one or more thresholds for the microservice;
obtaining the corresponding set of one or more metrics for each one of the plurality of microservices;
for one of the plurality of microservices, obtaining the corresponding metadata from the pod within which the microservice is running;
determining that one of the thresholds in the corresponding set of one or more thresholds for the one of the plurality of microservices has been violated using the metadata of the microservice obtained from the corresponding pod of the microservice and the corresponding set of one or more metrics for the microservice; and
sending an alert to an electronic destination based on the determining that the one of the thresholds in the corresponding set of one or more thresholds for the one of the plurality of microservices has been violated, the alert indicating that the one of the thresholds for the one of the plurality of microservices has been violated.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein at least two of the plurality of microservices are running within a same pod as each other, the at least two of the plurality of microservices running within separate containers from each other.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the determining that the one of the thresholds has been violated comprises determining that one of the one or more thresholds has been exceeded based on one of metrics in the corresponding set of one or more metrics for the microservice.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the corresponding set of one or more metrics for the microservice comprises one or more metrics of usage of one or more resources of the pod within which the microservice is running, the one or more resources of the pod comprising a central processing unit, a memory, or a network.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the metadata comprises one or more key-value pairs mapping the set of one or more metrics for the microservice to the set of one or more thresholds for the microservice.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the injecting of the corresponding metadata into the pod within which the microservice is running comprises mounting the corresponding metadata in a file system of the pod.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the injecting of corresponding metadata into the pod within which the microservice is running comprises:
intercepting a request sent to a server of a container orchestration system, the request comprising a request to create a new pod or a request to update an existing pod; and
in response to the intercepting of the request, invoking the injecting of the corresponding metadata into the pod using a webhook.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the sending of the alert to the electronic destination comprises causing the alert to be displayed on a computing device.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the alert comprises an identification of the corresponding pod on which the one of the plurality of microservices is running and an identification of the one of the thresholds that had been violated.

### Claim 10

A system of comprising:
at least one hardware processor; and
a non-transitory computer-readable medium storing executable instructions that, when executed, cause the at least one hardware processor to perform computer operations comprising:
for each one of a plurality of microservices, obtaining a corresponding set of one or more thresholds for a corresponding set of one or more metrics of the microservice;
for each one of the plurality of microservices, injecting corresponding metadata into a pod within which the microservice is running, the metadata comprising the corresponding set of one or more thresholds for the microservice;
obtaining the corresponding set of one or more metrics for each one of the plurality of microservices;
for one of the plurality of microservices, obtaining the corresponding metadata from the pod within which the microservice is running;
determining that one of the thresholds in the corresponding set of one or more thresholds for the one of the plurality of microservices has been violated using the metadata of the microservice obtained from the corresponding pod of the microservice and the corresponding set of one or more metrics for the microservice; and
sending an alert to an electronic destination based on the determining that the one of the thresholds in the corresponding set of one or more thresholds for the one of the plurality of microservices has been violated, the alert indicating that the one of the thresholds for the one of the plurality of microservices has been violated.

### Claim 11 (depends on 10)

The system of claim 10, wherein at least two of the plurality of microservices are running within a same pod as each other, the at least two of the plurality of microservices running within separate containers from each other.

### Claim 12 (depends on 10)

The system of claim 10, wherein the determining that the one of the thresholds has been violated comprises determining that one of the one or more thresholds has been exceeded based on one of metrics in the corresponding set of one or more metrics for the microservice.

### Claim 13 (depends on 10)

The system of claim 10, wherein the corresponding set of one or more metrics for the microservice comprises one or more metrics of usage of one or more resources of the pod within which the microservice is running, the one or more resources of the pod comprising a central processing unit, a memory, or a network.

### Claim 14 (depends on 10)

The system of claim 10, wherein the metadata comprises one or more key-value pairs mapping the set of one or more metrics for the microservice to the set of one or more thresholds for the microservice.

### Claim 15 (depends on 10)

The system of claim 10, wherein the injecting of the corresponding metadata into the pod within which the microservice is running comprises mounting the corresponding metadata in a file system of the pod.

### Claim 16 (depends on 10)

The system of claim 10, wherein the injecting of corresponding metadata into the pod within which the microservice is running comprises:
intercepting a request sent to a server of a container orchestration system, the request comprising a request to create a new pod or a request to update an existing pod; and
in response to the intercepting of the request, invoking the injecting of the corresponding metadata into the pod using a webhook.

### Claim 17 (depends on 10)

The system of claim 10, wherein the sending of the alert to the electronic destination comprises causing the alert to be displayed on a computing device.

### Claim 18 (depends on 10)

The system of claim 10, wherein the alert comprises an identification of the corresponding pod on which the one of the plurality of microservices is running and an identification of the one of the thresholds that had been violated.

### Claim 19

A non-transitory machine-readable storage medium tangibly embodying a set of instructions that, when executed by at least one hardware processor, causes the at least one processor to perform computer operations comprising:
for each one of a plurality of microservices, obtaining a corresponding set of one or more thresholds for a corresponding set of one or more metrics of the microservice;
for each one of the plurality of microservices, injecting corresponding metadata into a pod within which the microservice is running, the metadata comprising the corresponding set of one or more thresholds for the microservice;
obtaining the corresponding set of one or more metrics for each one of the plurality of microservices;
for one of the plurality of microservices, obtaining the corresponding metadata from the pod within which the microservice is running;
determining that one of the thresholds in the corresponding set of one or more thresholds for the one of the plurality of microservices has been violated using the metadata of the microservice obtained from the corresponding pod of the microservice and the corresponding set of one or more metrics for the microservice; and
sending an alert to an electronic destination based on the determining that the one of the thresholds in the corresponding set of one or more thresholds for the one of the plurality of microservices has been violated, the alert indicating that the one of the thresholds for the one of the plurality of microservices has been violated.

### Claim 20 (depends on 19)

The non-transitory machine-readable storage medium of claim 19, wherein the determining that the one of the thresholds has been violated comprises determining that one of the one or more thresholds has been exceeded based on one of metrics in the corresponding set of one or more metrics for the microservice.
