public class SparkBeamMetricSource
extends java.lang.Object
implements org.apache.spark.metrics.source.Source
Source
that is tailored to expose a SparkBeamMetric
, wrapping an
underlying MetricResults
instance.Constructor and Description |
---|
SparkBeamMetricSource(java.lang.String name,
MetricsAccumulator metrics) |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.MetricRegistry |
metricRegistry() |
java.lang.String |
sourceName() |
public SparkBeamMetricSource(java.lang.String name, MetricsAccumulator metrics)