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/RetryAndTraceDatastoreRpcDecorator.java
Copy file name to clipboardExpand all lines: java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/telemetry/EnabledTraceUtil.java
Copy file name to clipboardExpand all lines: java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/telemetry/MetricsRecorder.java
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,18 @@ public interface MetricsRecorder {
38
38
/** Records the number of attempts a transaction took. */
Copy file name to clipboardExpand all lines: java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/telemetry/NoOpMetricsRecorder.java
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,19 @@
16
16
17
17
packagecom.google.cloud.datastore.telemetry;
18
18
19
+
importcom.google.api.core.InternalApi;
19
20
importjava.util.Map;
20
21
21
22
/**
22
23
* Metrics recorder implementation, used to stub out metrics instrumentation when metrics are
23
24
* disabled.
25
+
*
26
+
* <p>WARNING: This class is intended for internal use only. It was made public to be used across
27
+
* packages as a default. It should not be used by external customers and its API may change without
Copy file name to clipboardExpand all lines: java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/telemetry/OpenTelemetryMetricsRecorder.java
+52Lines changed: 52 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,10 @@ class OpenTelemetryMetricsRecorder implements MetricsRecorder {
0 commit comments