diff --git a/internal/rpc/rpc_client.go b/internal/rpc/rpc_client.go
index e13bf97e..497a1f20 100644
--- a/internal/rpc/rpc_client.go
+++ b/internal/rpc/rpc_client.go
@@ -304,6 +304,10 @@ func (this *RPCClient) ReportNodeRPC() pb.ReportNodeServiceClient {
return pb.NewReportNodeServiceClient(this.pickConn())
}
+func (this *RPCClient) ReportResultRPC() pb.ReportResultServiceClient {
+ return pb.NewReportResultServiceClient(this.pickConn())
+}
+
func (this *RPCClient) IPItemRPC() pb.IPItemServiceClient {
return pb.NewIPItemServiceClient(this.pickConn())
}
diff --git a/web/views/@default/clusters/monitors/reporters/reporter/@reporter_menu.html b/web/views/@default/clusters/monitors/reporters/reporter/@reporter_menu.html
index 9b28f2c2..501e0ec1 100644
--- a/web/views/@default/clusters/monitors/reporters/reporter/@reporter_menu.html
+++ b/web/views/@default/clusters/monitors/reporters/reporter/@reporter_menu.html
@@ -2,6 +2,7 @@
所有终端
|
"{{reporter.name}}"详情
+ 监控结果
运行日志
修改
\ No newline at end of file
diff --git a/web/views/@default/clusters/monitors/reporters/reporter/logs.html b/web/views/@default/clusters/monitors/reporters/reporter/logs.html
index 6af3bd91..36636f91 100644
--- a/web/views/@default/clusters/monitors/reporters/reporter/logs.html
+++ b/web/views/@default/clusters/monitors/reporters/reporter/logs.html
@@ -1,3 +1,52 @@
{$layout}
{$template "reporter_menu"}
+{$template "/datepicker"}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/views/@default/clusters/monitors/reporters/reporter/logs.js b/web/views/@default/clusters/monitors/reporters/reporter/logs.js
new file mode 100644
index 00000000..29a90420
--- /dev/null
+++ b/web/views/@default/clusters/monitors/reporters/reporter/logs.js
@@ -0,0 +1,6 @@
+Tea.context(function () {
+ this.$delay(function () {
+ teaweb.datepicker("day-from-picker")
+ teaweb.datepicker("day-to-picker")
+ })
+})
\ No newline at end of file
diff --git a/web/views/@default/clusters/monitors/reporters/reporter/results.html b/web/views/@default/clusters/monitors/reporters/reporter/results.html
new file mode 100644
index 00000000..491854b9
--- /dev/null
+++ b/web/views/@default/clusters/monitors/reporters/reporter/results.html
@@ -0,0 +1,47 @@
+{$layout}
+{$template "reporter_menu"}
+
+
+
+
+
+
+
+
+ | 类型 |
+ 对象 |
+ 结果 |
+ 耗时 |
+ 错误信息 |
+
+
+
+ | {{result.typeName}} |
+ {{result.targetDesc}} |
+
+ 成功
+ 失败
+ |
+ {{result.costMs}}ms |
+
+ {{result.error}}
+ -
+ |
+
+
+
+
\ No newline at end of file