Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
7 years ago
Commit
291fcc5182c8a1edcd5516fdc0cde197b7b014a4
1 parent
d86c8544
redis监控-20180320-v1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
monitor-ui-ctrl/src/main/java/com/ui/ctrl/RedisMonitorCtrl.java
monitor-ui-ctrl/src/main/java/com/ui/ctrl/RedisMonitorCtrl.java
View file @
291fcc5
...
...
@@ -87,11 +87,11 @@ public class RedisMonitorCtrl {
twemproxy
.
put
(
"net"
,
"<font color=\"#FF0000\">"
+
net
+
"</font>"
);
twemproxy
.
put
(
"twemproxyId"
,
url
);
twemproxy
.
put
(
"twemproxyId"
,
(
String
)
twemproxy
.
get
(
"name"
)
);
}
else
{
twemproxy
.
put
(
"state"
,
"OK"
);
twemproxy
.
put
(
"twemproxyId"
,
(
String
)
twemproxy
.
get
(
"
url
"
));
twemproxy
.
put
(
"twemproxyId"
,
(
String
)
twemproxy
.
get
(
"
name
"
));
}
if
(
temp
.
size
()
>
1
)
{
//业务分类相同的进行合并,先取出第一个,再将其他的合并到第一个中去,再加入到返回result中
...
...
@@ -131,7 +131,7 @@ public class RedisMonitorCtrl {
if
(
StringUtils
.
isNotBlank
(
redisList
))
{
twemproxy
.
put
(
"redisList"
,
(
redisList
));
twemproxy
.
put
(
"twemproxyId"
,
(
String
)
tempTwemproxy
.
get
(
"
url
"
));
twemproxy
.
put
(
"twemproxyId"
,
(
String
)
tempTwemproxy
.
get
(
"
name
"
));
}
}
...
...
Please
register
or
login
to post a comment