public class FileReporter
extends org.apache.flink.metrics.reporter.AbstractReporter
metrics reporter
for writing
metrics to a file specified via the "metrics.reporter.file.path" config key (assuming an alias of
"file" for this reporter in the "metrics.reporters" setting).Constructor and Description |
---|
FileReporter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
filterCharacters(java.lang.String input) |
void |
notifyOfRemovedMetric(org.apache.flink.metrics.Metric metric,
java.lang.String metricName,
org.apache.flink.metrics.MetricGroup group) |
void |
open(org.apache.flink.metrics.MetricConfig config) |
public java.lang.String filterCharacters(java.lang.String input)
public void open(org.apache.flink.metrics.MetricConfig config)
public void notifyOfRemovedMetric(org.apache.flink.metrics.Metric metric, java.lang.String metricName, org.apache.flink.metrics.MetricGroup group)
notifyOfRemovedMetric
in interface org.apache.flink.metrics.reporter.MetricReporter
notifyOfRemovedMetric
in class org.apache.flink.metrics.reporter.AbstractReporter
public void close()