mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-26 05:06:34 +10:00
[강운덕] [PROFILER-33] trace에 호환성 api가 있어, rpc count 관련 내용도 같이 commit함.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-profiler-bootstrap/trunk@3980 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package com.nhn.pinpoint.bootstrap.context;
|
||||
|
||||
/**
|
||||
* @author emeroad
|
||||
*/
|
||||
public interface Metric {
|
||||
}
|
||||
@@ -27,6 +27,8 @@ public interface Trace {
|
||||
|
||||
void traceRootBlockEnd();
|
||||
|
||||
void traceRootBlockEnd(Metric responseMetric);
|
||||
|
||||
void traceBlockEnd();
|
||||
|
||||
void traceBlockEnd(int stackId);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.nhn.pinpoint.bootstrap.context;
|
||||
|
||||
import com.nhn.pinpoint.common.ServiceType;
|
||||
import com.nhn.pinpoint.common.util.ParsingResult;
|
||||
import com.nhn.pinpoint.bootstrap.config.ProfilerConfig;
|
||||
import com.nhn.pinpoint.bootstrap.interceptor.MethodDescriptor;
|
||||
@@ -43,9 +44,15 @@ public interface TraceContext {
|
||||
|
||||
DatabaseInfo parseJdbcUrl(String sql);
|
||||
|
||||
DatabaseInfo createDatabaseInfo(ServiceType type, ServiceType executeQueryType, String url, int port, String databaseId);
|
||||
|
||||
TraceId createTraceId(String transactionId, long parentSpanID, long spanID, short flags);
|
||||
|
||||
void disableSampling();
|
||||
|
||||
ProfilerConfig getProfilerConfig();
|
||||
|
||||
Metric getRpcMetric(ServiceType serviceType);
|
||||
|
||||
Metric getContextMetric();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user