Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
山不在高_有仙则灵
SkyWalking
提交
11a4cfd3
S
SkyWalking
项目概览
山不在高_有仙则灵
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
12
Star
0
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
11a4cfd3
编写于
1月 08, 2018
作者:
P
peng-yongsheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Application component pyramid es table define.
上级
9698fb0a
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
162 addition
and
50 deletion
+162
-50
apm-collector/apm-collector-analysis/analysis-metric/metric-provider/src/main/java/org/apache/skywalking/apm/collector/analysis/metric/provider/worker/application/mapping/ApplicationMappingDayPersistenceWorker.java
...ation/mapping/ApplicationMappingDayPersistenceWorker.java
+0
-1
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/imp/InstanceDayMetricEsPersistenceDAO.java
...storage/es/dao/imp/InstanceDayMetricEsPersistenceDAO.java
+0
-1
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/irmp/InstanceReferenceMinuteMetricEsPersistenceDAO.java
...o/irmp/InstanceReferenceMinuteMetricEsPersistenceDAO.java
+3
-3
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/memorymp/MemoryMinuteMetricEsPersistenceDAO.java
...e/es/dao/memorymp/MemoryMinuteMetricEsPersistenceDAO.java
+0
-1
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/AbstractApplicationComponentEsTableDefine.java
...ne/appcomp/AbstractApplicationComponentEsTableDefine.java
+6
-11
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/ApplicationComponentDayEsTableDefine.java
.../define/appcomp/ApplicationComponentDayEsTableDefine.java
+37
-0
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/ApplicationComponentHourEsTableDefine.java
...define/appcomp/ApplicationComponentHourEsTableDefine.java
+37
-0
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/ApplicationComponentMinuteEsTableDefine.java
...fine/appcomp/ApplicationComponentMinuteEsTableDefine.java
+37
-0
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/ApplicationComponentMonthEsTableDefine.java
...efine/appcomp/ApplicationComponentMonthEsTableDefine.java
+37
-0
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/resources/META-INF/defines/storage.define
...ovider/src/main/resources/META-INF/defines/storage.define
+5
-33
未找到文件。
apm-collector/apm-collector-analysis/analysis-metric/metric-provider/src/main/java/org/apache/skywalking/apm/collector/analysis/metric/provider/worker/application/mapping/ApplicationMappingDayPersistenceWorker.java
浏览文件 @
11a4cfd3
...
...
@@ -25,7 +25,6 @@ import org.apache.skywalking.apm.collector.core.module.ModuleManager;
import
org.apache.skywalking.apm.collector.storage.StorageModule
;
import
org.apache.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.dao.ampp.IApplicationMappingDayPersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.dao.ampp.IApplicationMappingMinutePersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.table.application.ApplicationMapping
;
/**
...
...
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/imp/InstanceDayMetricEsPersistenceDAO.java
浏览文件 @
11a4cfd3
...
...
@@ -22,7 +22,6 @@ import org.apache.skywalking.apm.collector.client.elasticsearch.ElasticSearchCli
import
org.apache.skywalking.apm.collector.core.storage.TimePyramid
;
import
org.apache.skywalking.apm.collector.core.util.Const
;
import
org.apache.skywalking.apm.collector.storage.dao.imp.IInstanceDayMetricPersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.dao.imp.IInstanceMinuteMetricPersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.table.instance.InstanceMetric
;
import
org.apache.skywalking.apm.collector.storage.table.instance.InstanceMetricTable
;
import
org.elasticsearch.action.index.IndexRequestBuilder
;
...
...
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/irmp/InstanceReferenceMinuteMetricEsPersistenceDAO.java
浏览文件 @
11a4cfd3
...
...
@@ -21,7 +21,7 @@ package org.apache.skywalking.apm.collector.storage.es.dao.irmp;
import
org.apache.skywalking.apm.collector.client.elasticsearch.ElasticSearchClient
;
import
org.apache.skywalking.apm.collector.core.storage.TimePyramid
;
import
org.apache.skywalking.apm.collector.core.util.Const
;
import
org.apache.skywalking.apm.collector.storage.dao.irmp.IInstanceReference
Hour
MetricPersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.dao.irmp.IInstanceReference
Minute
MetricPersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.table.instance.InstanceReferenceMetric
;
import
org.apache.skywalking.apm.collector.storage.table.instance.InstanceReferenceMetricTable
;
import
org.elasticsearch.action.index.IndexRequestBuilder
;
...
...
@@ -30,13 +30,13 @@ import org.elasticsearch.action.update.UpdateRequestBuilder;
/**
* @author peng-yongsheng
*/
public
class
InstanceReferenceMinuteMetricEsPersistenceDAO
extends
AbstractInstanceReferenceMetricEsPersistenceDAO
implements
IInstanceReference
Hour
MetricPersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
InstanceReferenceMetric
>
{
public
class
InstanceReferenceMinuteMetricEsPersistenceDAO
extends
AbstractInstanceReferenceMetricEsPersistenceDAO
implements
IInstanceReference
Minute
MetricPersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
InstanceReferenceMetric
>
{
public
InstanceReferenceMinuteMetricEsPersistenceDAO
(
ElasticSearchClient
client
)
{
super
(
client
);
}
@Override
protected
String
tableName
()
{
return
InstanceReferenceMetricTable
.
TABLE
+
Const
.
ID_SPLIT
+
TimePyramid
.
Hour
.
getName
();
return
InstanceReferenceMetricTable
.
TABLE
+
Const
.
ID_SPLIT
+
TimePyramid
.
Minute
.
getName
();
}
}
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/memorymp/MemoryMinuteMetricEsPersistenceDAO.java
浏览文件 @
11a4cfd3
...
...
@@ -22,7 +22,6 @@ import org.apache.skywalking.apm.collector.client.elasticsearch.ElasticSearchCli
import
org.apache.skywalking.apm.collector.core.storage.TimePyramid
;
import
org.apache.skywalking.apm.collector.core.util.Const
;
import
org.apache.skywalking.apm.collector.storage.dao.memorymp.IMemoryMinuteMetricPersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.dao.memorymp.IMemorySecondMetricPersistenceDAO
;
import
org.apache.skywalking.apm.collector.storage.table.jvm.MemoryMetric
;
import
org.apache.skywalking.apm.collector.storage.table.jvm.MemoryMetricTable
;
import
org.elasticsearch.action.index.IndexRequestBuilder
;
...
...
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/ApplicationComponentEsTableDefine.java
→
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/
appcomp/Abstract
ApplicationComponentEsTableDefine.java
浏览文件 @
11a4cfd3
...
...
@@ -16,27 +16,22 @@
*
*/
package
org.apache.skywalking.apm.collector.storage.es.define
;
package
org.apache.skywalking.apm.collector.storage.es.define.appcomp
;
import
org.apache.skywalking.apm.collector.storage.es.base.define.ElasticSearchColumnDefine
;
import
org.apache.skywalking.apm.collector.storage.table.application.ApplicationComponentTable
;
import
org.apache.skywalking.apm.collector.storage.es.base.define.ElasticSearchTableDefine
;
import
org.apache.skywalking.apm.collector.storage.table.application.ApplicationComponentTable
;
/**
* @author peng-yongsheng
*/
public
class
ApplicationComponentEsTableDefine
extends
ElasticSearchTableDefine
{
public
ApplicationComponentEsTableDefine
()
{
super
(
ApplicationComponentTable
.
TABLE
);
}
public
abstract
class
AbstractApplicationComponentEsTableDefine
extends
ElasticSearchTableDefine
{
@Override
public
int
refreshInterval
(
)
{
return
2
;
AbstractApplicationComponentEsTableDefine
(
String
name
)
{
super
(
name
)
;
}
@Override
public
void
initialize
()
{
@Override
public
final
void
initialize
()
{
addColumn
(
new
ElasticSearchColumnDefine
(
ApplicationComponentTable
.
COLUMN_COMPONENT_ID
,
ElasticSearchColumnDefine
.
Type
.
Integer
.
name
()));
addColumn
(
new
ElasticSearchColumnDefine
(
ApplicationComponentTable
.
COLUMN_PEER_ID
,
ElasticSearchColumnDefine
.
Type
.
Integer
.
name
()));
addColumn
(
new
ElasticSearchColumnDefine
(
ApplicationComponentTable
.
COLUMN_TIME_BUCKET
,
ElasticSearchColumnDefine
.
Type
.
Long
.
name
()));
...
...
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/ApplicationComponentDayEsTableDefine.java
0 → 100644
浏览文件 @
11a4cfd3
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package
org.apache.skywalking.apm.collector.storage.es.define.appcomp
;
import
org.apache.skywalking.apm.collector.core.storage.TimePyramid
;
import
org.apache.skywalking.apm.collector.core.util.Const
;
import
org.apache.skywalking.apm.collector.storage.table.application.ApplicationComponentTable
;
/**
* @author peng-yongsheng
*/
public
class
ApplicationComponentDayEsTableDefine
extends
AbstractApplicationComponentEsTableDefine
{
public
ApplicationComponentDayEsTableDefine
()
{
super
(
ApplicationComponentTable
.
TABLE
+
Const
.
ID_SPLIT
+
TimePyramid
.
Day
.
getName
());
}
@Override
public
int
refreshInterval
()
{
return
2
;
}
}
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/ApplicationComponentHourEsTableDefine.java
0 → 100644
浏览文件 @
11a4cfd3
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package
org.apache.skywalking.apm.collector.storage.es.define.appcomp
;
import
org.apache.skywalking.apm.collector.core.storage.TimePyramid
;
import
org.apache.skywalking.apm.collector.core.util.Const
;
import
org.apache.skywalking.apm.collector.storage.table.application.ApplicationComponentTable
;
/**
* @author peng-yongsheng
*/
public
class
ApplicationComponentHourEsTableDefine
extends
AbstractApplicationComponentEsTableDefine
{
public
ApplicationComponentHourEsTableDefine
()
{
super
(
ApplicationComponentTable
.
TABLE
+
Const
.
ID_SPLIT
+
TimePyramid
.
Hour
.
getName
());
}
@Override
public
int
refreshInterval
()
{
return
2
;
}
}
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/ApplicationComponentMinuteEsTableDefine.java
0 → 100644
浏览文件 @
11a4cfd3
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package
org.apache.skywalking.apm.collector.storage.es.define.appcomp
;
import
org.apache.skywalking.apm.collector.core.storage.TimePyramid
;
import
org.apache.skywalking.apm.collector.core.util.Const
;
import
org.apache.skywalking.apm.collector.storage.table.application.ApplicationComponentTable
;
/**
* @author peng-yongsheng
*/
public
class
ApplicationComponentMinuteEsTableDefine
extends
AbstractApplicationComponentEsTableDefine
{
public
ApplicationComponentMinuteEsTableDefine
()
{
super
(
ApplicationComponentTable
.
TABLE
+
Const
.
ID_SPLIT
+
TimePyramid
.
Minute
.
getName
());
}
@Override
public
int
refreshInterval
()
{
return
2
;
}
}
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/define/appcomp/ApplicationComponentMonthEsTableDefine.java
0 → 100644
浏览文件 @
11a4cfd3
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package
org.apache.skywalking.apm.collector.storage.es.define.appcomp
;
import
org.apache.skywalking.apm.collector.core.storage.TimePyramid
;
import
org.apache.skywalking.apm.collector.core.util.Const
;
import
org.apache.skywalking.apm.collector.storage.table.application.ApplicationComponentTable
;
/**
* @author peng-yongsheng
*/
public
class
ApplicationComponentMonthEsTableDefine
extends
AbstractApplicationComponentEsTableDefine
{
public
ApplicationComponentMonthEsTableDefine
()
{
super
(
ApplicationComponentTable
.
TABLE
+
Const
.
ID_SPLIT
+
TimePyramid
.
Month
.
getName
());
}
@Override
public
int
refreshInterval
()
{
return
2
;
}
}
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/resources/META-INF/defines/storage.define
浏览文件 @
11a4cfd3
org.apache.skywalking.apm.collector.storage.es.define.NetworkAddressEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationAlarmEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationAlarmListEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationReferenceMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationReferenceAlarmEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationReferenceAlarmListEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.InstanceEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.InstanceMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.InstanceAlarmEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.InstanceAlarmListEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.InstanceReferenceMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.InstanceReferenceAlarmEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.InstanceReferenceAlarmListEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ServiceNameEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.CpuMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.GCMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.MemoryMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.MemoryPoolMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.GlobalTraceEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationComponentEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ApplicationMappingEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.InstanceMappingEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.SegmentCostEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.SegmentEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ServiceEntryEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ServiceMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ServiceAlarmEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ServiceAlarmListEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ServiceReferenceMetricEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ServiceReferenceAlarmEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.ServiceReferenceAlarmListEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.appcomp.ApplicationComponentMinuteEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.appcomp.ApplicationComponentHourEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.appcomp.ApplicationComponentDayEsTableDefine
org.apache.skywalking.apm.collector.storage.es.define.appcomp.ApplicationComponentMonthEsTableDefine
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录