方法列表
创建图表
admin
RPC
createMetricChart (CreateMetricChartRequest) returns (CreateMetricChartResponse)
HTTP
POST /MetricChartService/createMetricChart
输入对象:CreateMetricChartRequest:
输出对象:CreateMetricChartResponse:
修改图表
admin
RPC
updateMetricChart (UpdateMetricChartRequest) returns (RPCSuccess)
HTTP
POST /MetricChartService/updateMetricChart
输入对象:UpdateMetricChartRequest:
输出对象:RPCSuccess:
{ }
查找单个图表
admin
RPC
findEnabledMetricChart (FindEnabledMetricChartRequest) returns (FindEnabledMetricChartResponse)
HTTP
POST /MetricChartService/findEnabledMetricChart
输入对象:FindEnabledMetricChartRequest:
输出对象:FindEnabledMetricChartResponse:
计算图表数量
admin
RPC
countEnabledMetricCharts (CountEnabledMetricChartsRequest) returns (RPCCountResponse)
HTTP
POST /MetricChartService/countEnabledMetricCharts
输入对象:CountEnabledMetricChartsRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页图表
admin
RPC
listEnabledMetricCharts (ListEnabledMetricChartsRequest) returns (ListEnabledMetricChartsResponse)
HTTP
POST /MetricChartService/listEnabledMetricCharts
输入对象:ListEnabledMetricChartsRequest:
{ int64 metricItemId; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListEnabledMetricChartsResponse:
删除图表
admin
RPC
deleteMetricChart (DeleteMetricChartRequest) returns (RPCSuccess)
HTTP
POST /MetricChartService/deleteMetricChart
输入对象:DeleteMetricChartRequest:
输出对象:RPCSuccess:
{ }