Dynamic Metric Thresholding for Microservice Anomaly Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional service monitoring systems rely heavily on subject matter experts to set performance thresholds, which becomes impractical as systems scale, especially with microservice architectures, leading to increased workload and false positive/false negative alerting issues.

Innovation Solution

A monitoring server dynamically generates metric thresholds based on previously collected data and uses machine learning to classify metrics as normal or anomalous, enabling automatic detection and potential auto-fix actions without human intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If subject matter experts manually set performance thresholds for each service metric, then alert accuracy can be maintained, but the workload increases multiplicatively with the number of services and metrics

Engineering Contradiction:
Improvealert accuracyVSAvoidworkload
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The monitoring system automatically learns and sets performance thresholds for service metrics without requiring manual configuration by subject matter experts. The system collects historical metric data, analyzes patterns, and dynamically determines thresholds autonomously, eliminating the multiplicative workload while maintaining detection accuracy through data-driven insights

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system dynamically adjusts performance thresholds based on learned patterns from historical data rather than using static manually-set values. Thresholds are continuously optimized by analyzing metric variations, seasonal patterns, and service behavior changes, allowing the system to adapt to evolving service performance characteristics without expert intervention

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If the number of services and microservices increases, then system functionality and scalability improve, but the demand on subject matter experts scales similarly

Engineering Contradiction:
Improvesystem scalabilityVSAvoidmonitoring complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The monitoring system implements a universal threshold learning mechanism that automatically applies to any service or microservice without requiring service-specific configuration. The same automated threshold determination process handles diverse service types, metrics, and architectures uniformly, enabling the system to scale across hundreds or thousands of services while maintaining consistent monitoring quality

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system introduces an automated threshold determination layer between the raw service metrics and the alerting mechanism. This intermediary component learns service-specific patterns through historical data analysis and translates complex multi-service metrics into standardized threshold evaluations, reducing the complexity burden on experts while maintaining scalability

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of manufacture

If conventional service monitoring with manual thresholds is used, then implementation is straightforward, but false positive and false negative alerting issues occur

Engineering Contradiction:
Improveimplementation simplicityVSAvoidalert reliability
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The system continuously monitors service metrics and uses feedback from historical data to refine and adjust performance thresholds. By analyzing patterns in metric variations, alert outcomes, and service behavior over time, the system dynamically optimizes thresholds to reduce false positives and false negatives while maintaining implementation simplicity through automated adaptation rather than complex manual tuning

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11281552B2Self-learning alerting and anomaly detection
Publication Date: 2022.03.22 VISA INTERNATIONAL SERVICE ASSOCIATION
  • US11281552B2 patent drawing
  • US11281552B2 patent drawing
  • US11281552B2 patent drawing

AI summary

Methods and systems for evaluating metrics (e.g., quality of service metrics) corresponding to a monitored computer, detecting metric anomalies, and issuing alerts, are disclosed. A metrics collecting agent, operating on a monitored computer, collects metrics corresponding to the monitored computer and/or one or more monitored services. These metrics are transmitted to a monitoring server that dynamically determines metric thresholds corresponding to normal metrics and anomalous metrics. Using these metric thresholds, along with a machine learning model, the monitoring server can determine whether one or more metrics are anomalous, automatically issue alerts to security and operations teams, and/or transmit a control instruction to the monitored computer in order to fix the issue causing the anomalous metrics.