Anomalies
Overlay a band on the metric, showing the expected behavior of a series based on past values.
Kloudfuse provides these possible implementations of anomaly detection:
basic
Implements the Rolling quantile algorithm.
sampling interval :
Sampling intervals are 1m, 2m, 3m, 5m, 10m, 15m, 30m, 1h, and 2h.
Numeric parameter
Has the possible values of 1, 2, or 3.
agile
Implements the SARIMA algorithm.
Numeric parameter
Has the possible values of 1, 2, or 3.
The Basic Anomaly Detection algorithm calculates a predicted range using the 25th and 75th quantiles and the interquartile range (IQR) within a rolling window. This range helps determine the expected "normal" behavior, while deviations outside this range are flagged as anomalies.
Parameters
Window: Defines the size of the rolling window used for quantile computation. A larger window smooths the data but may reduce sensitivity to sudden changes.
Band: Sets the sensitivity of anomaly detection. A narrower band makes the algorithm more sensitive to deviations, while a wider band captures more data as "normal."
Example
In the example above, the time series graph displays query throughput over a period. The gray band represents the expected range based on recent data, while red markers indicate anomalies—data points outside the predicted range. Here, a sudden drop in throughput during peak hours is flagged as an anomaly, allowing for quick detection and investigation.
Use Case
Basic Anomaly Detection is ideal for monitoring metrics with frequent, non-seasonal fluctuations, where rapid response to changes is essential. Use it to detect unexpected spikes or drops without needing to account for cyclic patterns or trends.
robust
Implements the Seasonal decompose algorithm.
sampling interval
Sampling intervals are 1m, 2m, 3m, 5m, 10m, 15m, 30m, 1h, and 2h.
Numeric parameter
Has the possible values of 1, 2, or 3.
agile-robust
Implements the Prophet algorithm.
sampling interval
Sampling intervals hourly, daily, or weekly.
Numeric parameter
Has the possible values of 1, 2, or 3.
Outlier:
Highlight outliers series.
Kloudfuse provides the DBSCAN implementation of outlier detection.
Configure the Tolerance Level
In DBSCAN, the tolerance level (referred to as eps
) determines the radius of the neighborhood around each point for clustering purposes. In this example, eps
is set to 0.8, which controls the sensitivity of outlier detection. A lower tolerance will detect more subtle outliers, while a higher tolerance will detect only the most significant deviations.
Visualization
The chart displays the results of DBSCAN outlier detection applied to the selected metric over time. In the visualization:
Solid Lines represent data series flagged as outliers. These indicate instances where the data behavior deviates significantly from the norm based on the defined tolerance.
Dotted Lines represent data series identified as non-outliers, meaning they exhibit expected behavior relative to their peers.
In the following examples, a cube root transformation is applied to the data before DBSCAN processing. The choice of eps
significantly affects the number of detected outliers:
Tolerance = 0.8
In the first example ,eps
is set to 0.8, making the detection process highly sensitive to deviations. As a result:Solid lines in the chart represent data points marked as outliers, where even small deviations from the normal pattern are detected.
Dotted lines indicate non-outliers, showing stable or expected behavior.
Tolerance = 5
In the second example ,eps
is increased to 5. With this higher tolerance:Only significant deviations are identified as outliers, with most series marked as dotted lines (non-outliers).
Solid lines (outliers) appear only for major deviations, filtering out more minor deviations.
This setting is appropriate when you only want to capture large deviations and are not concerned with smaller fluctuations in the data.
Forecasting :
Forecasting allows users to predict future values in a time series based on historical data, enabling proactive monitoring and resource planning. By forecasting trends and patterns, users can anticipate potential issues, optimize resource allocation, and make data-driven decisions. Our platform supports two forecasting algorithms tailored to different data characteristics and forecasting needs:
Linear Forecast (Linear Regression):
A straightforward method for forecasting based on a linear trend in the data. This approach is well-suited for time series that exhibit a consistent trend without significant seasonal variations. Linear forecasting can help identify steady growth or decline over time, making it ideal for simple trend prediction.
Seasonal Forecast (Prophet):
Prophet is a sophisticated forecasting model designed to handle time series data with seasonal patterns and holiday effects. This algorithm is especially effective for data that shows recurring patterns (e.g., hourly, daily, weekly) and is capable of capturing seasonality and trends. Seasonal forecasting is suitable for applications with clear cyclical behaviors.