Support metrics downsampling. (#1765)
* Support metrics downsampling. * Fixed a check style error.
This commit is contained in:
parent
a81b9920cd
commit
b426390b79
|
|
@ -20,7 +20,7 @@ package org.apache.skywalking.oap.server.core;
|
|||
|
||||
import java.util.*;
|
||||
import org.apache.skywalking.oap.server.core.cache.*;
|
||||
import org.apache.skywalking.oap.server.core.config.IComponentLibraryCatalogService;
|
||||
import org.apache.skywalking.oap.server.core.config.*;
|
||||
import org.apache.skywalking.oap.server.core.query.*;
|
||||
import org.apache.skywalking.oap.server.core.register.service.*;
|
||||
import org.apache.skywalking.oap.server.core.remote.RemoteSenderService;
|
||||
|
|
@ -44,6 +44,7 @@ public class CoreModule extends ModuleDefine {
|
|||
|
||||
@Override public Class[] services() {
|
||||
List<Class> classes = new ArrayList<>();
|
||||
classes.add(DownsamplingConfigService.class);
|
||||
classes.add(IComponentLibraryCatalogService.class);
|
||||
|
||||
addServerInterface(classes);
|
||||
|
|
|
|||
|
|
@ -18,16 +18,23 @@
|
|||
|
||||
package org.apache.skywalking.oap.server.core;
|
||||
|
||||
import java.util.*;
|
||||
import lombok.*;
|
||||
import org.apache.skywalking.oap.server.library.module.ModuleConfig;
|
||||
|
||||
/**
|
||||
* @author peng-yongsheng
|
||||
*/
|
||||
@Getter
|
||||
public class CoreModuleConfig extends ModuleConfig {
|
||||
@Setter @Getter private String restHost;
|
||||
@Setter @Getter private int restPort;
|
||||
@Setter @Getter private String restContextPath;
|
||||
@Setter @Getter private String gRPCHost;
|
||||
@Setter @Getter private int gRPCPort;
|
||||
@Setter private String restHost;
|
||||
@Setter private int restPort;
|
||||
@Setter private String restContextPath;
|
||||
@Setter private String gRPCHost;
|
||||
@Setter private int gRPCPort;
|
||||
private final List<String> downsampling;
|
||||
|
||||
CoreModuleConfig() {
|
||||
this.downsampling = new ArrayList<>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@ public class CoreModuleProvider extends ModuleProvider {
|
|||
jettyServer = new JettyServer(moduleConfig.getRestHost(), moduleConfig.getRestPort(), moduleConfig.getRestContextPath());
|
||||
jettyServer.initialize();
|
||||
|
||||
this.registerServiceImplementation(DownsamplingConfigService.class, new DownsamplingConfigService(moduleConfig.getDownsampling()));
|
||||
|
||||
this.registerServiceImplementation(GRPCHandlerRegister.class, new GRPCHandlerRegisterImpl(grpcServer));
|
||||
this.registerServiceImplementation(JettyHandlerRegister.class, new JettyHandlerRegisterImpl(jettyServer));
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ package org.apache.skywalking.oap.server.core.analysis.generated.all;
|
|||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.source.All;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
|
|||
|
|
@ -19,15 +19,14 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.all;
|
||||
|
||||
import java.util.*;
|
||||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.StorageEntity;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -112,7 +111,6 @@ public class AllHeatmapIndicator extends ThermodynamicIndicator implements Alarm
|
|||
indicator.setStep(this.getStep());
|
||||
indicator.setNumOfSteps(this.getNumOfSteps());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +121,6 @@ public class AllHeatmapIndicator extends ThermodynamicIndicator implements Alarm
|
|||
indicator.setStep(this.getStep());
|
||||
indicator.setNumOfSteps(this.getNumOfSteps());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +131,6 @@ public class AllHeatmapIndicator extends ThermodynamicIndicator implements Alarm
|
|||
indicator.setStep(this.getStep());
|
||||
indicator.setNumOfSteps(this.getNumOfSteps());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,15 +19,14 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.all;
|
||||
|
||||
import java.util.*;
|
||||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.StorageEntity;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -112,7 +111,6 @@ public class AllP50Indicator extends P50Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +121,6 @@ public class AllP50Indicator extends P50Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +131,6 @@ public class AllP50Indicator extends P50Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,15 +19,14 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.all;
|
||||
|
||||
import java.util.*;
|
||||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.StorageEntity;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -112,7 +111,6 @@ public class AllP75Indicator extends P75Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +121,6 @@ public class AllP75Indicator extends P75Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +131,6 @@ public class AllP75Indicator extends P75Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,15 +19,14 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.all;
|
||||
|
||||
import java.util.*;
|
||||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.StorageEntity;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -112,7 +111,6 @@ public class AllP90Indicator extends P90Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +121,6 @@ public class AllP90Indicator extends P90Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +131,6 @@ public class AllP90Indicator extends P90Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,15 +19,14 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.all;
|
||||
|
||||
import java.util.*;
|
||||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.StorageEntity;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -112,7 +111,6 @@ public class AllP95Indicator extends P95Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +121,6 @@ public class AllP95Indicator extends P95Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +131,6 @@ public class AllP95Indicator extends P95Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,15 +19,14 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.all;
|
||||
|
||||
import java.util.*;
|
||||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.StorageEntity;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -112,7 +111,6 @@ public class AllP99Indicator extends P99Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +121,6 @@ public class AllP99Indicator extends P99Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +131,6 @@ public class AllP99Indicator extends P99Indicator implements AlarmSupported {
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
|
|
@ -128,7 +127,6 @@ public class EndpointAvgIndicator extends LongAvgIndicator implements AlarmSuppo
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -142,7 +140,6 @@ public class EndpointAvgIndicator extends LongAvgIndicator implements AlarmSuppo
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -156,7 +153,6 @@ public class EndpointAvgIndicator extends LongAvgIndicator implements AlarmSuppo
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
|
|||
@StorageEntity(name = "endpoint_cpm", builder = EndpointCpmIndicator.Builder.class)
|
||||
public class EndpointCpmIndicator extends CPMIndicator implements AlarmSupported {
|
||||
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
|
|
@ -125,7 +124,6 @@ public class EndpointCpmIndicator extends CPMIndicator implements AlarmSupported
|
|||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -138,7 +136,6 @@ public class EndpointCpmIndicator extends CPMIndicator implements AlarmSupported
|
|||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -151,7 +148,6 @@ public class EndpointCpmIndicator extends CPMIndicator implements AlarmSupported
|
|||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.source.Endpoint;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
|
|
@ -131,7 +130,6 @@ public class EndpointP50Indicator extends P50Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +143,6 @@ public class EndpointP50Indicator extends P50Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -159,7 +156,6 @@ public class EndpointP50Indicator extends P50Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
|
|
@ -131,7 +130,6 @@ public class EndpointP75Indicator extends P75Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +143,6 @@ public class EndpointP75Indicator extends P75Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -159,7 +156,6 @@ public class EndpointP75Indicator extends P75Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
|
|
@ -131,7 +130,6 @@ public class EndpointP90Indicator extends P90Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +143,6 @@ public class EndpointP90Indicator extends P90Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -159,7 +156,6 @@ public class EndpointP90Indicator extends P90Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
|
|
@ -131,7 +130,6 @@ public class EndpointP95Indicator extends P95Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +143,6 @@ public class EndpointP95Indicator extends P95Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -159,7 +156,6 @@ public class EndpointP95Indicator extends P95Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
|
|
@ -131,7 +130,6 @@ public class EndpointP99Indicator extends P99Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +143,6 @@ public class EndpointP99Indicator extends P99Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -159,7 +156,6 @@ public class EndpointP99Indicator extends P99Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpoint;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
|
|
@ -128,7 +127,6 @@ public class EndpointSlaIndicator extends PercentIndicator implements AlarmSuppo
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -142,7 +140,6 @@ public class EndpointSlaIndicator extends PercentIndicator implements AlarmSuppo
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -156,7 +153,6 @@ public class EndpointSlaIndicator extends PercentIndicator implements AlarmSuppo
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpointrelatio
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private 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;
|
||||
|
|
@ -133,7 +132,6 @@ public class EndpointRelationCpmIndicator extends CPMIndicator implements AlarmS
|
|||
indicator.setChildServiceInstanceId(this.getChildServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -148,7 +146,6 @@ public class EndpointRelationCpmIndicator extends CPMIndicator implements AlarmS
|
|||
indicator.setChildServiceInstanceId(this.getChildServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -163,7 +160,6 @@ public class EndpointRelationCpmIndicator extends CPMIndicator implements AlarmS
|
|||
indicator.setChildServiceInstanceId(this.getChildServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.endpointrelation;
|
||||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.expression.EqualMatch;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.expression.*;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.endpointrelatio
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private 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;
|
||||
|
|
@ -136,7 +135,6 @@ public class EndpointRelationRespTimeIndicator extends LongAvgIndicator implemen
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -152,7 +150,6 @@ public class EndpointRelationRespTimeIndicator extends LongAvgIndicator implemen
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -168,7 +165,6 @@ public class EndpointRelationRespTimeIndicator extends LongAvgIndicator implemen
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -117,7 +116,6 @@ public class ServiceCpmIndicator extends CPMIndicator implements AlarmSupported
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -128,7 +126,6 @@ public class ServiceCpmIndicator extends CPMIndicator implements AlarmSupported
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -139,7 +136,6 @@ public class ServiceCpmIndicator extends CPMIndicator implements AlarmSupported
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.source.Service;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -123,7 +122,6 @@ public class ServiceP50Indicator extends P50Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -135,7 +133,6 @@ public class ServiceP50Indicator extends P50Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +144,6 @@ public class ServiceP50Indicator extends P50Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -123,7 +122,6 @@ public class ServiceP75Indicator extends P75Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -135,7 +133,6 @@ public class ServiceP75Indicator extends P75Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +144,6 @@ public class ServiceP75Indicator extends P75Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -123,7 +122,6 @@ public class ServiceP90Indicator extends P90Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -135,7 +133,6 @@ public class ServiceP90Indicator extends P90Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +144,6 @@ public class ServiceP90Indicator extends P90Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -123,7 +122,6 @@ public class ServiceP95Indicator extends P95Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -135,7 +133,6 @@ public class ServiceP95Indicator extends P95Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +144,6 @@ public class ServiceP95Indicator extends P95Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -123,7 +122,6 @@ public class ServiceP99Indicator extends P99Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -135,7 +133,6 @@ public class ServiceP99Indicator extends P99Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +144,6 @@ public class ServiceP99Indicator extends P99Indicator implements AlarmSupported
|
|||
indicator.setValue(this.getValue());
|
||||
indicator.setPrecision(this.getPrecision());
|
||||
indicator.setDetailGroup(this.getDetailGroup());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -120,7 +119,6 @@ public class ServiceRespTimeIndicator extends LongAvgIndicator implements AlarmS
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +130,6 @@ public class ServiceRespTimeIndicator extends LongAvgIndicator implements AlarmS
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -144,7 +141,6 @@ public class ServiceRespTimeIndicator extends LongAvgIndicator implements AlarmS
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.service;
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -120,7 +119,6 @@ public class ServiceSlaIndicator extends PercentIndicator implements AlarmSuppor
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +130,6 @@ public class ServiceSlaIndicator extends PercentIndicator implements AlarmSuppor
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -144,7 +141,6 @@ public class ServiceSlaIndicator extends PercentIndicator implements AlarmSuppor
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -121,7 +120,6 @@ public class ServiceInstanceCpmIndicator extends CPMIndicator implements AlarmSu
|
|||
indicator.setServiceId(this.getServiceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -133,7 +131,6 @@ public class ServiceInstanceCpmIndicator extends CPMIndicator implements AlarmSu
|
|||
indicator.setServiceId(this.getServiceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +142,6 @@ public class ServiceInstanceCpmIndicator extends CPMIndicator implements AlarmSu
|
|||
indicator.setServiceId(this.getServiceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.source.ServiceInstance;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
|
|||
@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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_id") private int serviceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -124,7 +123,6 @@ public class ServiceInstanceRespTimeIndicator extends LongAvgIndicator implement
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +135,6 @@ public class ServiceInstanceRespTimeIndicator extends LongAvgIndicator implement
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +147,6 @@ public class ServiceInstanceRespTimeIndicator extends LongAvgIndicator implement
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -124,7 +123,6 @@ public class InstanceJvmCpuIndicator extends DoubleAvgIndicator implements Alarm
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +135,6 @@ public class InstanceJvmCpuIndicator extends DoubleAvgIndicator implements Alarm
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +147,6 @@ public class InstanceJvmCpuIndicator extends DoubleAvgIndicator implements Alarm
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.source.ServiceInstanceJVMCPU;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -118,7 +117,6 @@ public class InstanceJvmOldGcCountIndicator extends SumIndicator implements Alar
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -129,7 +127,6 @@ public class InstanceJvmOldGcCountIndicator extends SumIndicator implements Alar
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -140,7 +137,6 @@ public class InstanceJvmOldGcCountIndicator extends SumIndicator implements Alar
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -124,7 +123,6 @@ public class InstanceJvmOldGcTimeIndicator extends LongAvgIndicator implements A
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +135,6 @@ public class InstanceJvmOldGcTimeIndicator extends LongAvgIndicator implements A
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +147,6 @@ public class InstanceJvmOldGcTimeIndicator extends LongAvgIndicator implements A
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -118,7 +117,6 @@ public class InstanceJvmYoungGcCountIndicator extends SumIndicator implements Al
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -129,7 +127,6 @@ public class InstanceJvmYoungGcCountIndicator extends SumIndicator implements Al
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -140,7 +137,6 @@ public class InstanceJvmYoungGcCountIndicator extends SumIndicator implements Al
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setServiceInstanceId(this.getServiceInstanceId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -124,7 +123,6 @@ public class InstanceJvmYoungGcTimeIndicator extends LongAvgIndicator implements
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +135,6 @@ public class InstanceJvmYoungGcTimeIndicator extends LongAvgIndicator implements
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +147,6 @@ public class InstanceJvmYoungGcTimeIndicator extends LongAvgIndicator implements
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstancejvmgc;
|
||||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.expression.EqualMatch;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.expression.*;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -124,7 +123,6 @@ public class InstanceJvmMemoryHeapIndicator extends LongAvgIndicator implements
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +135,6 @@ public class InstanceJvmMemoryHeapIndicator extends LongAvgIndicator implements
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +147,6 @@ public class InstanceJvmMemoryHeapIndicator extends LongAvgIndicator implements
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
|
|||
@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 = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -124,7 +123,6 @@ public class InstanceJvmMemoryHeapMaxIndicator extends LongAvgIndicator implemen
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +135,6 @@ public class InstanceJvmMemoryHeapMaxIndicator extends LongAvgIndicator implemen
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +147,6 @@ public class InstanceJvmMemoryHeapMaxIndicator extends LongAvgIndicator implemen
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -124,7 +123,6 @@ public class InstanceJvmMemoryNoheapIndicator extends LongAvgIndicator implement
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +135,6 @@ public class InstanceJvmMemoryNoheapIndicator extends LongAvgIndicator implement
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +147,6 @@ public class InstanceJvmMemoryNoheapIndicator extends LongAvgIndicator implement
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstance
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,7 @@ import org.apache.skywalking.oap.server.core.source.Scope;
|
|||
@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 = "entity_id") @IDColumn private String entityId;
|
||||
@Setter @Getter @Column(columnName = "service_instance_id") private int serviceInstanceId;
|
||||
|
||||
@Override public String id() {
|
||||
|
|
@ -124,7 +123,6 @@ public class InstanceJvmMemoryNoheapMaxIndicator extends LongAvgIndicator implem
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +135,6 @@ public class InstanceJvmMemoryNoheapMaxIndicator extends LongAvgIndicator implem
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +147,6 @@ public class InstanceJvmMemoryNoheapMaxIndicator extends LongAvgIndicator implem
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstancejvmmemory;
|
||||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.expression.EqualMatch;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.expression.*;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.source.ServiceInstanceJVMMemory;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstancejvmmemorypool;
|
||||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.source.ServiceInstanceJVMMemoryPool;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.serviceinstancerelation;
|
||||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.source.ServiceInstanceRelation;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.servicerelation
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 = "entity_id") @IDColumn private java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -120,7 +119,6 @@ public class ServiceRelationClientCallSlaIndicator extends PercentIndicator impl
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +130,6 @@ public class ServiceRelationClientCallSlaIndicator extends PercentIndicator impl
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -144,7 +141,6 @@ public class ServiceRelationClientCallSlaIndicator extends PercentIndicator impl
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.servicerelation
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 = "entity_id") @IDColumn private java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -117,7 +116,6 @@ public class ServiceRelationClientCpmIndicator extends CPMIndicator implements A
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -128,7 +126,6 @@ public class ServiceRelationClientCpmIndicator extends CPMIndicator implements A
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -139,7 +136,6 @@ public class ServiceRelationClientCpmIndicator extends CPMIndicator implements A
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.servicerelation
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 = "entity_id") @IDColumn private java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -120,7 +119,6 @@ public class ServiceRelationClientRespTimeIndicator extends LongAvgIndicator imp
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +130,6 @@ public class ServiceRelationClientRespTimeIndicator extends LongAvgIndicator imp
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -144,7 +141,6 @@ public class ServiceRelationClientRespTimeIndicator extends LongAvgIndicator imp
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
package org.apache.skywalking.oap.server.core.analysis.generated.servicerelation;
|
||||
|
||||
import org.apache.skywalking.oap.server.core.analysis.SourceDispatcher;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.expression.EqualMatch;
|
||||
import org.apache.skywalking.oap.server.core.analysis.worker.IndicatorProcess;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.expression.*;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.servicerelation
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 = "entity_id") @IDColumn private java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -120,7 +119,6 @@ public class ServiceRelationServerCallSlaIndicator extends PercentIndicator impl
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +130,6 @@ public class ServiceRelationServerCallSlaIndicator extends PercentIndicator impl
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -144,7 +141,6 @@ public class ServiceRelationServerCallSlaIndicator extends PercentIndicator impl
|
|||
indicator.setTotal(this.getTotal());
|
||||
indicator.setPercentage(this.getPercentage());
|
||||
indicator.setMatch(this.getMatch());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.servicerelation
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 = "entity_id") @IDColumn private java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -117,7 +116,6 @@ public class ServiceRelationServerCpmIndicator extends CPMIndicator implements A
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -128,7 +126,6 @@ public class ServiceRelationServerCpmIndicator extends CPMIndicator implements A
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -139,7 +136,6 @@ public class ServiceRelationServerCpmIndicator extends CPMIndicator implements A
|
|||
indicator.setEntityId(this.getEntityId());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTotal(this.getTotal());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,15 +21,14 @@ package org.apache.skywalking.oap.server.core.analysis.generated.servicerelation
|
|||
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.alarm.*;
|
||||
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;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.*;
|
||||
|
||||
/**
|
||||
* This class is auto generated. Please don't change this class manually.
|
||||
|
|
@ -41,7 +40,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 = "entity_id") @IDColumn private java.lang.String entityId;
|
||||
@Setter @Getter @Column(columnName = "entity_id") @IDColumn private String entityId;
|
||||
|
||||
@Override public String id() {
|
||||
String splitJointId = String.valueOf(getTimeBucket());
|
||||
|
|
@ -120,7 +119,6 @@ public class ServiceRelationServerRespTimeIndicator extends LongAvgIndicator imp
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +130,6 @@ public class ServiceRelationServerRespTimeIndicator extends LongAvgIndicator imp
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
@ -144,7 +141,6 @@ public class ServiceRelationServerRespTimeIndicator extends LongAvgIndicator imp
|
|||
indicator.setSummation(this.getSummation());
|
||||
indicator.setCount(this.getCount());
|
||||
indicator.setValue(this.getValue());
|
||||
indicator.setTimeBucket(this.getTimeBucket());
|
||||
return indicator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* 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.indicator.annotation;
|
||||
|
||||
/**
|
||||
* @author peng-yongsheng
|
||||
*/
|
||||
public class IndicatorAnnotationUtils {
|
||||
|
||||
public static boolean isIndicator(Class aClass) {
|
||||
return aClass.isAnnotationPresent(IndicatorType.class);
|
||||
}
|
||||
}
|
||||
|
|
@ -82,7 +82,9 @@ public class IndicatorPersistentWorker extends PersistenceWorker<Indicator, Merg
|
|||
batchCollection.add(indicatorDAO.prepareBatchInsert(modelName, data));
|
||||
}
|
||||
|
||||
nextWorker.in(data);
|
||||
if (Objects.nonNull(nextWorker)) {
|
||||
nextWorker.in(data);
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
logger.error(t.getMessage(), t);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ package org.apache.skywalking.oap.server.core.analysis.worker;
|
|||
|
||||
import java.util.*;
|
||||
import lombok.Getter;
|
||||
import org.apache.skywalking.oap.server.core.UnexpectedException;
|
||||
import org.apache.skywalking.oap.server.core.*;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.Indicator;
|
||||
import org.apache.skywalking.oap.server.core.storage.*;
|
||||
import org.apache.skywalking.oap.server.core.storage.annotation.StorageEntityAnnotationUtils;
|
||||
|
|
@ -52,15 +52,15 @@ public enum IndicatorProcess {
|
|||
throw new UnexpectedException("");
|
||||
}
|
||||
|
||||
AlarmNotifyWorker alarmNotifyWorker = new AlarmNotifyWorker(WorkerIdGenerator.INSTANCES.generate(), moduleManager);
|
||||
WorkerInstances.INSTANCES.put(alarmNotifyWorker.getWorkerId(), alarmNotifyWorker);
|
||||
IndicatorPersistentWorker minutePersistentWorker = minutePersistentWorker(moduleManager, indicatorDAO, modelName);
|
||||
IndicatorPersistentWorker hourPersistentWorker = worker(moduleManager, indicatorDAO, modelName + Const.ID_SPLIT + Downsampling.Hour.getName());
|
||||
IndicatorPersistentWorker dayPersistentWorker = worker(moduleManager, indicatorDAO, modelName + Const.ID_SPLIT + Downsampling.Day.getName());
|
||||
IndicatorPersistentWorker monthPersistentWorker = worker(moduleManager, indicatorDAO, modelName + Const.ID_SPLIT + Downsampling.Month.getName());
|
||||
|
||||
IndicatorPersistentWorker persistentWorker = new IndicatorPersistentWorker(WorkerIdGenerator.INSTANCES.generate(), modelName,
|
||||
1000, moduleManager, indicatorDAO, alarmNotifyWorker);
|
||||
WorkerInstances.INSTANCES.put(persistentWorker.getWorkerId(), persistentWorker);
|
||||
persistentWorkers.add(persistentWorker);
|
||||
IndicatorTransWorker transWorker = new IndicatorTransWorker(WorkerIdGenerator.INSTANCES.generate(), minutePersistentWorker, hourPersistentWorker, dayPersistentWorker, monthPersistentWorker);
|
||||
WorkerInstances.INSTANCES.put(transWorker.getWorkerId(), transWorker);
|
||||
|
||||
IndicatorRemoteWorker remoteWorker = new IndicatorRemoteWorker(WorkerIdGenerator.INSTANCES.generate(), moduleManager, persistentWorker);
|
||||
IndicatorRemoteWorker remoteWorker = new IndicatorRemoteWorker(WorkerIdGenerator.INSTANCES.generate(), moduleManager, transWorker);
|
||||
WorkerInstances.INSTANCES.put(remoteWorker.getWorkerId(), remoteWorker);
|
||||
|
||||
IndicatorAggregateWorker aggregateWorker = new IndicatorAggregateWorker(WorkerIdGenerator.INSTANCES.generate(), remoteWorker);
|
||||
|
|
@ -68,4 +68,27 @@ public enum IndicatorProcess {
|
|||
|
||||
entryWorkers.put(indicatorClass, aggregateWorker);
|
||||
}
|
||||
|
||||
private IndicatorPersistentWorker minutePersistentWorker(ModuleManager moduleManager,
|
||||
IIndicatorDAO indicatorDAO, String modelName) {
|
||||
AlarmNotifyWorker alarmNotifyWorker = new AlarmNotifyWorker(WorkerIdGenerator.INSTANCES.generate(), moduleManager);
|
||||
WorkerInstances.INSTANCES.put(alarmNotifyWorker.getWorkerId(), alarmNotifyWorker);
|
||||
|
||||
IndicatorPersistentWorker minutePersistentWorker = new IndicatorPersistentWorker(WorkerIdGenerator.INSTANCES.generate(), modelName,
|
||||
1000, moduleManager, indicatorDAO, alarmNotifyWorker);
|
||||
WorkerInstances.INSTANCES.put(minutePersistentWorker.getWorkerId(), minutePersistentWorker);
|
||||
persistentWorkers.add(minutePersistentWorker);
|
||||
|
||||
return minutePersistentWorker;
|
||||
}
|
||||
|
||||
private IndicatorPersistentWorker worker(ModuleManager moduleManager,
|
||||
IIndicatorDAO indicatorDAO, String modelName) {
|
||||
IndicatorPersistentWorker persistentWorker = new IndicatorPersistentWorker(WorkerIdGenerator.INSTANCES.generate(), modelName,
|
||||
1000, moduleManager, indicatorDAO, null);
|
||||
WorkerInstances.INSTANCES.put(persistentWorker.getWorkerId(), persistentWorker);
|
||||
persistentWorkers.add(persistentWorker);
|
||||
|
||||
return persistentWorker;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,64 @@
|
|||
/*
|
||||
* 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.worker;
|
||||
|
||||
import java.util.Objects;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.Indicator;
|
||||
import org.apache.skywalking.oap.server.core.worker.AbstractWorker;
|
||||
import org.slf4j.*;
|
||||
|
||||
/**
|
||||
* @author peng-yongsheng
|
||||
*/
|
||||
public class IndicatorTransWorker extends AbstractWorker<Indicator> {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(IndicatorTransWorker.class);
|
||||
|
||||
private final IndicatorPersistentWorker minutePersistenceWorker;
|
||||
private final IndicatorPersistentWorker hourPersistenceWorker;
|
||||
private final IndicatorPersistentWorker dayPersistenceWorker;
|
||||
private final IndicatorPersistentWorker monthPersistenceWorker;
|
||||
|
||||
public IndicatorTransWorker(int workerId,
|
||||
IndicatorPersistentWorker minutePersistenceWorker,
|
||||
IndicatorPersistentWorker hourPersistenceWorker,
|
||||
IndicatorPersistentWorker dayPersistenceWorker,
|
||||
IndicatorPersistentWorker monthPersistenceWorker) {
|
||||
super(workerId);
|
||||
this.minutePersistenceWorker = minutePersistenceWorker;
|
||||
this.hourPersistenceWorker = hourPersistenceWorker;
|
||||
this.dayPersistenceWorker = dayPersistenceWorker;
|
||||
this.monthPersistenceWorker = monthPersistenceWorker;
|
||||
}
|
||||
|
||||
@Override public void in(Indicator indicator) {
|
||||
if (Objects.nonNull(minutePersistenceWorker)) {
|
||||
minutePersistenceWorker.in(indicator);
|
||||
}
|
||||
if (Objects.nonNull(hourPersistenceWorker)) {
|
||||
hourPersistenceWorker.in(indicator.toHour());
|
||||
}
|
||||
if (Objects.nonNull(dayPersistenceWorker)) {
|
||||
dayPersistenceWorker.in(indicator.toDay());
|
||||
}
|
||||
if (Objects.nonNull(monthPersistenceWorker)) {
|
||||
monthPersistenceWorker.in(indicator.toMonth());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
* 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.config;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.skywalking.oap.server.core.storage.Downsampling;
|
||||
import org.apache.skywalking.oap.server.library.module.Service;
|
||||
|
||||
/**
|
||||
* @author peng-yongsheng
|
||||
*/
|
||||
public class DownsamplingConfigService implements Service {
|
||||
|
||||
private boolean shouldToHour = false;
|
||||
private boolean shouldToDay = false;
|
||||
private boolean shouldToMonth = false;
|
||||
|
||||
public DownsamplingConfigService(List<String> downsampling) {
|
||||
downsampling.forEach(value -> {
|
||||
if (Downsampling.Hour.getName().toLowerCase().equals(value.toLowerCase())) {
|
||||
shouldToHour = true;
|
||||
} else if (Downsampling.Day.getName().toLowerCase().equals(value.toLowerCase())) {
|
||||
shouldToDay = true;
|
||||
} else if (Downsampling.Month.getName().toLowerCase().equals(value.toLowerCase())) {
|
||||
shouldToMonth = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public boolean shouldToHour() {
|
||||
return shouldToHour;
|
||||
}
|
||||
|
||||
public boolean shouldToDay() {
|
||||
return shouldToDay;
|
||||
}
|
||||
|
||||
public boolean shouldToMonth() {
|
||||
return shouldToMonth;
|
||||
}
|
||||
}
|
||||
|
|
@ -24,23 +24,23 @@ import org.apache.skywalking.oap.server.core.query.entity.Step;
|
|||
/**
|
||||
* @author peng-yongsheng
|
||||
*/
|
||||
public class TimePyramidTableNameBuilder {
|
||||
public class DownsampleingModelNameBuilder {
|
||||
|
||||
private TimePyramidTableNameBuilder() {
|
||||
private DownsampleingModelNameBuilder() {
|
||||
}
|
||||
|
||||
public static String build(Step step, String tableName) {
|
||||
public static String build(Step step, String modelName) {
|
||||
switch (step) {
|
||||
case MONTH:
|
||||
tableName = tableName + Const.ID_SPLIT + TimePyramid.Month.getName();
|
||||
modelName = modelName + Const.ID_SPLIT + Downsampling.Month.getName();
|
||||
break;
|
||||
case DAY:
|
||||
tableName = tableName + Const.ID_SPLIT + TimePyramid.Day.getName();
|
||||
modelName = modelName + Const.ID_SPLIT + Downsampling.Day.getName();
|
||||
break;
|
||||
case HOUR:
|
||||
tableName = tableName + Const.ID_SPLIT + TimePyramid.Hour.getName();
|
||||
modelName = modelName + Const.ID_SPLIT + Downsampling.Hour.getName();
|
||||
break;
|
||||
}
|
||||
return tableName;
|
||||
return modelName;
|
||||
}
|
||||
}
|
||||
|
|
@ -21,13 +21,13 @@ package org.apache.skywalking.oap.server.core.storage;
|
|||
/**
|
||||
* @author peng-yongsheng
|
||||
*/
|
||||
public enum TimePyramid {
|
||||
public enum Downsampling {
|
||||
Second(0, "second"), Minute(1, "minute"), Hour(2, "hour"), Day(3, "day"), Month(4, "month");
|
||||
|
||||
private final int value;
|
||||
private final String name;
|
||||
|
||||
TimePyramid(int value, String name) {
|
||||
Downsampling(int value, String name) {
|
||||
this.value = value;
|
||||
this.name = name;
|
||||
}
|
||||
|
|
@ -22,6 +22,7 @@ import java.lang.annotation.Annotation;
|
|||
import java.lang.reflect.Field;
|
||||
import java.util.*;
|
||||
import lombok.Getter;
|
||||
import org.apache.skywalking.oap.server.core.analysis.indicator.annotation.IndicatorAnnotationUtils;
|
||||
import org.apache.skywalking.oap.server.core.annotation.AnnotationListener;
|
||||
import org.apache.skywalking.oap.server.core.storage.model.*;
|
||||
import org.slf4j.*;
|
||||
|
|
@ -47,11 +48,11 @@ public class StorageAnnotationListener implements AnnotationListener, IModelGett
|
|||
logger.info("The owner class of storage annotation, class name: {}", aClass.getName());
|
||||
|
||||
String modelName = StorageEntityAnnotationUtils.getModelName(aClass);
|
||||
|
||||
boolean isIndicator = IndicatorAnnotationUtils.isIndicator(aClass);
|
||||
List<ModelColumn> modelColumns = new LinkedList<>();
|
||||
retrieval(aClass, modelName, modelColumns);
|
||||
|
||||
models.add(new Model(modelName, modelColumns));
|
||||
models.add(new Model(modelName, modelColumns, isIndicator));
|
||||
}
|
||||
|
||||
private void retrieval(Class clazz, String modelName, List<ModelColumn> modelColumns) {
|
||||
|
|
|
|||
|
|
@ -27,10 +27,16 @@ import lombok.Getter;
|
|||
@Getter
|
||||
public class Model {
|
||||
private final String name;
|
||||
private final boolean isIndicator;
|
||||
private final List<ModelColumn> columns;
|
||||
|
||||
public Model(String name, List<ModelColumn> columns) {
|
||||
public Model(String name, List<ModelColumn> columns, boolean isIndicator) {
|
||||
this.name = name;
|
||||
this.columns = columns;
|
||||
this.isIndicator = isIndicator;
|
||||
}
|
||||
|
||||
public Model copy(String name) {
|
||||
return new Model(name, columns, isIndicator);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,9 +18,10 @@
|
|||
|
||||
package org.apache.skywalking.oap.server.core.storage.model;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.skywalking.oap.server.core.CoreModule;
|
||||
import org.apache.skywalking.oap.server.core.storage.StorageException;
|
||||
import java.util.*;
|
||||
import org.apache.skywalking.oap.server.core.*;
|
||||
import org.apache.skywalking.oap.server.core.config.DownsamplingConfigService;
|
||||
import org.apache.skywalking.oap.server.core.storage.*;
|
||||
import org.apache.skywalking.oap.server.library.client.Client;
|
||||
import org.apache.skywalking.oap.server.library.module.ModuleManager;
|
||||
import org.slf4j.*;
|
||||
|
|
@ -40,7 +41,24 @@ public abstract class ModelInstaller {
|
|||
|
||||
public final void install(Client client) throws StorageException {
|
||||
IModelGetter modelGetter = moduleManager.find(CoreModule.NAME).getService(IModelGetter.class);
|
||||
DownsamplingConfigService downsamplingConfigService = moduleManager.find(CoreModule.NAME).getService(DownsamplingConfigService.class);
|
||||
|
||||
List<Model> models = modelGetter.getModels();
|
||||
List<Model> downsamplingModels = new ArrayList<>();
|
||||
models.forEach(model -> {
|
||||
if (model.isIndicator()) {
|
||||
if (downsamplingConfigService.shouldToHour()) {
|
||||
downsamplingModels.add(model.copy(model.getName() + Const.ID_SPLIT + Downsampling.Hour.getName()));
|
||||
}
|
||||
if (downsamplingConfigService.shouldToDay()) {
|
||||
downsamplingModels.add(model.copy(model.getName() + Const.ID_SPLIT + Downsampling.Day.getName()));
|
||||
}
|
||||
if (downsamplingConfigService.shouldToMonth()) {
|
||||
downsamplingModels.add(model.copy(model.getName() + Const.ID_SPLIT + Downsampling.Month.getName()));
|
||||
}
|
||||
}
|
||||
});
|
||||
models.addAll(downsamplingModels);
|
||||
|
||||
boolean debug = System.getProperty("debug") != null;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,10 @@ core:
|
|||
restContextPath: /
|
||||
gRPCHost: 0.0.0.0
|
||||
gRPCPort: 11800
|
||||
downsampling:
|
||||
- Hour
|
||||
- Day
|
||||
- Month
|
||||
storage:
|
||||
elasticsearch:
|
||||
clusterNodes: localhost:9200
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import java.util.*;
|
|||
import org.apache.skywalking.oap.server.core.analysis.indicator.Indicator;
|
||||
import org.apache.skywalking.oap.server.core.query.entity.*;
|
||||
import org.apache.skywalking.oap.server.core.register.*;
|
||||
import org.apache.skywalking.oap.server.core.storage.TimePyramidTableNameBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.DownsampleingModelNameBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.query.IAggregationQueryDAO;
|
||||
import org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient;
|
||||
import org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO;
|
||||
|
|
@ -46,7 +46,7 @@ public class AggregationQueryEsDAO extends EsDAO implements IAggregationQueryDAO
|
|||
@Override
|
||||
public List<TopNEntity> getServiceTopN(String indName, String valueCName, int topN, Step step, long startTB,
|
||||
long endTB, Order order) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, indName);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, indName);
|
||||
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.query(QueryBuilders.rangeQuery(Indicator.TIME_BUCKET).lte(endTB).gte(startTB));
|
||||
|
|
@ -55,7 +55,7 @@ public class AggregationQueryEsDAO extends EsDAO implements IAggregationQueryDAO
|
|||
|
||||
@Override public List<TopNEntity> getAllServiceInstanceTopN(String indName, String valueCName, int topN, Step step,
|
||||
long startTB, long endTB, Order order) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, indName);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, indName);
|
||||
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.query(QueryBuilders.rangeQuery(Indicator.TIME_BUCKET).lte(endTB).gte(startTB));
|
||||
|
|
@ -64,7 +64,7 @@ public class AggregationQueryEsDAO extends EsDAO implements IAggregationQueryDAO
|
|||
|
||||
@Override public List<TopNEntity> getServiceInstanceTopN(int serviceId, String indName, String valueCName, int topN,
|
||||
Step step, long startTB, long endTB, Order order) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, indName);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, indName);
|
||||
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ public class AggregationQueryEsDAO extends EsDAO implements IAggregationQueryDAO
|
|||
@Override
|
||||
public List<TopNEntity> getAllEndpointTopN(String indName, String valueCName, int topN, Step step, long startTB,
|
||||
long endTB, Order order) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, indName);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, indName);
|
||||
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.query(QueryBuilders.rangeQuery(Indicator.TIME_BUCKET).lte(endTB).gte(startTB));
|
||||
|
|
@ -90,7 +90,7 @@ public class AggregationQueryEsDAO extends EsDAO implements IAggregationQueryDAO
|
|||
@Override
|
||||
public List<TopNEntity> getEndpointTopN(int serviceId, String indName, String valueCName, int topN, Step step,
|
||||
long startTB, long endTB, Order order) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, indName);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, indName);
|
||||
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import java.util.*;
|
|||
import org.apache.skywalking.oap.server.core.analysis.indicator.*;
|
||||
import org.apache.skywalking.oap.server.core.query.entity.*;
|
||||
import org.apache.skywalking.oap.server.core.query.sql.*;
|
||||
import org.apache.skywalking.oap.server.core.storage.TimePyramidTableNameBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.DownsampleingModelNameBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.query.IMetricQueryDAO;
|
||||
import org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient;
|
||||
import org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO;
|
||||
|
|
@ -46,7 +46,7 @@ public class MetricQueryEsDAO extends EsDAO implements IMetricQueryDAO {
|
|||
|
||||
public IntValues getValues(String indName, Step step, long startTB, long endTB, Where where, String valueCName,
|
||||
Function function) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, indName);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, indName);
|
||||
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
queryBuild(sourceBuilder, where, startTB, endTB);
|
||||
|
|
@ -101,7 +101,7 @@ public class MetricQueryEsDAO extends EsDAO implements IMetricQueryDAO {
|
|||
|
||||
@Override public IntValues getLinearIntValues(String indName, Step step, List<String> ids,
|
||||
String valueCName) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, indName);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, indName);
|
||||
|
||||
MultiGetResponse response = getClient().multiGet(indexName, ids);
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ public class MetricQueryEsDAO extends EsDAO implements IMetricQueryDAO {
|
|||
|
||||
@Override public Thermodynamic getThermodynamic(String indName, Step step, List<String> ids,
|
||||
String valueCName) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, indName);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, indName);
|
||||
|
||||
MultiGetResponse response = getClient().multiGet(indexName, ids);
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import org.apache.skywalking.oap.server.core.analysis.manual.service.*;
|
|||
import org.apache.skywalking.oap.server.core.analysis.manual.servicerelation.*;
|
||||
import org.apache.skywalking.oap.server.core.query.entity.*;
|
||||
import org.apache.skywalking.oap.server.core.source.*;
|
||||
import org.apache.skywalking.oap.server.core.storage.TimePyramidTableNameBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.DownsampleingModelNameBuilder;
|
||||
import org.apache.skywalking.oap.server.core.storage.query.ITopologyQueryDAO;
|
||||
import org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient;
|
||||
import org.apache.skywalking.oap.server.library.util.CollectionUtils;
|
||||
|
|
@ -57,7 +57,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
|
|||
sourceBuilder.size(0);
|
||||
setQueryCondition(sourceBuilder, startTB, endTB, serviceIds);
|
||||
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, ServiceRelationServerSideIndicator.INDEX_NAME);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, ServiceRelationServerSideIndicator.INDEX_NAME);
|
||||
return load(sourceBuilder, indexName, ServiceRelationServerSideIndicator.SOURCE_SERVICE_ID, ServiceRelationServerSideIndicator.DEST_SERVICE_ID, Source.Service);
|
||||
}
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
|
|||
sourceBuilder.size(0);
|
||||
setQueryCondition(sourceBuilder, startTB, endTB, serviceIds);
|
||||
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, ServiceRelationClientSideIndicator.INDEX_NAME);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, ServiceRelationClientSideIndicator.INDEX_NAME);
|
||||
return load(sourceBuilder, indexName, ServiceRelationClientSideIndicator.SOURCE_SERVICE_ID, ServiceRelationClientSideIndicator.DEST_SERVICE_ID, Source.Service);
|
||||
}
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
|
|||
}
|
||||
|
||||
@Override public List<Call> loadServerSideServiceRelations(Step step, long startTB, long endTB) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, ServiceRelationServerSideIndicator.INDEX_NAME);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, ServiceRelationServerSideIndicator.INDEX_NAME);
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.query(QueryBuilders.rangeQuery(ServiceRelationServerSideIndicator.TIME_BUCKET).gte(startTB).lte(endTB));
|
||||
sourceBuilder.size(0);
|
||||
|
|
@ -104,7 +104,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
|
|||
}
|
||||
|
||||
@Override public List<Call> loadClientSideServiceRelations(Step step, long startTB, long endTB) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, ServiceRelationClientSideIndicator.INDEX_NAME);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, ServiceRelationClientSideIndicator.INDEX_NAME);
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.query(QueryBuilders.rangeQuery(ServiceRelationServerSideIndicator.TIME_BUCKET).gte(startTB).lte(endTB));
|
||||
sourceBuilder.size(0);
|
||||
|
|
@ -113,7 +113,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
|
|||
}
|
||||
|
||||
@Override public List<ServiceMapping> loadServiceMappings(Step step, long startTB, long endTB) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, ServiceMappingIndicator.INDEX_NAME);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, ServiceMappingIndicator.INDEX_NAME);
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.query(QueryBuilders.rangeQuery(ServiceMappingIndicator.TIME_BUCKET).gte(startTB).lte(endTB));
|
||||
sourceBuilder.size(0);
|
||||
|
|
@ -140,7 +140,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
|
|||
|
||||
@Override
|
||||
public List<ServiceComponent> loadServiceComponents(Step step, long startTB, long endTB) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, ServiceComponentIndicator.INDEX_NAME);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, ServiceComponentIndicator.INDEX_NAME);
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.query(QueryBuilders.rangeQuery(ServiceComponentIndicator.TIME_BUCKET).gte(startTB).lte(endTB));
|
||||
sourceBuilder.size(0);
|
||||
|
|
@ -168,7 +168,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
|
|||
@Override
|
||||
public List<Call> loadSpecifiedDestOfServerSideEndpointRelations(Step step, long startTB, long endTB,
|
||||
int destEndpointId) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, EndpointRelationServerSideIndicator.INDEX_NAME);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, EndpointRelationServerSideIndicator.INDEX_NAME);
|
||||
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.size(0);
|
||||
|
|
@ -184,7 +184,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
|
|||
@Override
|
||||
public List<Call> loadSpecifiedSourceOfClientSideEndpointRelations(Step step, long startTB, long endTB,
|
||||
int sourceEndpointId) throws IOException {
|
||||
String indexName = TimePyramidTableNameBuilder.build(step, EndpointRelationClientSideIndicator.INDEX_NAME);
|
||||
String indexName = DownsampleingModelNameBuilder.build(step, EndpointRelationClientSideIndicator.INDEX_NAME);
|
||||
|
||||
SearchSourceBuilder sourceBuilder = SearchSourceBuilder.searchSource();
|
||||
sourceBuilder.size(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue