Skip to content

Commit 626ef11

Browse files
committed
comments
1 parent f1be3e9 commit 626ef11

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/MongoDBCollectionMethodInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
import org.skywalking.apm.network.trace.component.ComponentsDefine;
3838

3939
/**
40-
* {@link MongoDBCollectionMethodInterceptor} intercept constructor of {@link com.mongodb.DBCollection}or {@link
41-
* com.mongodb.DBCollectionImpl} for record the ServerAddress,and create the exit span.
40+
* {@link MongoDBCollectionMethodInterceptor} intercepts constructor of {@link com.mongodb.DBCollection}or {@link
41+
* com.mongodb.DBCollectionImpl} recording the ServerAddress and creating the exit span.
4242
*
4343
* @author liyuntao
4444
*/

apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/InterceptPoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint;
2222

2323
/**
24-
* @Auther liyuntao
24+
* @auther liyuntao
2525
*/
2626
public abstract class InterceptPoint implements InstanceMethodsInterceptPoint {
2727
private static final String MONGDB_METHOD_INTERCET_CLASS = "org.skywalking.apm.plugin.mongodb.v2.MongoDBCollectionMethodInterceptor";

apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/MongoDBCollectionImplInstrumentation.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,14 @@
3232

3333
/**
3434
* {@link MongoDBCollectionImplInstrumentation} define that the MongoDB Java Driver 2.13.x-2.14.x plugin intercepts the
35-
* following methods in the {@link com.mongodb.DBCollectionImpl}class: 1. find <br/> 2. insert <br/> 3. insertImpl <br/>
36-
* 4. update <br/> 5. updateImpl <br/> 6. remove <br/> 7. createIndex <br/>
35+
* following methods in the {@link com.mongodb.DBCollectionImpl}class:
36+
* 1. find <br/>
37+
* 2. insert <br/>
38+
* 3. insertImpl <br/>
39+
* 4. update <br/>
40+
* 5. updateImpl <br/>
41+
* 6. remove <br/>
42+
* 7. createIndex <br/>
3743
*
3844
* @author liyuntao
3945
*/

apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/skywalking/apm/plugin/mongodb/v2/define/MongoDBCollectionInstrumentation.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,17 @@
3333

3434
/**
3535
* {@link MongoDBCollectionInstrumentation} define that the MongoDB Java Driver 2.13.x-2.14.x plugin intercepts the
36-
* following methods in the {@link com.mongodb.DBCollection}class: 1. aggregate <br/> 2. findAndModify <br/> 3. getCount
37-
* <br/> 4. drop <br/> 5. dropIndexes <br/> 6. rename <br/> 7. group <br/> 8. distinct <br/> 9. mapReduce <br/>
36+
* following methods in the {@link com.mongodb.DBCollection}class:
37+
* 1. aggregate <br/>
38+
* 2. findAndModify <br/>
39+
* 3. getCount
40+
* <br/>
41+
* 4. drop <br/>
42+
* 5. dropIndexes <br/>
43+
* 6. rename <br/>
44+
* 7. group <br/>
45+
* 8. distinct <br/>
46+
* 9. mapReduce <br/>
3847
*
3948
* @author liyuntao
4049
*/

0 commit comments

Comments
 (0)