get_trends
Track CI job metrics over time: duration, failure rate, or test count. Get trend analysis to identify performance changes and flakiness.
Instructions
Track metrics over time: duration (are tests getting slower?), failure_rate (are tests getting flakier?), test_count (are we adding tests?). Returns trend analysis with data points.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"metric": "<metric>",
"job_name": "<job_name>"
},
"name": "get_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to analyze (default: 14) | |
| metric | Yes | Metric to track: duration (job runtime), failure_rate (% tests failing), test_count (total tests) | |
| job_name | Yes | Job name to analyze (e.g., "Test (Blacksmith/Self-Hosted)") | |
| granularity | No | Group data by day or week (default: day) |