Search in sources :

Example 6 with AgentStatBo

use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.

the class TFJvmGcMapper method build.

@Override
public void build(TFAgentStatMapper.TFAgentStatBuilder builder) {
    AgentStatBo agentStat = builder.getAgentStat();
    List<JvmGcBo> jvmGcList = agentStat.getJvmGcBos();
    builder.build(jvmGcList, this);
}
Also used : JvmGcBo(com.navercorp.pinpoint.common.server.bo.stat.JvmGcBo) AgentStatBo(com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo)

Example 7 with AgentStatBo

use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.

the class TFTransactionMapper method build.

@Override
public void build(TFAgentStatMapper.TFAgentStatBuilder builder) {
    AgentStatBo agentStat = builder.getAgentStat();
    List<TransactionBo> transactionList = agentStat.getTransactionBos();
    builder.build(transactionList, this);
}
Also used : AgentStatBo(com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo) TransactionBo(com.navercorp.pinpoint.common.server.bo.stat.TransactionBo)

Example 8 with AgentStatBo

use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.

the class TFDataSourceListBoMapper method build.

@Override
public void build(TFAgentStatMapper.TFAgentStatBuilder builder) {
    AgentStatBo agentStat = builder.getAgentStat();
    List<DataSourceListBo> dataSourceList = agentStat.getDataSourceListBos();
    builder.build(dataSourceList, this);
}
Also used : AgentStatBo(com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo) DataSourceListBo(com.navercorp.pinpoint.common.server.bo.stat.DataSourceListBo)

Example 9 with AgentStatBo

use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.

the class TFTotalThreadCountMapper method build.

@Override
public void build(TFAgentStatMapper.TFAgentStatBuilder builder) {
    AgentStatBo agentStat = builder.getAgentStat();
    List<TotalThreadCountBo> totalThreadCountList = agentStat.getTotalThreadCountBos();
    builder.build(totalThreadCountList, this);
}
Also used : AgentStatBo(com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo) TotalThreadCountBo(com.navercorp.pinpoint.common.server.bo.stat.TotalThreadCountBo)

Example 10 with AgentStatBo

use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.

the class TFAgentStatBatchMapperTest method mapTest.

@Test
public void mapTest() {
    AgentStatBo agentStatBo = createCpuLoadBoList();
    TFAgentStatMapper tFAgentStatMapper = new TFAgentStatMapper(new TFCpuLoadMapper[] { new TFCpuLoadMapper() });
    TFAgentStatBatchMapper mapper = new TFAgentStatBatchMapper(tFAgentStatMapper);
    TFAgentStatBatch tFAgentStatBatch = mapper.map(agentStatBo);
    assertEquals(TEST_AGENT, tFAgentStatBatch.getAgentId());
    assertEquals(startTimestamp, tFAgentStatBatch.getStartTimestamp());
    List<TFAgentStat> agentStatList = tFAgentStatBatch.getAgentStats();
    assertEquals(3, agentStatList.size());
}
Also used : AgentStatBo(com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo) TFAgentStat(com.navercorp.pinpoint.thrift.dto.flink.TFAgentStat) TFAgentStatBatch(com.navercorp.pinpoint.thrift.dto.flink.TFAgentStatBatch) Test(org.junit.Test)

Aggregations

AgentStatBo (com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo)40 Test (org.junit.Test)13 TFAgentStat (com.navercorp.pinpoint.thrift.dto.flink.TFAgentStat)9 CpuLoadBo (com.navercorp.pinpoint.common.server.bo.stat.CpuLoadBo)5 ActiveTraceBo (com.navercorp.pinpoint.common.server.bo.stat.ActiveTraceBo)4 DataSourceListBo (com.navercorp.pinpoint.common.server.bo.stat.DataSourceListBo)4 JvmGcBo (com.navercorp.pinpoint.common.server.bo.stat.JvmGcBo)4 TAgentStat (com.navercorp.pinpoint.thrift.dto.TAgentStat)4 DataSourceBo (com.navercorp.pinpoint.common.server.bo.stat.DataSourceBo)3 TransactionBo (com.navercorp.pinpoint.common.server.bo.stat.TransactionBo)3 FileDescriptorBo (com.navercorp.pinpoint.common.server.bo.stat.FileDescriptorBo)2 JvmGcDetailedBo (com.navercorp.pinpoint.common.server.bo.stat.JvmGcDetailedBo)2 LoadedClassBo (com.navercorp.pinpoint.common.server.bo.stat.LoadedClassBo)2 ResponseTimeBo (com.navercorp.pinpoint.common.server.bo.stat.ResponseTimeBo)2 TotalThreadCountBo (com.navercorp.pinpoint.common.server.bo.stat.TotalThreadCountBo)2 Header (com.navercorp.pinpoint.grpc.Header)2 TAgentStatBatch (com.navercorp.pinpoint.thrift.dto.TAgentStatBatch)2 TDataSource (com.navercorp.pinpoint.thrift.dto.TDataSource)2 TDataSourceList (com.navercorp.pinpoint.thrift.dto.TDataSourceList)2 TFActiveTraceHistogram (com.navercorp.pinpoint.thrift.dto.flink.TFActiveTraceHistogram)2