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

public interface HistogramSupport
extends Meter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter

    Meter.Builder, Meter.Id, Meter.Type
  • Method Summary

    Modifier and Type Method Description
    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.
    default HistogramSnapshot takeSnapshot​(boolean supportsAggregablePercentiles)
    Deprecated.

    Methods inherited from interface io.micrometer.core.instrument.Meter

    close, getId, match, measure, use
  • 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 default HistogramSnapshot takeSnapshot​(boolean supportsAggregablePercentiles)
      Deprecated.
      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.