Interface HistogramSupport
- All Superinterfaces:
Meter
- All Known Subinterfaces:
DistributionSummary, LongTaskTimer, Timer
- All Known Implementing Classes:
AbstractDistributionSummary, AbstractTimer, CumulativeDistributionSummary, CumulativeHistogramLongTaskTimer, CumulativeTimer, DefaultLongTaskTimer, DropwizardDistributionSummary, DropwizardTimer, NoopDistributionSummary, NoopLongTaskTimer, NoopTimer, StepDistributionSummary, StepTimer
-
Nested Class Summary
Nested classes/interfaces inherited from interface Meter
Meter.Builder, Meter.Id, Meter.MeterProvider<T>, Meter.Type -
Method Summary
Modifier and TypeMethodDescriptionSummary statistics should be published off of a single snapshot instance so that, for example, there isn't disagreement between the distribution's bucket counts because more events continue to stream in.default HistogramSnapshottakeSnapshot(boolean supportsAggregablePercentiles) Deprecated.
-
Method Details
-
takeSnapshot
HistogramSnapshot takeSnapshot()Summary statistics should be published off of a single snapshot instance so that, for example, there isn't disagreement between the distribution's bucket counts because more events continue to stream in.- Returns:
- A snapshot of all distribution statistics at a point in time.
-
takeSnapshot
Deprecated.UsetakeSnapshot().Summary statistics should be published off of a single snapshot instance so that, for example, there isn't disagreement between the distribution's bucket counts because more events continue to stream in.- Parameters:
supportsAggregablePercentiles- Ignored. The determination of aggregable percentile support is now made up front.- Returns:
- A snapshot of all distribution statistics at a point in time.
-
takeSnapshot().