chore: generate libraries at Thu May 8 08:55:10 UTC 2025 · googleapis/java-spanner@080eabb · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Commit 080eabb

Browse files
chore: generate libraries at Thu May 8 08:55:10 UTC 2025
1 parent 3a12d80 commit 080eabb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/HeaderInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ private void processHeader(
166166
if (serverTimingMetrics.containsKey(GFE_TIMING_HEADER)) {
167167
float gfeLatency = serverTimingMetrics.get(GFE_TIMING_HEADER);
168168

169-
measureMap.put(SPANNER_GFE_LATENCY, (long)gfeLatency);
169+
measureMap.put(SPANNER_GFE_LATENCY, (long) gfeLatency);
170170
measureMap.put(SPANNER_GFE_HEADER_MISSING_COUNT, 0L);
171171
measureMap.record(tagContext);
172172

173-
spannerRpcMetrics.recordGfeLatency((long)gfeLatency, attributes);
173+
spannerRpcMetrics.recordGfeLatency((long) gfeLatency, attributes);
174174
spannerRpcMetrics.recordGfeHeaderMissingCount(0L, attributes);
175175
if (compositeTracer != null) {
176176
compositeTracer.recordGFELatency(gfeLatency);

google-cloud-spanner/src/test/java/com/google/cloud/spanner/OpenTelemetryBuiltInMetricsTracerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ public void testMetricsSingleUseQuery() {
170170
MetricData operationLatencyMetricData =
171171
getMetricData(metricReader, BuiltInMetricsConstant.OPERATION_LATENCIES_NAME);
172172
assertNotNull(operationLatencyMetricData);
173-
double operationLatencyValue = getAggregatedValue(operationLatencyMetricData, expectedAttributes);
173+
double operationLatencyValue =
174+
getAggregatedValue(operationLatencyMetricData, expectedAttributes);
174175
assertThat(operationLatencyValue).isIn(Range.closed(MIN_LATENCY, elapsed));
175176

176177
MetricData attemptLatencyMetricData =

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.