监控与采集相关接口/监控缓存
PATCHMonitoring起始版本 1.0同步需要认证
配置智能预热
更新智能预热配置参数。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
enabledBoolean必填是否启用。
示例: true
learningWindowString必填学习时间窗口。
示例: 7d
topNQueriesInteger必填数量热点N查询自动预热。
示例: 20
minAccessCountInteger必填最低访问次数阈值。用于过滤低频查询。
示例: 5
响应状态
请求地址
PATCH/api/v1/monitoring/cache/smart-warmup/config
/api/v1/monitoring/cache/smart-warmup/config
请求示例
curl -X PATCH '{host}/api/v1/monitoring/cache/smart-warmup/config' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"enabled":true,"learningWindow":"7d","topNQueries":20,"minAccessCount":5}'
响应示例
200{}变更历史
此 API 暂无变更历史记录。
