This commit is contained in:
lytscu 2017-11-16 21:14:50 +08:00
parent 4215fc628c
commit 14bc3d9670
3 changed files with 4 additions and 6 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {