Skip to content

Commit

Permalink
Change class to identify lookout. (sofastack#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
leizhiyuan authored and ujjboy committed Oct 25, 2018
1 parent 7766e92 commit 6eab49b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
package com.alipay.sofa.rpc.module;

import com.alipay.sofa.rpc.event.ClientAsyncReceiveEvent;
import com.alipay.sofa.rpc.event.ClientEndInvokeEvent;
import com.alipay.sofa.rpc.event.EventBus;
import com.alipay.sofa.rpc.event.LookoutSubscriber;
Expand All @@ -36,7 +35,7 @@ public class LookoutModule implements Module {
@Override
public boolean needLoad() {
try {
Class.forName("com.alipay.lookout.spi.DefaultMetricsImporterLocator");
Class.forName("com.alipay.lookout.spi.MetricsImporterLocator");
return true;
} catch (Exception e) {
return false;
Expand Down

0 comments on commit 6eab49b

Please sign in to comment.