elastic / elastic/observability-migration-platform

[Datadog] Forecast-Based Warning (Predictive Alerting)

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
asset:alerts capabilities phase:6 source:datadog workstream:asset-coverage
Dominant language
Python
Stars
6
Forks
8
Avg merge
2d 22h
Merged PRs (30d)
23

Description

The forecast() function predicts where a metric will be in the future based on past behavior. Elastic requires the "Forecasting" feature within their ML module, which isn't a simple JSON query string—it's a separate stateful job.

```json
{
"name": "Predictive Disk Space Exhaustion",
"type": "query alert",
"query": "avg(last_1h):forecast(avg:system.disk.used{host:db-master}, 'linear', 3, interval='60s', history='7d') >= 0.95",
"message": "Disk is predicted to hit 95% capacity within the next 3 hours. @dba",
"options": {
"thresholds": { "critical": 1 }
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.