public class CloudMetricUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.google.api.services.dataflow.model.MetricUpdate |
extractCloudMetric(Metric<?> metric,
String workerId)
Returns a
MetricUpdate representing the given Metric. |
static List<com.google.api.services.dataflow.model.MetricUpdate> |
extractCloudMetrics(Collection<Metric<?>> metrics,
String workerId)
Returns a List of
MetricUpdates representing the given Metrics. |
public static List<com.google.api.services.dataflow.model.MetricUpdate> extractCloudMetrics(Collection<Metric<?>> metrics, String workerId)
MetricUpdates representing the given Metrics.