return get(deleteMetricAsync(metric));
}
@Override
public Future<Boolean> deleteMetricAsync(String metric) {
DeleteLogMetricRequest request = DeleteLogMetricRequest.newBuilder()
<BUG>.setMetricName(MetricsServiceV2Client.formatMetricName(getOptions().getProjectId(), metric))
.build();</BUG>
return transform(rpc.delete(request), EMPTY_TO_BOOLEAN_FUNCTION);
}
private static WriteLogEntriesRequest writeLogEntriesRequest(LoggingOptions serviceOptions,

return get(deleteMetricAsync(metric));
}
@Override
public Future<Boolean> deleteMetricAsync(String metric) {
DeleteLogMetricRequest request = DeleteLogMetricRequest.newBuilder()
.setMetricName(MetricName.create(getOptions().getProjectId(), metric).toString())
.build();
return transform(rpc.delete(request), EMPTY_TO_BOOLEAN_FUNCTION);
}
private static WriteLogEntriesRequest writeLogEntriesRequest(LoggingOptions serviceOptions,
