MetricMessage contains the data and metadata about a metric data point.
Trait to expose Spark's org.apache.spark.metrics.sink.Sink trait, which is private to Spark
Trait to expose Spark's org.apache.spark.metrics.source.Source trait, which is private to Spark
Acts like a com.codahale.metrics.Counter
Acts like a com.codahale.metrics.Gauge.
Acts like a com.codahale.metrics.Gauge.
Unlike the Codahale version that requires an implementation of a getValue() method, this version implements a set
method that just sets the value of this gauge.
Acts like a com.codahale.metrics.Histogram
Acts like a com.codahale.metrics.Meter
SparkMetric instances implement APIs that look like their Codahale counterparts, but do not store any state.
SparkMetric instances implement APIs that look like their Codahale counterparts, but do not store any state. Instead, they just send the data points to the driver, where they are aggregated and published.
Entry point for collecting user-defined metrics.
MetricMessage contains the data and metadata about a metric data point.
Each MetricMessage has the metric value itself and metadata about the type of com.codahale.metrics.Metric that it belongs to.