通信协议
通用参数
API 响应规范
{
"code" : <Code>,
"message" : <Message>
}HTTP状态码
响应码
说明
通信时常见数据类型说明
Agent
参数
类型
说明
AgentAttributes
参数
类型
说明
AgentGroup
参数
类型
说明
AgentGroupTag
参数
类型
说明
CheckStatus(枚举类型)
值
说明
Command
参数
类型
说明
ConfigCheckResult
参数
类型
说明
ConfigDetail
参数
类型
说明
ConfigInfo
参数
类型
说明
ConfigType(枚举类型)
值
说明
RespCode(枚举类型)
值
说明
接口说明
用户API: AgentGroup 创建/修改/删除/查看
ip:port/User/CreateAgentGroup
ip:port/User/CreateAgentGroup参数
类型,默认值
说明
ip:port/User/UpdateAgentGroup
ip:port/User/UpdateAgentGroup参数
类型,默认值
说明
ip:port/User/DeleteAgentGroup/
ip:port/User/DeleteAgentGroup/参数
类型,默认值
说明
ip:port/User/GetAgentGroup/
ip:port/User/GetAgentGroup/参数
类型,默认值
说明
参数
类型
说明
ip:port/User/ListAgentGroups/
ip:port/User/ListAgentGroups/参数
类型
说明
用户API:采集配置 创建/修改/删除/查看
ip:port/User/CreateConfig/
ip:port/User/CreateConfig/参数
类型,默认值
说明
ip:port/User/UpdateConfig/
ip:port/User/UpdateConfig/参数
类型,默认值
说明
ip:port/User/DeleteConfig/
ip:port/User/DeleteConfig/参数
类型,默认值
说明
ip:port/User/GetConfig/
ip:port/User/GetConfig/参数
类型,默认值
说明
参数
类型
说明
ip:port/User/ListConfigs/
ip:port/User/ListConfigs/参数
类型
说明
用户API:采集配置与 AgentGroup 绑定/解绑
ip:port/User/ApplyConfigToAgentGroup/
ip:port/User/ApplyConfigToAgentGroup/参数
类型,默认值
说明
ip:port/User/RemoveConfigFromAgentGroup/
ip:port/User/RemoveConfigFromAgentGroup/参数
类型,默认值
说明
ip:port/User/GetAppliedConfigsForAgentGroup/
ip:port/User/GetAppliedConfigsForAgentGroup/参数
类型,默认值
说明
参数
类型
说明
ip:port/User/GetAppliedAgentGroups/
ip:port/User/GetAppliedAgentGroups/参数
类型,默认值
说明
参数
类型
说明
ip:port/User/ListAgents/
ip:port/User/ListAgents/参数
类型,默认值
说明
参数
类型
说明
Agent API:写入心跳
ip:port/Agent/HeartBeat/
ip:port/Agent/HeartBeat/参数
类型,默认值
说明
参数
类型
说明
Agent API:根据 Agent 获取采集配置(含变更信息)
ip:port/Agent/FetchPipelineConfig/
ip:port/Agent/FetchPipelineConfig/参数
类型,默认值
说明
参数
类型
说明
ip:port/Agent/FetchAgentConfig/
ip:port/Agent/FetchAgentConfig/参数
类型,默认值
说明
参数
类型
说明
Last updated