This commit is contained in:
lytscu 2017-11-20 11:20:24 +08:00
parent f1be3e9934
commit 626ef11fef
4 changed files with 22 additions and 7 deletions

View File

@ -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
*/

View File

@ -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";

View File

@ -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
*/

View File

@ -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
*/