Constructor and Description |
---|
DelegatingHistogram(MetricName name,
org.apache.beam.sdk.util.HistogramData.BucketType bucketType,
boolean processWideContainer) |
Modifier and Type | Method and Description |
---|---|
MetricName |
getName()
The
MetricName given to this metric. |
void |
update(double... values)
Add observations to this histogram.
|
void |
update(double value)
Add an observation to this histogram.
|
public DelegatingHistogram(MetricName name, org.apache.beam.sdk.util.HistogramData.BucketType bucketType, boolean processWideContainer)
name
- Metric name for this metric.bucketType
- Histogram bucketing strategy.processWideContainer
- Whether this Counter is stored in the ProcessWide container or the
current thread's container.public void update(double value)
Histogram
public void update(double... values)
Histogram
public MetricName getName()
Metric
MetricName
given to this metric.