Interface LongHistogramBuilder

    • Method Detail

      • setUnit

        LongHistogramBuilder setUnit​(java.lang.String unit)
        Sets the unit of measure for this instrument.
        Parameters:
        unit - The unit. Instrument units must be 63 or fewer ASCII characters.
        See Also:
        Instrument Unit
      • setExplicitBucketBoundariesAdvice

        default LongHistogramBuilder setExplicitBucketBoundariesAdvice​(java.util.List<java.lang.Long> bucketBoundaries)
        Set the explicit bucket buckets boundaries advice, which suggests the recommended set of explicit bucket boundaries for this histogram.
        Parameters:
        bucketBoundaries - The explicit bucket boundaries advice.
        Since:
        1.32.0
        See Also:
        Explicit bucket boundaries advisory parameter
      • build

        LongHistogram build()
        Builds and returns a Histogram instrument with the configuration.
        Returns:
        The Histogram instrument.