mirror of https://github.com/grpc/grpc-java.git
disable recording real-time metrics using in gcp-o11y
This commit is contained in:
parent
844de39c26
commit
9039d4dcff
|
|
@ -132,9 +132,9 @@ public final class GcpObservability implements AutoCloseable {
|
||||||
}
|
}
|
||||||
if (config.isEnableCloudMonitoring()) {
|
if (config.isEnableCloudMonitoring()) {
|
||||||
clientInterceptors.add(getConditionalInterceptor(
|
clientInterceptors.add(getConditionalInterceptor(
|
||||||
InternalCensusStatsAccessor.getClientInterceptor(true, true, true, true)));
|
InternalCensusStatsAccessor.getClientInterceptor(true, true, false, true)));
|
||||||
tracerFactories.add(
|
tracerFactories.add(
|
||||||
InternalCensusStatsAccessor.getServerStreamTracerFactory(true, true, true));
|
InternalCensusStatsAccessor.getServerStreamTracerFactory(true, true, false));
|
||||||
}
|
}
|
||||||
if (config.isEnableCloudTracing()) {
|
if (config.isEnableCloudTracing()) {
|
||||||
clientInterceptors.add(
|
clientInterceptors.add(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue