com.github.kristofa.flume.HistogramBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flume-zipkin-metrics-sink Show documentation
Show all versions of flume-zipkin-metrics-sink Show documentation
Flume Sink that will get application submitted annotations with duration from Zipkin spans and submit them to Metrics. Metrics can be configured to send metrics to several back-ends. Today this sink supports Graphite as back-end.
package com.github.kristofa.flume;
import com.codahale.metrics.Histogram;
/**
* Builds {@link Histogram histograms}.
*
* @author kristof
*/
interface HistogramBuilder {
/**
* Returns a new Histogram.
*
* @return A new histogram.
*/
Histogram buildHistogram();
}