File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package com .google .cloud .spanner ;
18
18
19
- import static com .google .cloud .spanner .BuiltInMetricsConstant .SPANNER_METRICS ;
20
19
21
20
import com .google .api .core .ApiFuture ;
22
21
import com .google .api .core .ApiFutureCallback ;
Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ static List<TimeSeries> convertToSpannerTimeSeries(List<MetricData> collection)
83
83
|| metricData .getInstrumentationScopeInfo ().getName ().equals (SPANNER_METER_NAME )
84
84
|| metricData .getInstrumentationScopeInfo ().getName ().equals (GRPC_METER_NAME ))) {
85
85
// Filter out metric data for instruments that are not part of the spanner metrics list
86
- System .out .println ("Skipped some data" + metricData .getInstrumentationScopeInfo ().getName ().toString ());
86
+ System .out .println (
87
+ "Skipped some data" + metricData .getInstrumentationScopeInfo ().getName ().toString ());
87
88
continue ;
88
89
}
89
90
@@ -114,7 +115,7 @@ private static TimeSeries convertPointToSpannerTimeSeries(
114
115
TimeSeries .newBuilder ()
115
116
.setMetricKind (convertMetricKind (metricData ))
116
117
.setValueType (convertValueType (metricData .getType ()));
117
- System .out .println ("convertPointToSpannerTimeSeries Metric name " +metricData .getName ());
118
+ System .out .println ("convertPointToSpannerTimeSeries Metric name " + metricData .getName ());
118
119
Metric .Builder metricBuilder = Metric .newBuilder ().setType (metricData .getName ());
119
120
120
121
Attributes attributes = pointData .getAttributes ();
You can’t perform that action at this time.
0 commit comments