| Constructor and Description |
|---|
DelegatingHistogram(MetricName name,
org.apache.beam.sdk.util.HistogramData.BucketType bucketType,
boolean processWideContainer)
Create a
DelegatingHistogram with perWorkerHistogram set to false. |
DelegatingHistogram(MetricName name,
org.apache.beam.sdk.util.HistogramData.BucketType bucketType,
boolean processWideContainer,
boolean perWorkerHistogram) |
| 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)
DelegatingHistogram with perWorkerHistogram set to false.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 DelegatingHistogram(MetricName name, org.apache.beam.sdk.util.HistogramData.BucketType bucketType, boolean processWideContainer, boolean perWorkerHistogram)
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.perWorkerHistogram - Whether this Histogram refers to a perWorker metric or not.public void update(double value)
Histogrampublic void update(double... values)
Histogrampublic MetricName getName()
MetricMetricName given to this metric.