@google-cloud/spanner 8.2.0 → 8.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -166,8 +166,9 @@ message TransactionOptions {
166
166
  // actually occurred in parallel. Spanner assigns commit timestamps that
167
167
  // reflect the order of committed transactions to implement this property.
168
168
  // Spanner offers a stronger guarantee than serializability called external
169
- // consistency. For further details, please refer to
170
- // https://cloud.google.com/spanner/docs/true-time-external-consistency#serializability.
169
+ // consistency. For more information, see
170
+ // [TrueTime and external
171
+ // consistency](https://cloud.google.com/spanner/docs/true-time-external-consistency#serializability).
171
172
  SERIALIZABLE = 1;
172
173
 
173
174
  // All reads performed during the transaction observe a consistent snapshot
@@ -8263,7 +8263,9 @@
8263
8263
  "Session": {
8264
8264
  "options": {
8265
8265
  "(google.api.resource).type": "spanner.googleapis.com/Session",
8266
- "(google.api.resource).pattern": "projects/{project}/instances/{instance}/databases/{database}/sessions/{session}"
8266
+ "(google.api.resource).pattern": "projects/{project}/instances/{instance}/databases/{database}/sessions/{session}",
8267
+ "(google.api.resource).plural": "sessions",
8268
+ "(google.api.resource).singular": "session"
8267
8269
  },
8268
8270
  "fields": {
8269
8271
  "name": {
@@ -66,7 +66,9 @@ const MetricInterceptor = (options, nextCall) => {
66
66
  metricsTracer?.recordAfeLatency(status.code);
67
67
  }
68
68
  else {
69
- metricsTracer?.recordAfeConnectivityErrorCount(status.code);
69
+ // Disable afe_connectivity_error_count metric as AFE header is disabled in backend
70
+ // currently.
71
+ // metricsTracer?.recordAfeConnectivityErrorCount(status.code);
70
72
  }
71
73
  },
72
74
  };