comments
This commit is contained in:
parent
4215fc628c
commit
14bc3d9670
|
|
@ -37,11 +37,9 @@ import org.skywalking.apm.agent.core.plugin.interceptor.enhance.MethodInterceptR
|
|||
import org.skywalking.apm.network.trace.component.ComponentsDefine;
|
||||
|
||||
/**
|
||||
* {@link MongoDBCollectionMethodInterceptor}create the exit span when the client call the interceptor methods.
|
||||
* <p>
|
||||
* {@link MongoDBCollectionMethodInterceptor} intercept constructor of {@link com.mongodb.DBCollection}or {@link com.mongodb.DBCollectionImpl} for
|
||||
* record the ServerAddress.
|
||||
*
|
||||
* record the ServerAddress,and create the exit span.
|
||||
*@Auther liyuntao
|
||||
*/
|
||||
|
||||
public class MongoDBCollectionMethodInterceptor implements InstanceMethodsAroundInterceptor, InstanceConstructorInterceptor {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ import static org.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
|
|||
* 5. updateImpl <br/>
|
||||
* 6. remove <br/>
|
||||
* 7. createIndex <br/>
|
||||
*
|
||||
*@Auther liyuntao
|
||||
*/
|
||||
public class MongoDBCollectionImplInstrumentation extends ClassInstanceMethodsEnhancePluginDefine {
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ import static org.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
|
|||
* 7. group <br/>
|
||||
* 8. distinct <br/>
|
||||
* 9. mapReduce <br/>
|
||||
*
|
||||
*@Auther liyuntao
|
||||
*/
|
||||
public class MongoDBCollectionInstrumentation extends ClassInstanceMethodsEnhancePluginDefine {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue