We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1801433 commit 94e8161Copy full SHA for 94e8161
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerOptions.java
@@ -919,8 +919,8 @@ public boolean isEnableBuiltInMetrics() {
919
920
@Override
921
public boolean isEnableGRPCBuiltInMetrics() {
922
- return !Boolean.parseBoolean(
923
- System.getenv(SPANNER_DISABLE_DIRECT_ACCESS_GRPC_BUILTIN_METRICS));
+ return "false"
+ .equalsIgnoreCase(System.getenv(SPANNER_DISABLE_DIRECT_ACCESS_GRPC_BUILTIN_METRICS));
924
}
925
926
0 commit comments