Loading apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/MongoDBCollectionMethodInterceptor.java +2 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/InterceptPoint.java +1 −1 Original line number Diff line number Diff line Loading @@ -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"; Loading apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/MongoDBCollectionImplInstrumentation.java +8 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/MongoDBCollectionInstrumentation.java +11 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/MongoDBCollectionMethodInterceptor.java +2 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading
apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/InterceptPoint.java +1 −1 Original line number Diff line number Diff line Loading @@ -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"; Loading
apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/MongoDBCollectionImplInstrumentation.java +8 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading
apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/MongoDBCollectionInstrumentation.java +11 −2 Original line number Diff line number Diff line Loading @@ -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