监控与采集相关接口/指标采集
PUTMonitoring起始版本 1.0同步需要认证
更新采集导入配置
更新采集导入配置行上限文件大小上限。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
maxRowsPerImportInteger必填单次导入最大行数。
示例: 500
maxFileSizeMbInteger必填已更新最大文件大小MB。
示例: 5
allowPartialModeBoolean必填是否允许部分模式。
示例: true
响应状态
请求地址
PUT/api/v1/monitoring/scrape-configs/import/config
/api/v1/monitoring/scrape-configs/import/config
请求示例
curl -X PUT '{host}/api/v1/monitoring/scrape-configs/import/config' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"maxRowsPerImport":500,"maxFileSizeMb":5,"allowPartialMode":true}'
响应示例
200{}变更历史
此 API 暂无变更历史记录。
