You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2018/10/16 14:24:13 UTC

[incubator-skywalking] branch master updated: Update InterceptPoint.java (#1776)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new c838d16  Update InterceptPoint.java (#1776)
c838d16 is described below

commit c838d1610f990ef459642aa649da9e5c108b7597
Author: cheetah012 <37...@qq.com>
AuthorDate: Tue Oct 16 22:24:06 2018 +0800

    Update InterceptPoint.java (#1776)
    
    Using Mongo 2.14.3, we found that :" java. lang. ClassNotFoundException: Can't find MongoDBCollection Method Interceptor",  must use "org.apache.skywalking.apm.plugin.mongodb.v2.MongoDBCollectionMethodInterceptor" to solve this problem.
---
 .../apache/skywalking/apm/plugin/mongodb/v2/define/InterceptPoint.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/mongodb/v2/define/InterceptPoint.java b/apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/mongodb/v2/define/InterceptPoint.java
index c6492fb..b90f2bc 100644
--- a/apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/mongodb/v2/define/InterceptPoint.java
+++ b/apm-sniffer/apm-sdk-plugin/mongodb-2.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/mongodb/v2/define/InterceptPoint.java
@@ -25,7 +25,7 @@ import org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsIn
  * @author liyuntao
  */
 public abstract class InterceptPoint implements InstanceMethodsInterceptPoint {
-    private static final String MONGDB_METHOD_INTERCET_CLASS = "MongoDBCollectionMethodInterceptor";
+    private static final String MONGDB_METHOD_INTERCET_CLASS = "org.apache.skywalking.apm.plugin.mongodb.v2.MongoDBCollectionMethodInterceptor";
 
     @Override
     public String getMethodsInterceptor() {