forecast_metric
Predict when a metric will breach a threshold using linear regression on historical data, and reveal trend direction and estimated breach time for proactive response.
Instructions
Forecast when a metric will breach a threshold using linear regression. Analyzes historical data to predict trend direction and estimated breach time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Forecasting method. 'ttm' uses IBM Granite TTM via watsonx.ai (requires WATSONX_API_KEY). 'auto' selects based on data and watsonx availability. | auto |
| device_id | Yes | Device ID | |
| threshold | Yes | Threshold value that constitutes a breach | |
| datapoints | No | Comma-separated datapoint names (all if omitted) | |
| hours_back | No | Hours of historical data for regression | |
| instance_id | Yes | Instance ID | |
| device_datasource_id | Yes | Device-DataSource ID |