@@ -715,7 +715,8 @@ private static class SpannerEnvironmentImpl implements SpannerEnvironment {
715
715
"SPANNER_OPTIMIZER_STATISTICS_PACKAGE" ;
716
716
private static final String SPANNER_ENABLE_EXTENDED_TRACING = "SPANNER_ENABLE_EXTENDED_TRACING" ;
717
717
private static final String SPANNER_ENABLE_API_TRACING = "SPANNER_ENABLE_API_TRACING" ;
718
- private static final String SPANNER_ENABLE_SERVER_SIDE_TRACING = "SPANNER_ENABLE_SERVER_SIDE_TRACING" ;
718
+ private static final String SPANNER_ENABLE_SERVER_SIDE_TRACING =
719
+ "SPANNER_ENABLE_SERVER_SIDE_TRACING" ;
719
720
720
721
private SpannerEnvironmentImpl () {}
721
722
@@ -811,7 +812,8 @@ public static class Builder
811
812
private OpenTelemetry openTelemetry ;
812
813
private boolean enableApiTracing = SpannerOptions .environment .isEnableApiTracing ();
813
814
private boolean enableExtendedTracing = SpannerOptions .environment .isEnableExtendedTracing ();
814
- private boolean enableServerSideTracing = SpannerOptions .environment .isEnableServerSideTracing ();
815
+ private boolean enableServerSideTracing =
816
+ SpannerOptions .environment .isEnableServerSideTracing ();
815
817
816
818
private static String createCustomClientLibToken (String token ) {
817
819
return token + " " + ServiceOptions .getGoogApiClientLibName ();
@@ -1406,23 +1408,23 @@ public Builder setEnableExtendedTracing(boolean enableExtendedTracing) {
1406
1408
}
1407
1409
1408
1410
/**
1409
- * Enable spanner server side tracing. Enabling this option will create the trace
1410
- * spans at the Spanner layer. By default, server side tracing is disabled.
1411
+ * Enable spanner server side tracing. Enabling this option will create the trace spans at the
1412
+ * Spanner layer. By default, server side tracing is disabled.
1411
1413
*/
1412
1414
public Builder enableServerSideTracing () {
1413
1415
this .enableServerSideTracing = true ;
1414
1416
return this ;
1415
1417
}
1416
1418
1417
1419
/**
1418
- * Disable spanner server side tracing. If server side is disabled, trace
1419
- * spans won't be created at the Spanner layer.
1420
+ * Disable spanner server side tracing. If server side is disabled, trace spans won't be created
1421
+ * at the Spanner layer.
1420
1422
*/
1421
1423
public Builder disableServerSideTracing () {
1422
1424
this .enableServerSideTracing = false ;
1423
1425
return this ;
1424
1426
}
1425
-
1427
+
1426
1428
@ SuppressWarnings ("rawtypes" )
1427
1429
@ Override
1428
1430
public SpannerOptions build () {
@@ -1715,8 +1717,8 @@ public boolean isEnableExtendedTracing() {
1715
1717
}
1716
1718
1717
1719
/**
1718
- * Returns whether Spanner server side tracing is enabled. If this option is enabled then trace spans
1719
- * will be created at the Spanner layer.
1720
+ * Returns whether Spanner server side tracing is enabled. If this option is enabled then trace
1721
+ * spans will be created at the Spanner layer.
1720
1722
*/
1721
1723
public boolean isServerSideTracingEnabled () {
1722
1724
return enableServerSideTracing ;
0 commit comments