You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreOpenTelemetryOptions.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -91,9 +91,11 @@ public boolean isExportBuiltinMetricsToGoogleCloudMonitoring() {
91
91
}
92
92
93
93
/**
94
-
* Returns the custom {@link OpenTelemetry} instance, if one was provided.
94
+
* Returns the configured custom {@link OpenTelemetry} instance.
95
95
*
96
-
* @return the custom {@link OpenTelemetry} instance.
96
+
* @return the configured {@link OpenTelemetry} instance, or the global instance if a custom one
97
+
* was not provided. If there is no global instance, then {@code OpenTelemetry.noop()} is
0 commit comments