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 1616
1717package com .google .cloud .spanner ;
1818
19- import static com .google .cloud .spanner .BuiltInMetricsConstant .SPANNER_METRICS ;
2019
2120import com .google .api .core .ApiFuture ;
2221import 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)
8383 || metricData .getInstrumentationScopeInfo ().getName ().equals (SPANNER_METER_NAME )
8484 || metricData .getInstrumentationScopeInfo ().getName ().equals (GRPC_METER_NAME ))) {
8585 // 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 ());
8788 continue ;
8889 }
8990
@@ -114,7 +115,7 @@ private static TimeSeries convertPointToSpannerTimeSeries(
114115 TimeSeries .newBuilder ()
115116 .setMetricKind (convertMetricKind (metricData ))
116117 .setValueType (convertValueType (metricData .getType ()));
117- System .out .println ("convertPointToSpannerTimeSeries Metric name " +metricData .getName ());
118+ System .out .println ("convertPointToSpannerTimeSeries Metric name " + metricData .getName ());
118119 Metric .Builder metricBuilder = Metric .newBuilder ().setType (metricData .getName ());
119120
120121 Attributes attributes = pointData .getAttributes ();
You can’t perform that action at this time.
0 commit comments