Search in sources :

Example 1 with SLATrend

use of org.apache.skywalking.apm.collector.storage.ui.common.SLATrend in project incubator-skywalking by apache.

the class ServiceNameService method getServiceSLATrend.

public SLATrend getServiceSLATrend(int serviceId, Step step, long startTimeBucket, long endTimeBucket) throws ParseException {
    SLATrend slaTrend = new SLATrend();
    List<DurationPoint> durationPoints = DurationUtils.INSTANCE.getDurationPoints(step, startTimeBucket, endTimeBucket);
    slaTrend.setTrendList(serviceMetricUIDAO.getServiceSLATrend(serviceId, step, durationPoints));
    return slaTrend;
}
Also used : DurationPoint(org.apache.skywalking.apm.collector.storage.utils.DurationPoint) SLATrend(org.apache.skywalking.apm.collector.storage.ui.common.SLATrend)

Aggregations

SLATrend (org.apache.skywalking.apm.collector.storage.ui.common.SLATrend)1 DurationPoint (org.apache.skywalking.apm.collector.storage.utils.DurationPoint)1