Skip to content

Commit 96da20f

Browse files
author
Bill Prin
committed
Remove output only fields
1 parent cb1d17c commit 96da20f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

monitoring/v3/src/main/java/CreateCustomMetric.java

-2
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ void writeCustomMetricTimeseriesValue() throws IOException {
250250
monitoredResource.setType("gce_instance");
251251
monitoredResource.setLabels(resourceLabel);
252252
timeSeries.setResource(monitoredResource);
253-
timeSeries.setMetricKind(METRIC_KIND);
254-
timeSeries.setValueType("INT64");
255253
Point point = new Point();
256254
TimeInterval ti = new TimeInterval();
257255
String now = getNow();

0 commit comments

Comments
 (0)