类 MetricCopyExporter

  • 所有已实现的接口:
    Closeable, Flushable, AutoCloseable, Exporter

    public class MetricCopyExporter
    extends AbstractMetricExporter
    Exporter that "exports" by copying metric data from a source MetricReader to a destination MetricWriter. Actually the output writer can be a GaugeWriter, in which case all metrics are simply output as their current value. If the output writer is also a CounterWriter then metrics whose names begin with "counter." are special: instead of writing them out as simple gauges the writer will increment the counter value. This involves the exporter storing the previous value of the counter so the delta can be computed. For best results with the counters, do not use the exporter concurrently in multiple threads (normally it will only be used periodically and sequentially, even if it is in a background thread, and this is fine).
    从以下版本开始:
    1.3.0