compare_baseline
Compare current logs against a baseline to find missing templates, new patterns, numeric deviations, and field distribution shifts. Detects silent skips and logic bugs when logs appear normal but results are wrong.
Instructions
与基线窗对比("日志都正常但结果不对"时的首选):找出消失的日志模板(静默跳过信号)、新出现的模板、数值偏离(逻辑 bug 信号)、字段取值分布突变。默认对比前一天同时段。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| range | No | 当前窗,默认 1h | |
| start | No | ||
| labels | No | ||
| keyword | No | ||
| project | No | ||
| datasourceUid | No | ||
| baselineOffset | No | 默认 1d(昨天同时段);prev 表示紧邻当前窗之前;也可传 7d 等 |