Skip to content

Commit 3f77770

Browse files
authored
Merge pull request GoogleCloudPlatform#295 from GoogleCloudPlatform/monitoring_output_only
Remove output only fields
2 parents 4dd6801 + 96da20f commit 3f77770

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)