public RichGaugeExporter(RichGaugeReader reader, PrefixMetricWriter writer) { this(reader, writer, ""); }
public RichGaugeExporter(RichGaugeReader reader, PrefixMetricWriter writer, String prefix) { super(prefix); this.reader = reader; this.writer = writer; }
/** * Create a new exporter for metrics to a writer based on a prefix for the metric * names. * @param reader a reader as the source of metrics * @param writer the writer to send the metrics to * @param prefix the prefix for metrics to export */ public PrefixMetricGroupExporter(PrefixMetricReader reader, PrefixMetricWriter writer, String prefix) { super(prefix); this.reader = reader; this.writer = writer; }
/** * Create a new exporter for metrics to a writer based on an empty prefix for the * metric names. * @param reader a reader as the source of metrics * @param writer the writer to send the metrics to */ public PrefixMetricGroupExporter(PrefixMetricReader reader, PrefixMetricWriter writer) { this(reader, writer, ""); }