Search in sources :

Example 16 with SampledJvmGc

use of com.navercorp.pinpoint.web.vo.stat.SampledJvmGc in project pinpoint by naver.

the class HbaseSampledJvmGcDaoV2 method getSampledAgentStatList.

@Override
public List<SampledJvmGc> getSampledAgentStatList(String agentId, TimeWindow timeWindow) {
    long scanFrom = timeWindow.getWindowRange().getFrom();
    long scanTo = timeWindow.getWindowRange().getTo() + timeWindow.getWindowSlotSize();
    Range range = new Range(scanFrom, scanTo);
    AgentStatMapperV2<JvmGcBo> mapper = operations.createRowMapper(jvmGcDecoder, range);
    SampledAgentStatResultExtractor<JvmGcBo, SampledJvmGc> resultExtractor = new SampledAgentStatResultExtractor<>(timeWindow, mapper, jvmGcSampler);
    return operations.getSampledAgentStatList(AgentStatType.JVM_GC, resultExtractor, agentId, range);
}
Also used : JvmGcBo(com.navercorp.pinpoint.common.server.bo.stat.JvmGcBo) SampledAgentStatResultExtractor(com.navercorp.pinpoint.web.mapper.stat.SampledAgentStatResultExtractor) SampledJvmGc(com.navercorp.pinpoint.web.vo.stat.SampledJvmGc) Range(com.navercorp.pinpoint.web.vo.Range)

Aggregations

SampledJvmGc (com.navercorp.pinpoint.web.vo.stat.SampledJvmGc)16 JvmGcBo (com.navercorp.pinpoint.common.server.bo.stat.JvmGcBo)15 Test (org.junit.Test)12 Range (com.navercorp.pinpoint.web.vo.Range)3 SampledAgentStatResultExtractor (com.navercorp.pinpoint.web.mapper.stat.SampledAgentStatResultExtractor)2 JvmGcType (com.navercorp.pinpoint.common.server.bo.JvmGcType)1 AgentStat (com.navercorp.pinpoint.web.vo.AgentStat)1 Point (com.navercorp.pinpoint.web.vo.chart.Point)1 UncollectedPoint (com.navercorp.pinpoint.web.vo.chart.UncollectedPoint)1 SampledActiveTrace (com.navercorp.pinpoint.web.vo.stat.SampledActiveTrace)1 SampledCpuLoad (com.navercorp.pinpoint.web.vo.stat.SampledCpuLoad)1 SampledTransaction (com.navercorp.pinpoint.web.vo.stat.SampledTransaction)1 LegacyAgentStatChartGroup (com.navercorp.pinpoint.web.vo.stat.chart.LegacyAgentStatChartGroup)1 ArrayList (java.util.ArrayList)1