comments
This commit is contained in:
parent
f1be3e9934
commit
626ef11fef
|
|
@ -37,8 +37,8 @@ import org.skywalking.apm.agent.core.plugin.interceptor.enhance.MethodInterceptR
|
|||
import org.skywalking.apm.network.trace.component.ComponentsDefine;
|
||||
|
||||
/**
|
||||
* {@link MongoDBCollectionMethodInterceptor} intercept constructor of {@link com.mongodb.DBCollection}or {@link
|
||||
* com.mongodb.DBCollectionImpl} for record the ServerAddress,and create the exit span.
|
||||
* {@link MongoDBCollectionMethodInterceptor} intercepts constructor of {@link com.mongodb.DBCollection}or {@link
|
||||
* com.mongodb.DBCollectionImpl} recording the ServerAddress and creating the exit span.
|
||||
*
|
||||
* @author liyuntao
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ package org.skywalking.apm.plugin.mongodb.v2.define;
|
|||
import org.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
|
||||
/**
|
||||
* @Auther liyuntao
|
||||
* @auther liyuntao
|
||||
*/
|
||||
public abstract class InterceptPoint implements InstanceMethodsInterceptPoint {
|
||||
private static final String MONGDB_METHOD_INTERCET_CLASS = "org.skywalking.apm.plugin.mongodb.v2.MongoDBCollectionMethodInterceptor";
|
||||
|
|
|
|||
|
|
@ -32,8 +32,14 @@ import static org.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
|
|||
|
||||
/**
|
||||
* {@link MongoDBCollectionImplInstrumentation} define that the MongoDB Java Driver 2.13.x-2.14.x plugin intercepts the
|
||||
* following methods in the {@link com.mongodb.DBCollectionImpl}class: 1. find <br/> 2. insert <br/> 3. insertImpl <br/>
|
||||
* 4. update <br/> 5. updateImpl <br/> 6. remove <br/> 7. createIndex <br/>
|
||||
* following methods in the {@link com.mongodb.DBCollectionImpl}class:
|
||||
* 1. find <br/>
|
||||
* 2. insert <br/>
|
||||
* 3. insertImpl <br/>
|
||||
* 4. update <br/>
|
||||
* 5. updateImpl <br/>
|
||||
* 6. remove <br/>
|
||||
* 7. createIndex <br/>
|
||||
*
|
||||
* @author liyuntao
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -33,8 +33,17 @@ import static org.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
|
|||
|
||||
/**
|
||||
* {@link MongoDBCollectionInstrumentation} define that the MongoDB Java Driver 2.13.x-2.14.x plugin intercepts the
|
||||
* following methods in the {@link com.mongodb.DBCollection}class: 1. aggregate <br/> 2. findAndModify <br/> 3. getCount
|
||||
* <br/> 4. drop <br/> 5. dropIndexes <br/> 6. rename <br/> 7. group <br/> 8. distinct <br/> 9. mapReduce <br/>
|
||||
* following methods in the {@link com.mongodb.DBCollection}class:
|
||||
* 1. aggregate <br/>
|
||||
* 2. findAndModify <br/>
|
||||
* 3. getCount
|
||||
* <br/>
|
||||
* 4. drop <br/>
|
||||
* 5. dropIndexes <br/>
|
||||
* 6. rename <br/>
|
||||
* 7. group <br/>
|
||||
* 8. distinct <br/>
|
||||
* 9. mapReduce <br/>
|
||||
*
|
||||
* @author liyuntao
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue