Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
killuaz丶x
SkyWalking
提交
750bca22
S
SkyWalking
项目概览
killuaz丶x
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
1
Star
0
Fork
0
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
750bca22
编写于
9月 28, 2018
作者:
wu-sheng
提交者:
Gao Hongtao
9月 28, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add new indicators and change two indicator names. (#1721)
上级
abc15a36
变更
36
隐藏空白更改
内联
并排
Showing
36 changed file
with
433 addition
and
41 deletion
+433
-41
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointAvgIndicator.java
...ore/analysis/generated/endpoint/EndpointAvgIndicator.java
+2
-2
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP50Indicator.java
...ore/analysis/generated/endpoint/EndpointP50Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP75Indicator.java
...ore/analysis/generated/endpoint/EndpointP75Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP90Indicator.java
...ore/analysis/generated/endpoint/EndpointP90Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP95Indicator.java
...ore/analysis/generated/endpoint/EndpointP95Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP99Indicator.java
...ore/analysis/generated/endpoint/EndpointP99Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointSlaIndicator.java
...ore/analysis/generated/endpoint/EndpointSlaIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpointrelation/EndpointRelationCpmIndicator.java
...erated/endpointrelation/EndpointRelationCpmIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpointrelation/EndpointRelationRespTimeIndicator.java
...d/endpointrelation/EndpointRelationRespTimeIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceCpmIndicator.java
.../core/analysis/generated/service/ServiceCpmIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP50Indicator.java
.../core/analysis/generated/service/ServiceP50Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP75Indicator.java
.../core/analysis/generated/service/ServiceP75Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP90Indicator.java
.../core/analysis/generated/service/ServiceP90Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP95Indicator.java
.../core/analysis/generated/service/ServiceP95Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP99Indicator.java
.../core/analysis/generated/service/ServiceP99Indicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceRespTimeIndicator.java
.../analysis/generated/service/ServiceRespTimeIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceSlaIndicator.java
.../core/analysis/generated/service/ServiceSlaIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstance/ServiceInstanceCpmIndicator.java
...enerated/serviceinstance/ServiceInstanceCpmIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstance/ServiceInstanceRespTimeIndicator.java
...ted/serviceinstance/ServiceInstanceRespTimeIndicator.java
+3
-3
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmcpu/InstanceJvmCpuIndicator.java
...erated/serviceinstancejvmcpu/InstanceJvmCpuIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmgc/InstanceJvmOldGcCountIndicator.java
.../serviceinstancejvmgc/InstanceJvmOldGcCountIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmgc/InstanceJvmOldGcTimeIndicator.java
...d/serviceinstancejvmgc/InstanceJvmOldGcTimeIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmgc/InstanceJvmYoungGcCountIndicator.java
...erviceinstancejvmgc/InstanceJvmYoungGcCountIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmgc/InstanceJvmYoungGcTimeIndicator.java
...serviceinstancejvmgc/InstanceJvmYoungGcTimeIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/InstanceJvmMemoryHeapIndicator.java
...viceinstancejvmmemory/InstanceJvmMemoryHeapIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/InstanceJvmMemoryHeapMaxIndicator.java
...einstancejvmmemory/InstanceJvmMemoryHeapMaxIndicator.java
+181
-0
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/InstanceJvmMemoryNoheapIndicator.java
...ceinstancejvmmemory/InstanceJvmMemoryNoheapIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/InstanceJvmMemoryNoheapMaxIndicator.java
...nstancejvmmemory/InstanceJvmMemoryNoheapMaxIndicator.java
+181
-0
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/ServiceInstanceJVMMemoryDispatcher.java
...instancejvmmemory/ServiceInstanceJVMMemoryDispatcher.java
+29
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationClientCallSlaIndicator.java
...ervicerelation/ServiceRelationClientCallSlaIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationClientCpmIndicator.java
...ed/servicerelation/ServiceRelationClientCpmIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationClientRespTimeIndicator.java
...rvicerelation/ServiceRelationClientRespTimeIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationServerCallSlaIndicator.java
...ervicerelation/ServiceRelationServerCallSlaIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationServerCpmIndicator.java
...ed/servicerelation/ServiceRelationServerCpmIndicator.java
+1
-1
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationServerRespTimeIndicator.java
...rvicerelation/ServiceRelationServerRespTimeIndicator.java
+1
-1
oap-server/server-core/src/main/resources/official_analysis.oal
...rver/server-core/src/main/resources/official_analysis.oal
+7
-5
未找到文件。
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointAvgIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_avg"
,
builder
=
EndpointAvgIndicator
.
Builder
.
class
)
public
class
EndpointAvgIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
@@ -115,7 +115,7 @@ public class EndpointAvgIndicator extends LongAvgIndicator implements AlarmSuppo
}
@Override
public
AlarmMeta
getAlarmMeta
()
{
return
new
AlarmMeta
(
"endpoint_
A
vg"
,
Scope
.
Endpoint
,
entityId
);
return
new
AlarmMeta
(
"endpoint_
a
vg"
,
Scope
.
Endpoint
,
entityId
);
}
@Override
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP50Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_p50"
,
builder
=
EndpointP50Indicator
.
Builder
.
class
)
public
class
EndpointP50Indicator
extends
P50Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP75Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_p75"
,
builder
=
EndpointP75Indicator
.
Builder
.
class
)
public
class
EndpointP75Indicator
extends
P75Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP90Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_p90"
,
builder
=
EndpointP90Indicator
.
Builder
.
class
)
public
class
EndpointP90Indicator
extends
P90Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP95Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_p95"
,
builder
=
EndpointP95Indicator
.
Builder
.
class
)
public
class
EndpointP95Indicator
extends
P95Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointP99Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_p99"
,
builder
=
EndpointP99Indicator
.
Builder
.
class
)
public
class
EndpointP99Indicator
extends
P99Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpoint/EndpointSlaIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_sla"
,
builder
=
EndpointSlaIndicator
.
Builder
.
class
)
public
class
EndpointSlaIndicator
extends
PercentIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpointrelation/EndpointRelationCpmIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_relation_cpm"
,
builder
=
EndpointRelationCpmIndicator
.
Builder
.
class
)
public
class
EndpointRelationCpmIndicator
extends
CPMIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"child_service_id"
)
private
int
childServiceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/endpointrelation/EndpointRelationRespTimeIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"endpoint_relation_resp_time"
,
builder
=
EndpointRelationRespTimeIndicator
.
Builder
.
class
)
public
class
EndpointRelationRespTimeIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Setter
@Getter
@Column
(
columnName
=
"child_service_id"
)
private
int
childServiceId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceCpmIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_cpm"
,
builder
=
ServiceCpmIndicator
.
Builder
.
class
)
public
class
ServiceCpmIndicator
extends
CPMIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP50Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_p50"
,
builder
=
ServiceP50Indicator
.
Builder
.
class
)
public
class
ServiceP50Indicator
extends
P50Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP75Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_p75"
,
builder
=
ServiceP75Indicator
.
Builder
.
class
)
public
class
ServiceP75Indicator
extends
P75Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP90Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_p90"
,
builder
=
ServiceP90Indicator
.
Builder
.
class
)
public
class
ServiceP90Indicator
extends
P90Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP95Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_p95"
,
builder
=
ServiceP95Indicator
.
Builder
.
class
)
public
class
ServiceP95Indicator
extends
P95Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceP99Indicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_p99"
,
builder
=
ServiceP99Indicator
.
Builder
.
class
)
public
class
ServiceP99Indicator
extends
P99Indicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceRespTimeIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_resp_time"
,
builder
=
ServiceRespTimeIndicator
.
Builder
.
class
)
public
class
ServiceRespTimeIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/service/ServiceSlaIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_sla"
,
builder
=
ServiceSlaIndicator
.
Builder
.
class
)
public
class
ServiceSlaIndicator
extends
PercentIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstance/ServiceInstanceCpmIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_instance_cpm"
,
builder
=
ServiceInstanceCpmIndicator
.
Builder
.
class
)
public
class
ServiceInstanceCpmIndicator
extends
CPMIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Override
public
String
id
()
{
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstance/ServiceInstanceRespTimeIndicator.java
浏览文件 @
750bca22
...
...
@@ -38,10 +38,10 @@ import org.apache.skywalking.oap.server.core.source.Scope;
*/
@IndicatorType
@StreamData
@StorageEntity
(
name
=
"serviceinstance_resp_time"
,
builder
=
ServiceInstanceRespTimeIndicator
.
Builder
.
class
)
@StorageEntity
(
name
=
"service
_
instance_resp_time"
,
builder
=
ServiceInstanceRespTimeIndicator
.
Builder
.
class
)
public
class
ServiceInstanceRespTimeIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_id"
)
private
int
serviceId
;
@Override
public
String
id
()
{
...
...
@@ -112,7 +112,7 @@ public class ServiceInstanceRespTimeIndicator extends LongAvgIndicator implement
}
@Override
public
AlarmMeta
getAlarmMeta
()
{
return
new
AlarmMeta
(
"service
I
nstance_resp_time"
,
Scope
.
ServiceInstance
,
entityId
);
return
new
AlarmMeta
(
"service
_i
nstance_resp_time"
,
Scope
.
ServiceInstance
,
entityId
);
}
@Override
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmcpu/InstanceJvmCpuIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"instance_jvm_cpu"
,
builder
=
InstanceJvmCpuIndicator
.
Builder
.
class
)
public
class
InstanceJvmCpuIndicator
extends
DoubleAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmgc/InstanceJvmOldGcCountIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"instance_jvm_old_gc_count"
,
builder
=
InstanceJvmOldGcCountIndicator
.
Builder
.
class
)
public
class
InstanceJvmOldGcCountIndicator
extends
SumIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmgc/InstanceJvmOldGcTimeIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"instance_jvm_old_gc_time"
,
builder
=
InstanceJvmOldGcTimeIndicator
.
Builder
.
class
)
public
class
InstanceJvmOldGcTimeIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmgc/InstanceJvmYoungGcCountIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"instance_jvm_young_gc_count"
,
builder
=
InstanceJvmYoungGcCountIndicator
.
Builder
.
class
)
public
class
InstanceJvmYoungGcCountIndicator
extends
SumIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmgc/InstanceJvmYoungGcTimeIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"instance_jvm_young_gc_time"
,
builder
=
InstanceJvmYoungGcTimeIndicator
.
Builder
.
class
)
public
class
InstanceJvmYoungGcTimeIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/InstanceJvmMemoryHeapIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"instance_jvm_memory_heap"
,
builder
=
InstanceJvmMemoryHeapIndicator
.
Builder
.
class
)
public
class
InstanceJvmMemoryHeapIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/InstanceJvmMemoryHeapMaxIndicator.java
0 → 100644
浏览文件 @
750bca22
/*
* 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.oap.server.core.analysis.generated.serviceinstancejvmmemory
;
import
java.util.*
;
import
lombok.*
;
import
org.apache.skywalking.oap.server.core.Const
;
import
org.apache.skywalking.oap.server.core.alarm.AlarmMeta
;
import
org.apache.skywalking.oap.server.core.alarm.AlarmSupported
;
import
org.apache.skywalking.oap.server.core.analysis.indicator.*
;
import
org.apache.skywalking.oap.server.core.analysis.indicator.annotation.IndicatorType
;
import
org.apache.skywalking.oap.server.core.remote.annotation.StreamData
;
import
org.apache.skywalking.oap.server.core.remote.grpc.proto.RemoteData
;
import
org.apache.skywalking.oap.server.core.storage.annotation.*
;
import
org.apache.skywalking.oap.server.core.storage.StorageBuilder
;
import
org.apache.skywalking.oap.server.core.source.Scope
;
/**
* This class is auto generated. Please don't change this class manually.
*
* @author Observability Analysis Language code generator
*/
@IndicatorType
@StreamData
@StorageEntity
(
name
=
"instance_jvm_memory_heap_max"
,
builder
=
InstanceJvmMemoryHeapMaxIndicator
.
Builder
.
class
)
public
class
InstanceJvmMemoryHeapMaxIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
splitJointId
+=
Const
.
ID_SPLIT
+
entityId
;
return
splitJointId
;
}
@Override
public
int
hashCode
()
{
int
result
=
17
;
result
=
31
*
result
+
entityId
.
hashCode
();
result
=
31
*
result
+
(
int
)
getTimeBucket
();
return
result
;
}
@Override
public
int
remoteHashCode
()
{
int
result
=
17
;
result
=
31
*
result
+
entityId
.
hashCode
();
return
result
;
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
this
==
obj
)
return
true
;
if
(
obj
==
null
)
return
false
;
if
(
getClass
()
!=
obj
.
getClass
())
return
false
;
InstanceJvmMemoryHeapMaxIndicator
indicator
=
(
InstanceJvmMemoryHeapMaxIndicator
)
obj
;
if
(
entityId
!=
indicator
.
entityId
)
return
false
;
if
(
getTimeBucket
()
!=
indicator
.
getTimeBucket
())
return
false
;
return
true
;
}
@Override
public
RemoteData
.
Builder
serialize
()
{
RemoteData
.
Builder
remoteBuilder
=
RemoteData
.
newBuilder
();
remoteBuilder
.
setDataStrings
(
0
,
getEntityId
());
remoteBuilder
.
setDataLongs
(
0
,
getSummation
());
remoteBuilder
.
setDataLongs
(
1
,
getValue
());
remoteBuilder
.
setDataLongs
(
2
,
getTimeBucket
());
remoteBuilder
.
setDataIntegers
(
0
,
getServiceInstanceId
());
remoteBuilder
.
setDataIntegers
(
1
,
getCount
());
return
remoteBuilder
;
}
@Override
public
void
deserialize
(
RemoteData
remoteData
)
{
setEntityId
(
remoteData
.
getDataStrings
(
0
));
setSummation
(
remoteData
.
getDataLongs
(
0
));
setValue
(
remoteData
.
getDataLongs
(
1
));
setTimeBucket
(
remoteData
.
getDataLongs
(
2
));
setServiceInstanceId
(
remoteData
.
getDataIntegers
(
0
));
setCount
(
remoteData
.
getDataIntegers
(
1
));
}
@Override
public
AlarmMeta
getAlarmMeta
()
{
return
new
AlarmMeta
(
"instance_jvm_memory_heap_max"
,
Scope
.
ServiceInstanceJVMMemory
,
entityId
);
}
@Override
public
Indicator
toHour
()
{
InstanceJvmMemoryHeapMaxIndicator
indicator
=
new
InstanceJvmMemoryHeapMaxIndicator
();
indicator
.
setTimeBucket
(
toTimeBucketInHour
());
indicator
.
setEntityId
(
this
.
getEntityId
());
indicator
.
setServiceInstanceId
(
this
.
getServiceInstanceId
());
indicator
.
setSummation
(
this
.
getSummation
());
indicator
.
setCount
(
this
.
getCount
());
indicator
.
setValue
(
this
.
getValue
());
indicator
.
setTimeBucket
(
this
.
getTimeBucket
());
return
indicator
;
}
@Override
public
Indicator
toDay
()
{
InstanceJvmMemoryHeapMaxIndicator
indicator
=
new
InstanceJvmMemoryHeapMaxIndicator
();
indicator
.
setTimeBucket
(
toTimeBucketInDay
());
indicator
.
setEntityId
(
this
.
getEntityId
());
indicator
.
setServiceInstanceId
(
this
.
getServiceInstanceId
());
indicator
.
setSummation
(
this
.
getSummation
());
indicator
.
setCount
(
this
.
getCount
());
indicator
.
setValue
(
this
.
getValue
());
indicator
.
setTimeBucket
(
this
.
getTimeBucket
());
return
indicator
;
}
@Override
public
Indicator
toMonth
()
{
InstanceJvmMemoryHeapMaxIndicator
indicator
=
new
InstanceJvmMemoryHeapMaxIndicator
();
indicator
.
setTimeBucket
(
toTimeBucketInMonth
());
indicator
.
setEntityId
(
this
.
getEntityId
());
indicator
.
setServiceInstanceId
(
this
.
getServiceInstanceId
());
indicator
.
setSummation
(
this
.
getSummation
());
indicator
.
setCount
(
this
.
getCount
());
indicator
.
setValue
(
this
.
getValue
());
indicator
.
setTimeBucket
(
this
.
getTimeBucket
());
return
indicator
;
}
public
static
class
Builder
implements
StorageBuilder
<
InstanceJvmMemoryHeapMaxIndicator
>
{
@Override
public
Map
<
String
,
Object
>
data2Map
(
InstanceJvmMemoryHeapMaxIndicator
storageData
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"entity_id"
,
storageData
.
getEntityId
());
map
.
put
(
"service_instance_id"
,
storageData
.
getServiceInstanceId
());
map
.
put
(
"summation"
,
storageData
.
getSummation
());
map
.
put
(
"count"
,
storageData
.
getCount
());
map
.
put
(
"value"
,
storageData
.
getValue
());
map
.
put
(
"time_bucket"
,
storageData
.
getTimeBucket
());
return
map
;
}
@Override
public
InstanceJvmMemoryHeapMaxIndicator
map2Data
(
Map
<
String
,
Object
>
dbMap
)
{
InstanceJvmMemoryHeapMaxIndicator
indicator
=
new
InstanceJvmMemoryHeapMaxIndicator
();
indicator
.
setEntityId
((
String
)
dbMap
.
get
(
"entity_id"
));
indicator
.
setServiceInstanceId
(((
Number
)
dbMap
.
get
(
"service_instance_id"
)).
intValue
());
indicator
.
setSummation
(((
Number
)
dbMap
.
get
(
"summation"
)).
longValue
());
indicator
.
setCount
(((
Number
)
dbMap
.
get
(
"count"
)).
intValue
());
indicator
.
setValue
(((
Number
)
dbMap
.
get
(
"value"
)).
longValue
());
indicator
.
setTimeBucket
(((
Number
)
dbMap
.
get
(
"time_bucket"
)).
longValue
());
return
indicator
;
}
}
}
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/InstanceJvmMemoryNoheapIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"instance_jvm_memory_noheap"
,
builder
=
InstanceJvmMemoryNoheapIndicator
.
Builder
.
class
)
public
class
InstanceJvmMemoryNoheapIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/InstanceJvmMemoryNoheapMaxIndicator.java
0 → 100644
浏览文件 @
750bca22
/*
* 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.oap.server.core.analysis.generated.serviceinstancejvmmemory
;
import
java.util.*
;
import
lombok.*
;
import
org.apache.skywalking.oap.server.core.Const
;
import
org.apache.skywalking.oap.server.core.alarm.AlarmMeta
;
import
org.apache.skywalking.oap.server.core.alarm.AlarmSupported
;
import
org.apache.skywalking.oap.server.core.analysis.indicator.*
;
import
org.apache.skywalking.oap.server.core.analysis.indicator.annotation.IndicatorType
;
import
org.apache.skywalking.oap.server.core.remote.annotation.StreamData
;
import
org.apache.skywalking.oap.server.core.remote.grpc.proto.RemoteData
;
import
org.apache.skywalking.oap.server.core.storage.annotation.*
;
import
org.apache.skywalking.oap.server.core.storage.StorageBuilder
;
import
org.apache.skywalking.oap.server.core.source.Scope
;
/**
* This class is auto generated. Please don't change this class manually.
*
* @author Observability Analysis Language code generator
*/
@IndicatorType
@StreamData
@StorageEntity
(
name
=
"instance_jvm_memory_noheap_max"
,
builder
=
InstanceJvmMemoryNoheapMaxIndicator
.
Builder
.
class
)
public
class
InstanceJvmMemoryNoheapMaxIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"entity_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"service_instance_id"
)
private
int
serviceInstanceId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
splitJointId
+=
Const
.
ID_SPLIT
+
entityId
;
return
splitJointId
;
}
@Override
public
int
hashCode
()
{
int
result
=
17
;
result
=
31
*
result
+
entityId
.
hashCode
();
result
=
31
*
result
+
(
int
)
getTimeBucket
();
return
result
;
}
@Override
public
int
remoteHashCode
()
{
int
result
=
17
;
result
=
31
*
result
+
entityId
.
hashCode
();
return
result
;
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
this
==
obj
)
return
true
;
if
(
obj
==
null
)
return
false
;
if
(
getClass
()
!=
obj
.
getClass
())
return
false
;
InstanceJvmMemoryNoheapMaxIndicator
indicator
=
(
InstanceJvmMemoryNoheapMaxIndicator
)
obj
;
if
(
entityId
!=
indicator
.
entityId
)
return
false
;
if
(
getTimeBucket
()
!=
indicator
.
getTimeBucket
())
return
false
;
return
true
;
}
@Override
public
RemoteData
.
Builder
serialize
()
{
RemoteData
.
Builder
remoteBuilder
=
RemoteData
.
newBuilder
();
remoteBuilder
.
setDataStrings
(
0
,
getEntityId
());
remoteBuilder
.
setDataLongs
(
0
,
getSummation
());
remoteBuilder
.
setDataLongs
(
1
,
getValue
());
remoteBuilder
.
setDataLongs
(
2
,
getTimeBucket
());
remoteBuilder
.
setDataIntegers
(
0
,
getServiceInstanceId
());
remoteBuilder
.
setDataIntegers
(
1
,
getCount
());
return
remoteBuilder
;
}
@Override
public
void
deserialize
(
RemoteData
remoteData
)
{
setEntityId
(
remoteData
.
getDataStrings
(
0
));
setSummation
(
remoteData
.
getDataLongs
(
0
));
setValue
(
remoteData
.
getDataLongs
(
1
));
setTimeBucket
(
remoteData
.
getDataLongs
(
2
));
setServiceInstanceId
(
remoteData
.
getDataIntegers
(
0
));
setCount
(
remoteData
.
getDataIntegers
(
1
));
}
@Override
public
AlarmMeta
getAlarmMeta
()
{
return
new
AlarmMeta
(
"instance_jvm_memory_noheap_max"
,
Scope
.
ServiceInstanceJVMMemory
,
entityId
);
}
@Override
public
Indicator
toHour
()
{
InstanceJvmMemoryNoheapMaxIndicator
indicator
=
new
InstanceJvmMemoryNoheapMaxIndicator
();
indicator
.
setTimeBucket
(
toTimeBucketInHour
());
indicator
.
setEntityId
(
this
.
getEntityId
());
indicator
.
setServiceInstanceId
(
this
.
getServiceInstanceId
());
indicator
.
setSummation
(
this
.
getSummation
());
indicator
.
setCount
(
this
.
getCount
());
indicator
.
setValue
(
this
.
getValue
());
indicator
.
setTimeBucket
(
this
.
getTimeBucket
());
return
indicator
;
}
@Override
public
Indicator
toDay
()
{
InstanceJvmMemoryNoheapMaxIndicator
indicator
=
new
InstanceJvmMemoryNoheapMaxIndicator
();
indicator
.
setTimeBucket
(
toTimeBucketInDay
());
indicator
.
setEntityId
(
this
.
getEntityId
());
indicator
.
setServiceInstanceId
(
this
.
getServiceInstanceId
());
indicator
.
setSummation
(
this
.
getSummation
());
indicator
.
setCount
(
this
.
getCount
());
indicator
.
setValue
(
this
.
getValue
());
indicator
.
setTimeBucket
(
this
.
getTimeBucket
());
return
indicator
;
}
@Override
public
Indicator
toMonth
()
{
InstanceJvmMemoryNoheapMaxIndicator
indicator
=
new
InstanceJvmMemoryNoheapMaxIndicator
();
indicator
.
setTimeBucket
(
toTimeBucketInMonth
());
indicator
.
setEntityId
(
this
.
getEntityId
());
indicator
.
setServiceInstanceId
(
this
.
getServiceInstanceId
());
indicator
.
setSummation
(
this
.
getSummation
());
indicator
.
setCount
(
this
.
getCount
());
indicator
.
setValue
(
this
.
getValue
());
indicator
.
setTimeBucket
(
this
.
getTimeBucket
());
return
indicator
;
}
public
static
class
Builder
implements
StorageBuilder
<
InstanceJvmMemoryNoheapMaxIndicator
>
{
@Override
public
Map
<
String
,
Object
>
data2Map
(
InstanceJvmMemoryNoheapMaxIndicator
storageData
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"entity_id"
,
storageData
.
getEntityId
());
map
.
put
(
"service_instance_id"
,
storageData
.
getServiceInstanceId
());
map
.
put
(
"summation"
,
storageData
.
getSummation
());
map
.
put
(
"count"
,
storageData
.
getCount
());
map
.
put
(
"value"
,
storageData
.
getValue
());
map
.
put
(
"time_bucket"
,
storageData
.
getTimeBucket
());
return
map
;
}
@Override
public
InstanceJvmMemoryNoheapMaxIndicator
map2Data
(
Map
<
String
,
Object
>
dbMap
)
{
InstanceJvmMemoryNoheapMaxIndicator
indicator
=
new
InstanceJvmMemoryNoheapMaxIndicator
();
indicator
.
setEntityId
((
String
)
dbMap
.
get
(
"entity_id"
));
indicator
.
setServiceInstanceId
(((
Number
)
dbMap
.
get
(
"service_instance_id"
)).
intValue
());
indicator
.
setSummation
(((
Number
)
dbMap
.
get
(
"summation"
)).
longValue
());
indicator
.
setCount
(((
Number
)
dbMap
.
get
(
"count"
)).
intValue
());
indicator
.
setValue
(((
Number
)
dbMap
.
get
(
"value"
)).
longValue
());
indicator
.
setTimeBucket
(((
Number
)
dbMap
.
get
(
"time_bucket"
)).
longValue
());
return
indicator
;
}
}
}
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/serviceinstancejvmmemory/ServiceInstanceJVMMemoryDispatcher.java
浏览文件 @
750bca22
...
...
@@ -33,6 +33,8 @@ public class ServiceInstanceJVMMemoryDispatcher implements SourceDispatcher<Serv
@Override
public
void
dispatch
(
ServiceInstanceJVMMemory
source
)
{
doInstanceJvmMemoryHeap
(
source
);
doInstanceJvmMemoryNoheap
(
source
);
doInstanceJvmMemoryHeapMax
(
source
);
doInstanceJvmMemoryNoheapMax
(
source
);
}
private
void
doInstanceJvmMemoryHeap
(
ServiceInstanceJVMMemory
source
)
{
...
...
@@ -45,7 +47,7 @@ public class ServiceInstanceJVMMemoryDispatcher implements SourceDispatcher<Serv
indicator
.
setTimeBucket
(
source
.
getTimeBucket
());
indicator
.
setEntityId
(
source
.
getEntityId
());
indicator
.
setServiceInstanceId
(
source
.
getServiceInstanceId
());
indicator
.
combine
(
source
.
get
Max
(),
1
);
indicator
.
combine
(
source
.
get
Used
(),
1
);
IndicatorProcess
.
INSTANCE
.
in
(
indicator
);
}
private
void
doInstanceJvmMemoryNoheap
(
ServiceInstanceJVMMemory
source
)
{
...
...
@@ -55,6 +57,32 @@ public class ServiceInstanceJVMMemoryDispatcher implements SourceDispatcher<Serv
return
;
}
indicator
.
setTimeBucket
(
source
.
getTimeBucket
());
indicator
.
setEntityId
(
source
.
getEntityId
());
indicator
.
setServiceInstanceId
(
source
.
getServiceInstanceId
());
indicator
.
combine
(
source
.
getUsed
(),
1
);
IndicatorProcess
.
INSTANCE
.
in
(
indicator
);
}
private
void
doInstanceJvmMemoryHeapMax
(
ServiceInstanceJVMMemory
source
)
{
InstanceJvmMemoryHeapMaxIndicator
indicator
=
new
InstanceJvmMemoryHeapMaxIndicator
();
if
(!
new
EqualMatch
().
setLeft
(
source
.
isHeapStatus
()).
setRight
(
true
).
match
())
{
return
;
}
indicator
.
setTimeBucket
(
source
.
getTimeBucket
());
indicator
.
setEntityId
(
source
.
getEntityId
());
indicator
.
setServiceInstanceId
(
source
.
getServiceInstanceId
());
indicator
.
combine
(
source
.
getMax
(),
1
);
IndicatorProcess
.
INSTANCE
.
in
(
indicator
);
}
private
void
doInstanceJvmMemoryNoheapMax
(
ServiceInstanceJVMMemory
source
)
{
InstanceJvmMemoryNoheapMaxIndicator
indicator
=
new
InstanceJvmMemoryNoheapMaxIndicator
();
if
(!
new
EqualMatch
().
setLeft
(
source
.
isHeapStatus
()).
setRight
(
false
).
match
())
{
return
;
}
indicator
.
setTimeBucket
(
source
.
getTimeBucket
());
indicator
.
setEntityId
(
source
.
getEntityId
());
indicator
.
setServiceInstanceId
(
source
.
getServiceInstanceId
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationClientCallSlaIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_relation_client_call_sla"
,
builder
=
ServiceRelationClientCallSlaIndicator
.
Builder
.
class
)
public
class
ServiceRelationClientCallSlaIndicator
extends
PercentIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationClientCpmIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_relation_client_cpm"
,
builder
=
ServiceRelationClientCpmIndicator
.
Builder
.
class
)
public
class
ServiceRelationClientCpmIndicator
extends
CPMIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationClientRespTimeIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_relation_client_resp_time"
,
builder
=
ServiceRelationClientRespTimeIndicator
.
Builder
.
class
)
public
class
ServiceRelationClientRespTimeIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationServerCallSlaIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_relation_server_call_sla"
,
builder
=
ServiceRelationServerCallSlaIndicator
.
Builder
.
class
)
public
class
ServiceRelationServerCallSlaIndicator
extends
PercentIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationServerCpmIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_relation_server_cpm"
,
builder
=
ServiceRelationServerCpmIndicator
.
Builder
.
class
)
public
class
ServiceRelationServerCpmIndicator
extends
CPMIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/generated/servicerelation/ServiceRelationServerRespTimeIndicator.java
浏览文件 @
750bca22
...
...
@@ -41,7 +41,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
@StorageEntity
(
name
=
"service_relation_server_resp_time"
,
builder
=
ServiceRelationServerRespTimeIndicator
.
Builder
.
class
)
public
class
ServiceRelationServerRespTimeIndicator
extends
LongAvgIndicator
implements
AlarmSupported
{
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
String
entityId
;
@Setter
@Getter
@Column
(
columnName
=
"source_service_id"
)
@IDColumn
private
java
.
lang
.
String
entityId
;
@Override
public
String
id
()
{
String
splitJointId
=
String
.
valueOf
(
getTimeBucket
());
...
...
oap-server/server-core/src/main/resources/official_analysis.oal
浏览文件 @
750bca22
...
...
@@ -43,11 +43,11 @@ service_relation_client_resp_time = from(ServiceRelation.latency).filter(detectP
service_relation_server_resp_time = from(ServiceRelation.latency).filter(detectPoint == DetectPoint.SERVER).longAvg();
// Service Instance Scope metric
service
I
nstance_resp_time= from(ServiceInstance.latency).longAvg();
service
_i
nstance_resp_time= from(ServiceInstance.latency).longAvg();
service_instance_cpm = from(ServiceInstance.*).cpm();
// Endpoint scope metric
endpoint_
A
vg = from(Endpoint.latency).longAvg();
endpoint_
a
vg = from(Endpoint.latency).longAvg();
endpoint_sla = from(Endpoint.*).percent(status == true);
endpoint_p99 = from(Endpoint.latency).p99(10);
endpoint_p95 = from(Endpoint.latency).p95(10);
...
...
@@ -61,9 +61,11 @@ endpoint_relation_resp_time = from(EndpointRelation.rpcLatency).filter(detectPoi
// JVM instance metric
instance_jvm_cpu = from(ServiceInstanceJVMCPU.usePercent).doubleAvg();
instance_jvm_memory_heap = from(ServiceInstanceJVMMemory.max).filter(isHeap == true).longAvg();
instance_jvm_memory_noheap = from(ServiceInstanceJVMMemory.max).filter(isHeap == false).longAvg();
instance_jvm_memory_heap = from(ServiceInstanceJVMMemory.used).filter(heapStatus == true).longAvg();
instance_jvm_memory_noheap = from(ServiceInstanceJVMMemory.used).filter(heapStatus == false).longAvg();
instance_jvm_memory_heap_max = from(ServiceInstanceJVMMemory.max).filter(heapStatus == true).longAvg();
instance_jvm_memory_noheap_max = from(ServiceInstanceJVMMemory.max).filter(heapStatus == false).longAvg();
instance_jvm_young_gc_time = from(ServiceInstanceJVMGC.time).filter(phrase == GCPhrase.NEW).longAvg();
instance_jvm_old_gc_time = from(ServiceInstanceJVMGC.time).filter(phrase == GCPhrase.OLD).longAvg();
instance_jvm_young_gc_count = from(ServiceInstanceJVMGC.count).filter(phrase == GCPhrase.NEW).sum();
instance_jvm_old_gc_count = from(ServiceInstanceJVMGC.count).filter(phrase == GCPhrase.OLD).sum();
instance_jvm_old_gc_count = from(ServiceInstanceJVMGC.count).filter(phrase == GCPhrase.OLD).sum();
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录