mirror of https://github.com/grpc/grpc-java.git
okhttp: disable census when in GAE+JDK7 (#3696)
Disable census for now due to: https://github.com/census-instrumentation/opencensus-java/issues/777
This commit is contained in:
parent
ca9a41a46e
commit
12df89b062
|
|
@ -119,6 +119,12 @@ public class OkHttpChannelBuilder extends
|
|||
|
||||
private OkHttpChannelBuilder(String target) {
|
||||
super(target);
|
||||
// TODO(zpencer): re-enable after census issue is resolved
|
||||
// census-instrumentation/opencensus-java/issues/777
|
||||
if (GrpcUtil.IS_RESTRICTED_APPENGINE) {
|
||||
setTracingEnabled(false);
|
||||
setStatsEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue