Overview
IncidentFox provides 8 AI/ML-powered tools for anomaly detection, forecasting, and correlation analysis. These tools use statistical methods and Facebook Prophet for sophisticated time series analysis.Tools Available
| Tool | Description |
|---|---|
detect_anomalies | Z-score statistical anomaly detection |
prophet_detect_anomalies | Prophet-based seasonal anomaly detection |
find_change_point | Identify when metrics behavior changed |
correlate_metrics | Find relationships between metrics |
forecast_metric | Capacity planning forecasts |
prophet_forecast | Prophet-based seasonal forecasting |
prophet_decompose | Decompose trend, seasonality, residuals |
analyze_metric_distribution | Statistical distribution analysis |
detect_anomalies
Z-score based anomaly detection for quick analysis:- Calculates mean and standard deviation
- Identifies points > N standard deviations from mean
- Returns anomalous time periods
prophet_detect_anomalies
Seasonal anomaly detection using Facebook Prophet:- Accounts for seasonality (daily, weekly patterns)
- Handles trends
- Provides uncertainty intervals
- Better for business metrics with patterns
- Anomalous periods with confidence scores
- Expected vs actual values
- Uncertainty bounds
find_change_point
Identify when metric behavior fundamentally changed:- Identify incident start time
- Detect deployment impacts
- Find gradual degradation onset
correlate_metrics
Find relationships between metrics:- Pearson correlation coefficient
- Lag correlation (time-shifted relationships)
- Causal direction hints
forecast_metric
Linear forecasting for capacity planning:- Predicted values with confidence intervals
- Time to threshold (e.g., “disk full in 5 days”)
- Trend direction and rate
prophet_forecast
Sophisticated seasonal forecasting:- Daily and weekly seasonality
- Holiday effects
- Trend changes
- Uncertainty quantification
prophet_decompose
Decompose time series into components:- Trend component
- Seasonal component (daily, weekly)
- Residual (unexplained variation)
- Understand underlying patterns
- Separate signal from noise
- Identify true anomalies vs seasonal variation
analyze_metric_distribution
Statistical distribution analysis:- Percentiles (p50, p90, p95, p99)
- Mean, median, mode
- Standard deviation
- Distribution shape (normal, skewed, bimodal)
Configuration
Global Settings
Prophet Settings
Use Cases
Incident Investigation
- Use
find_change_pointto identify when issue started - Apply
detect_anomaliesto find related metric spikes - Use
correlate_metricsto identify root cause
Capacity Planning
- Use
prophet_forecastto predict growth - Identify time to capacity threshold
- Plan scaling actions
Pattern Understanding
- Use
prophet_decomposeto understand patterns - Separate business cycles from anomalies
- Set appropriate alerting thresholds
Best Practices
Data Quality
- Ensure sufficient historical data (minimum 2 weeks for Prophet)
- Handle missing data points
- Remove known maintenance windows
Threshold Selection
| Use Case | Z-Score Threshold |
|---|---|
| Strict alerting | 2.0 |
| Normal alerting | 3.0 |
| Loose alerting | 4.0 |
Seasonality
Enable appropriate seasonality for your metrics:- API traffic: daily + weekly
- Batch jobs: specific schedule
- Infrastructure: often no seasonality

