Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦中观雨
cat
提交
b478f764
C
cat
项目概览
梦中观雨
/
cat
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
cat
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b478f764
编写于
4月 19, 2013
作者:
Y
yong.you
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix metric bug
上级
bdd634bd
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
137 addition
and
0 deletion
+137
-0
cat-home/src/main/java/com/dianping/cat/report/page/metric/Handler.java
...ain/java/com/dianping/cat/report/page/metric/Handler.java
+1
-0
cat-home/src/main/java/com/dianping/cat/report/page/metric/Model.java
.../main/java/com/dianping/cat/report/page/metric/Model.java
+11
-0
cat-home/src/main/resources/META-INF/plexus/components.xml
cat-home/src/main/resources/META-INF/plexus/components.xml
+125
-0
未找到文件。
cat-home/src/main/java/com/dianping/cat/report/page/metric/Handler.java
浏览文件 @
b478f764
...
@@ -103,6 +103,7 @@ public class Handler implements PageHandler<Context> {
...
@@ -103,6 +103,7 @@ public class Handler implements PageHandler<Context> {
model
.
setLongDate
(
payload
.
getDate
());
model
.
setLongDate
(
payload
.
getDate
());
model
.
setDisplayDomain
(
payload
.
getDomain
());
model
.
setDisplayDomain
(
payload
.
getDomain
());
model
.
setDomain
(
payload
.
getDomain
());
model
.
setDomain
(
payload
.
getDomain
());
model
.
setGroup
(
payload
.
getGroup
());
}
}
public
class
MetricTitle
{
public
class
MetricTitle
{
...
...
cat-home/src/main/java/com/dianping/cat/report/page/metric/Model.java
浏览文件 @
b478f764
...
@@ -14,6 +14,8 @@ public class Model extends AbstractReportModel<Action, Context> {
...
@@ -14,6 +14,8 @@ public class Model extends AbstractReportModel<Action, Context> {
private
String
m_domain
;
private
String
m_domain
;
private
String
m_group
;
public
Model
(
Context
ctx
)
{
public
Model
(
Context
ctx
)
{
super
(
ctx
);
super
(
ctx
);
}
}
...
@@ -52,4 +54,13 @@ public class Model extends AbstractReportModel<Action, Context> {
...
@@ -52,4 +54,13 @@ public class Model extends AbstractReportModel<Action, Context> {
public
void
setReport
(
MetricReport
report
)
{
public
void
setReport
(
MetricReport
report
)
{
m_report
=
report
;
m_report
=
report
;
}
}
public
String
getGroup
()
{
return
m_group
;
}
public
void
setGroup
(
String
group
)
{
m_group
=
group
;
}
}
}
cat-home/src/main/resources/META-INF/plexus/components.xml
浏览文件 @
b478f764
...
@@ -1524,6 +1524,11 @@
...
@@ -1524,6 +1524,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.home.JspViewer
</role>
<role>
com.dianping.cat.report.page.home.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.home.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.home.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.consumer.RealtimeConsumer
</role>
<role>
com.dianping.cat.consumer.RealtimeConsumer
</role>
...
@@ -1622,6 +1627,11 @@
...
@@ -1622,6 +1627,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.problem.JspViewer
</role>
<role>
com.dianping.cat.report.page.problem.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.problem.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.problem.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.transaction.Handler
</role>
<role>
com.dianping.cat.report.page.transaction.Handler
</role>
...
@@ -1667,6 +1677,11 @@
...
@@ -1667,6 +1677,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.transaction.JspViewer
</role>
<role>
com.dianping.cat.report.page.transaction.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.transaction.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.transaction.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.transaction.XmlViewer
</role>
<role>
com.dianping.cat.report.page.transaction.XmlViewer
</role>
...
@@ -1713,6 +1728,11 @@
...
@@ -1713,6 +1728,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.event.JspViewer
</role>
<role>
com.dianping.cat.report.page.event.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.event.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.event.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.heartbeat.Handler
</role>
<role>
com.dianping.cat.report.page.heartbeat.Handler
</role>
...
@@ -1755,6 +1775,11 @@
...
@@ -1755,6 +1775,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.heartbeat.JspViewer
</role>
<role>
com.dianping.cat.report.page.heartbeat.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.heartbeat.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.heartbeat.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.logview.Handler
</role>
<role>
com.dianping.cat.report.page.logview.Handler
</role>
...
@@ -1776,6 +1801,11 @@
...
@@ -1776,6 +1801,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.logview.JspViewer
</role>
<role>
com.dianping.cat.report.page.logview.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.logview.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.logview.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.ip.Handler
</role>
<role>
com.dianping.cat.report.page.ip.Handler
</role>
...
@@ -1797,6 +1827,11 @@
...
@@ -1797,6 +1827,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.ip.JspViewer
</role>
<role>
com.dianping.cat.report.page.ip.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.ip.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.ip.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.model.Handler
</role>
<role>
com.dianping.cat.report.page.model.Handler
</role>
...
@@ -1875,6 +1910,11 @@
...
@@ -1875,6 +1910,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.model.JspViewer
</role>
<role>
com.dianping.cat.report.page.model.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.model.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.model.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.model.event.LocalEventService
</role>
<role>
com.dianping.cat.report.page.model.event.LocalEventService
</role>
...
@@ -2116,6 +2156,11 @@
...
@@ -2116,6 +2156,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.sql.JspViewer
</role>
<role>
com.dianping.cat.report.page.sql.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.sql.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.sql.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.heatmap.Handler
</role>
<role>
com.dianping.cat.report.page.heatmap.Handler
</role>
...
@@ -2141,6 +2186,11 @@
...
@@ -2141,6 +2186,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.heatmap.JspViewer
</role>
<role>
com.dianping.cat.report.page.heatmap.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.heatmap.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.heatmap.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.dashboard.Handler
</role>
<role>
com.dianping.cat.report.page.dashboard.Handler
</role>
...
@@ -2169,6 +2219,11 @@
...
@@ -2169,6 +2219,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.dashboard.JspViewer
</role>
<role>
com.dianping.cat.report.page.dashboard.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.dashboard.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.dashboard.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.task.Handler
</role>
<role>
com.dianping.cat.report.page.task.Handler
</role>
...
@@ -2188,6 +2243,11 @@
...
@@ -2188,6 +2243,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.task.JspViewer
</role>
<role>
com.dianping.cat.report.page.task.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.task.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.task.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.task.spi.ReportFacade
</role>
<role>
com.dianping.cat.report.task.spi.ReportFacade
</role>
...
@@ -2663,6 +2723,11 @@
...
@@ -2663,6 +2723,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.matrix.JspViewer
</role>
<role>
com.dianping.cat.report.page.matrix.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.matrix.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.matrix.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.health.Handler
</role>
<role>
com.dianping.cat.report.page.health.Handler
</role>
...
@@ -2685,6 +2750,11 @@
...
@@ -2685,6 +2750,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.health.JspViewer
</role>
<role>
com.dianping.cat.report.page.health.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.health.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.health.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.health.HistoryGraphs
</role>
<role>
com.dianping.cat.report.page.health.HistoryGraphs
</role>
...
@@ -2721,6 +2791,11 @@
...
@@ -2721,6 +2791,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.cross.JspViewer
</role>
<role>
com.dianping.cat.report.page.cross.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.cross.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.cross.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.cache.Handler
</role>
<role>
com.dianping.cat.report.page.cache.Handler
</role>
...
@@ -2750,6 +2825,11 @@
...
@@ -2750,6 +2825,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.cache.JspViewer
</role>
<role>
com.dianping.cat.report.page.cache.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.cache.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.cache.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.database.Handler
</role>
<role>
com.dianping.cat.report.page.database.Handler
</role>
...
@@ -2771,6 +2851,11 @@
...
@@ -2771,6 +2851,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.database.JspViewer
</role>
<role>
com.dianping.cat.report.page.database.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.database.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.database.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.state.Handler
</role>
<role>
com.dianping.cat.report.page.state.Handler
</role>
...
@@ -2798,6 +2883,11 @@
...
@@ -2798,6 +2883,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.state.JspViewer
</role>
<role>
com.dianping.cat.report.page.state.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.state.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.state.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.state.StateGraphs
</role>
<role>
com.dianping.cat.report.page.state.StateGraphs
</role>
...
@@ -2823,6 +2913,11 @@
...
@@ -2823,6 +2913,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.query.JspViewer
</role>
<role>
com.dianping.cat.report.page.query.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.query.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.query.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.top.Handler
</role>
<role>
com.dianping.cat.report.page.top.Handler
</role>
...
@@ -2847,6 +2942,11 @@
...
@@ -2847,6 +2942,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.top.JspViewer
</role>
<role>
com.dianping.cat.report.page.top.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.top.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.top.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.metric.Handler
</role>
<role>
com.dianping.cat.report.page.metric.Handler
</role>
...
@@ -2871,6 +2971,11 @@
...
@@ -2871,6 +2971,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.metric.JspViewer
</role>
<role>
com.dianping.cat.report.page.metric.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.metric.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.metric.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.report.page.jsError.Handler
</role>
<role>
com.dianping.cat.report.page.jsError.Handler
</role>
...
@@ -2884,6 +2989,11 @@
...
@@ -2884,6 +2989,11 @@
<component>
<component>
<role>
com.dianping.cat.report.page.jsError.JspViewer
</role>
<role>
com.dianping.cat.report.page.jsError.JspViewer
</role>
<implementation>
com.dianping.cat.report.page.jsError.JspViewer
</implementation>
<implementation>
com.dianping.cat.report.page.jsError.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.system.SystemModule
</role>
<role>
com.dianping.cat.system.SystemModule
</role>
...
@@ -2913,6 +3023,11 @@
...
@@ -2913,6 +3023,11 @@
<component>
<component>
<role>
com.dianping.cat.system.page.alarm.JspViewer
</role>
<role>
com.dianping.cat.system.page.alarm.JspViewer
</role>
<implementation>
com.dianping.cat.system.page.alarm.JspViewer
</implementation>
<implementation>
com.dianping.cat.system.page.alarm.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.system.page.alarm.RecordManager
</role>
<role>
com.dianping.cat.system.page.alarm.RecordManager
</role>
...
@@ -3049,6 +3164,11 @@
...
@@ -3049,6 +3164,11 @@
<component>
<component>
<role>
com.dianping.cat.system.page.login.JspViewer
</role>
<role>
com.dianping.cat.system.page.login.JspViewer
</role>
<implementation>
com.dianping.cat.system.page.login.JspViewer
</implementation>
<implementation>
com.dianping.cat.system.page.login.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dianping.cat.system.page.login.service.SigninService
</role>
<role>
com.dianping.cat.system.page.login.service.SigninService
</role>
...
@@ -3109,6 +3229,11 @@
...
@@ -3109,6 +3229,11 @@
<component>
<component>
<role>
com.dianping.cat.system.page.project.JspViewer
</role>
<role>
com.dianping.cat.system.page.project.JspViewer
</role>
<implementation>
com.dianping.cat.system.page.project.JspViewer
</implementation>
<implementation>
com.dianping.cat.system.page.project.JspViewer
</implementation>
<requirements>
<requirement>
<role>
org.unidal.web.mvc.view.model.ModelHandler
</role>
</requirement>
</requirements>
</component>
</component>
<component>
<component>
<role>
com.dainping.cat.consumer.dal.report.ProjectDao
</role>
<role>
com.dainping.cat.consumer.dal.report.ProjectDao
</role>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录