Class AbstractHistogramMetric

java.lang.Object
org.qubership.profiler.metrics.AbstractMetric
org.qubership.profiler.metrics.AbstractHistogramMetric
All Implemented Interfaces:
org.qubership.profiler.agent.BaseMetric, org.qubership.profiler.agent.Metric
Direct Known Subclasses:
CPUMetric, DiskIOMetric, DurationMetric, MemoryMetric, NetworkIOMetric, QueueWaitTimeMetric, TransactionMetric

public abstract class AbstractHistogramMetric extends AbstractMetric
  • Field Details

    • BUCKET_SUFFIX

      public static final String BUCKET_SUFFIX
      See Also:
    • SUM_SUFFIX

      public static final String SUM_SUFFIX
      See Also:
    • COUNT_SUFFIX

      public static final String COUNT_SUFFIX
      See Also:
    • histogram

      protected org.HdrHistogram.SynchronizedHistogram histogram
    • sum

      protected AtomicLong sum
    • lowestDiscernibleValue

      protected long lowestDiscernibleValue
    • highestTrackableValue

      protected long highestTrackableValue
    • numberOfSignificantValueDigits

      protected int numberOfSignificantValueDigits
    • histogramIterationType

      protected org.qubership.profiler.agent.HistogramIterationType histogramIterationType
    • percentileTicksPerHalfDistance

      protected int percentileTicksPerHalfDistance
    • valueUnitsInFirstBucket

      protected long valueUnitsInFirstBucket
    • logBase

      protected double logBase
    • valueUnitsPerBucket

      protected long valueUnitsPerBucket
  • Constructor Details

  • Method Details

    • resetValue

      public void resetValue()
    • initHistogram

      protected void initHistogram()
    • parseHistogramParameters

      protected void parseHistogramParameters(Map<String,String> metricParameters)
    • recordValue

      protected void recordValue(long value)
    • print

      public void print(StringBuilder out)