use of org.apache.flink.runtime.metrics.dump.MetricDump in project flink by apache.
the class MetricFetcher method addMetrics.
private void addMetrics(Object result) {
MetricDumpSerialization.MetricSerializationResult data = (MetricDumpSerialization.MetricSerializationResult) result;
List<MetricDump> dumpedMetrics = deserializer.deserialize(data);
for (MetricDump metric : dumpedMetrics) {
metrics.add(metric);
}
}
Aggregations