方法列表
创建指标
admin
RPC
createMetricItem (CreateMetricItemRequest) returns (CreateMetricItemResponse)
HTTP
POST /MetricItemService/createMetricItem
输入对象:CreateMetricItemRequest:
输出对象:CreateMetricItemResponse:
修改指标
admin
RPC
updateMetricItem (UpdateMetricItemRequest) returns (RPCSuccess)
HTTP
POST /MetricItemService/updateMetricItem
输入对象:UpdateMetricItemRequest:
输出对象:RPCSuccess:
{ }
查找单个指标信息
admin
RPC
findEnabledMetricItem (FindEnabledMetricItemRequest) returns (FindEnabledMetricItemResponse)
HTTP
POST /MetricItemService/findEnabledMetricItem
输入对象:FindEnabledMetricItemRequest:
输出对象:FindEnabledMetricItemResponse:
计算指标数量
admin
RPC
countAllEnabledMetricItems (CountAllEnabledMetricItemsRequest) returns (RPCCountResponse)
HTTP
POST /MetricItemService/countAllEnabledMetricItems
输入对象:CountAllEnabledMetricItemsRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页指标
admin
RPC
listEnabledMetricItems (ListEnabledMetricItemsRequest) returns (ListEnabledMetricItemsResponse)
HTTP
POST /MetricItemService/listEnabledMetricItems
输入对象:ListEnabledMetricItemsRequest:
{ string category; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListEnabledMetricItemsResponse:
删除指标
admin
RPC
deleteMetricItem (DeleteMetricItemRequest) returns (RPCSuccess)
HTTP
POST /MetricItemService/deleteMetricItem
输入对象:DeleteMetricItemRequest:
输出对象:RPCSuccess:
{ }