We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb1d17c commit 96da20fCopy full SHA for 96da20f
monitoring/v3/src/main/java/CreateCustomMetric.java
@@ -250,8 +250,6 @@ void writeCustomMetricTimeseriesValue() throws IOException {
250
monitoredResource.setType("gce_instance");
251
monitoredResource.setLabels(resourceLabel);
252
timeSeries.setResource(monitoredResource);
253
- timeSeries.setMetricKind(METRIC_KIND);
254
- timeSeries.setValueType("INT64");
255
Point point = new Point();
256
TimeInterval ti = new TimeInterval();
257
String now = getNow();
0 commit comments