forked from pinpoint-apm/pinpoint
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
220 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DisableSpanEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.navercorp.pinpoint.profiler.context; | ||
|
||
public class DisableSpanEvent extends SpanEvent { | ||
@Override | ||
public String toString() { | ||
return "DisableSpanEvent"; | ||
} | ||
|
||
} |
154 changes: 154 additions & 0 deletions
154
profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DisableSpanEventRecorder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
package com.navercorp.pinpoint.profiler.context; | ||
|
||
import com.navercorp.pinpoint.bootstrap.context.AsyncContext; | ||
import com.navercorp.pinpoint.bootstrap.context.MethodDescriptor; | ||
import com.navercorp.pinpoint.bootstrap.context.ParsingResult; | ||
import com.navercorp.pinpoint.bootstrap.context.SpanEventRecorder; | ||
import com.navercorp.pinpoint.common.trace.AnnotationKey; | ||
import com.navercorp.pinpoint.common.trace.ServiceType; | ||
import com.navercorp.pinpoint.common.util.DataType; | ||
|
||
public class DisableSpanEventRecorder extends DefaultFrameAttachment implements SpanEventRecorder { | ||
|
||
private Object frameObject; | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, String value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, int value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, Integer value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, long value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, Long value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, boolean value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, double value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, byte[] value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, DataType value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordAttribute(AnnotationKey key, Object value) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordTime(boolean time) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordException(Throwable throwable) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordException(boolean markError, Throwable throwable) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordApiId(int apiId) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordApi(MethodDescriptor methodDescriptor) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordApi(MethodDescriptor methodDescriptor, Object[] args) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordApi(MethodDescriptor methodDescriptor, Object args, int index) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordApi(MethodDescriptor methodDescriptor, Object[] args, int start, int end) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordApiCachedString(MethodDescriptor methodDescriptor, String args, int index) { | ||
|
||
} | ||
|
||
@Override | ||
public ParsingResult recordSqlInfo(String sql) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public void recordSqlParsingResult(ParsingResult parsingResult) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordSqlParsingResult(ParsingResult parsingResult, String bindValue) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordServiceType(ServiceType serviceType) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordDestinationId(String destinationId) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordEndPoint(String endPoint) { | ||
|
||
} | ||
|
||
@Override | ||
public void recordNextSpanId(long spanId) { | ||
|
||
} | ||
|
||
@Override | ||
public AsyncContext recordNextAsyncContext() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public AsyncContext recordNextAsyncContext(boolean stateful) { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.