We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1793a56 commit 8915d10Copy full SHA for 8915d10
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerCloudMonitoringExporter.java
@@ -139,7 +139,7 @@ private CompletableResultCode exportSpannerClientMetrics(Collection<MetricData>
139
}
140
141
// Verifies if metrics data has missing instance id.
142
- if (!spannerMetricData.stream()
+ if (spannerMetricData.stream()
143
.flatMap(metricData -> metricData.getData().getPoints().stream())
144
.anyMatch(pd -> SpannerCloudMonitoringExporterUtils.getInstanceId(pd) == null)) {
145
logger.log(Level.WARNING, "Metric data has missing instanceId. Skipping export.");
0 commit comments