Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
TarsWeb
Commits
5d7e1d24
Commit
5d7e1d24
authored
5 years ago
by
combineli
Browse files
Options
Download
Email Patches
Plain Diff
fix bug
parent
86dbbfc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+6
-3
README.md
app/controller/monitor/MonitorController.js
+3
-2
app/controller/monitor/MonitorController.js
with
9 additions
and
5 deletions
+9
-5
README.md
+
6
-
3
View file @
5d7e1d24
...
...
@@ -38,10 +38,13 @@
管理平台支持下发配置,通常使用在下发环境对应的业务配置,例如mysql,redis地址,端口等信息。可以很好的区分开发、测试还是正式环境。
### 服务监控
服务监控,服务之间相互调用的监控。提供多维度可视化监控,包括
`主调`
、
`被调`
、
`接口名`
、
`主调ip`
、
`被调ip`
、
`流量`
、
`耗时`
、
`异常率`
、
`超时率`
,其中前五项均可点击查看所有数据。并且可以对比两天的数据,查看波动。
*
服务监控
*
特性监控
*
接口调试
### 特性监控
服务本身的监控
### 接口调试
支持
`tars`
服务上传
`tars`
协议文件调试接口。
...
...
This diff is collapsed.
Click to expand it.
app/controller/monitor/MonitorController.js
+
3
-
2
View file @
5d7e1d24
...
...
@@ -61,7 +61,7 @@ MonitorController.tarsstat = async (ctx) => {
};
MonitorController
.
tarsproperty
=
async
(
ctx
)
=>
{
let
{
thedate
,
predate
,
startshowtime
,
endshowtime
,
master_name
,
master_ip
,
property_name
,
policy
}
=
ctx
.
paramsObj
;
let
{
thedate
,
predate
,
startshowtime
,
endshowtime
,
master_name
,
master_ip
,
property_name
,
policy
,
group_by
}
=
ctx
.
paramsObj
;
try
{
let
list
=
await
MonitorPropertyService
.
getTARSPropertyMonitorData
({
thedate
,
...
...
@@ -71,7 +71,8 @@ MonitorController.tarsproperty = async (ctx) => {
master_name
,
master_ip
,
property_name
,
policy
policy
,
group_by
});
ctx
.
makeResObj
(
200
,
''
,
util
.
viewFilter
(
list
,
{
show_date
:
''
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help