use of com.navercorp.pinpoint.flink.Bootstrap in project pinpoint by naver.
the class StatisticsDao method open.
@Override
public void open(Configuration parameters) throws Exception {
ExecutionConfig.GlobalJobParameters globalJobParameters = getRuntimeContext().getExecutionConfig().getGlobalJobParameters();
Bootstrap bootstrap = Bootstrap.getInstance(globalJobParameters.toMap());
cpuLoadDao = bootstrap.getCpuLoadDao();
memoryDao = bootstrap.getMemoryDao();
transactionDao = bootstrap.getTransactionDao();
activeTraceDao = bootstrap.getActiveTraceDao();
responseTimeDao = bootstrap.getResponseTimeDao();
dataSourceDao = bootstrap.getDataSourceDao();
fileDescriptorDao = bootstrap.getFileDescriptorDao();
directBufferDao = bootstrap.getDirectBufferDao();
totalThreadCountDao = bootstrap.getTotalThreadCountDao();
loadedClassDao = bootstrap.getLoadedClassDao();
statisticsDaoInterceptor = bootstrap.getStatisticsDaoInterceptor();
}
use of com.navercorp.pinpoint.flink.Bootstrap in project pinpoint by naver.
the class TcpSourceFunction method run.
@Override
public void run(SourceContext<RawData> ctx) throws Exception {
final Bootstrap bootstrap = Bootstrap.getInstance(globalJobParameters.toMap());
bootstrap.setStatHandlerTcpDispatchHandler(ctx);
bootstrap.initFlinkServerRegister();
bootstrap.initTcpReceiver();
Thread.sleep(Long.MAX_VALUE);
}
use of com.navercorp.pinpoint.flink.Bootstrap in project pinpoint by naver.
the class TBaseFlatMapper method open.
public void open(Configuration parameters) throws Exception {
GlobalJobParameters globalJobParameters = getRuntimeContext().getExecutionConfig().getGlobalJobParameters();
this.joinAgentStatBoMapper = new JoinAgentStatBoMapper();
Bootstrap bootstrap = Bootstrap.getInstance(globalJobParameters.toMap());
applicationCache = bootstrap.getApplicationCache();
tBaseFlatMapperInterceptor = bootstrap.getTbaseFlatMapperInterceptor();
}
Aggregations