use of com.navercorp.pinpoint.profiler.DefaultAgentInformation in project pinpoint by naver.
the class AgentGrpcDataSenderTestMain method newAgentInfo.
private AgentInfo newAgentInfo() {
AgentInformation agentInformation = new DefaultAgentInformation(AGENT_ID, AGENT_NAME, APPLICATION_NAME, true, START_TIME, 99, "", "", ServiceType.TEST_STAND_ALONE, "1.0", "1.0");
JvmInformation jvmInformation = new JvmInformation("1.0", JvmGcType.G1);
ServerMetaData serverInfo = new DefaultServerMetaData("serverInfo", Collections.<String>emptyList(), Collections.<Integer, String>emptyMap(), Collections.<ServiceInfo>emptyList());
return new AgentInfo(agentInformation, serverInfo, jvmInformation);
}
Aggregations