监控与采集相关接口/Zaku
PUTZaku起始版本 1.0同步需要认证
配置远程写入
配置prometheus远程写入端点设置。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
platformIdString必填平台ID。
示例: plat-001
configString必填配置信息。
示例: remote_write: - url: http://prometheus:9090/api/v1/write
响应状态
请求地址
PUT/api/v1/zaku/prometheus-remote-write
/api/v1/zaku/prometheus-remote-write
请求示例
curl -X PUT '{host}/api/v1/zaku/prometheus-remote-write' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"platformId":"plat-001","config":"remote_write:\n - url: http://prometheus:9090/api/v1/write"}'
响应示例
200{}变更历史
此 API 暂无变更历史记录。
