Package org.qubership.profiler.metrics
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected longprotected org.HdrHistogram.SynchronizedHistogramprotected org.qubership.profiler.agent.HistogramIterationTypeprotected doubleprotected longprotected intprotected intprotected AtomicLongstatic final Stringprotected longprotected longFields inherited from class org.qubership.profiler.metrics.AbstractMetric
key, outputVersion -
Constructor Summary
ConstructorsConstructorDescriptionAbstractHistogramMetric(String callType, org.qubership.profiler.agent.MetricType type, HashSet<AggregationParameter> aggregationParameters, MetricUnit metricUnit, int outputVersion, String suffix) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidparseHistogramParameters(Map<String, String> metricParameters) voidprint(StringBuilder out) protected voidrecordValue(long value) voidMethods inherited from class org.qubership.profiler.metrics.AbstractMetric
buildKey, buildKey, equals, getKey, getOutputVersion, getUpdatedTime, hashCode, resetUpdatedTime, setKey, setOutputVersionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.qubership.profiler.agent.Metric
recordValue
-
Field Details
-
BUCKET_SUFFIX
- See Also:
-
SUM_SUFFIX
- See Also:
-
COUNT_SUFFIX
- See Also:
-
histogram
protected org.HdrHistogram.SynchronizedHistogram histogram -
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
-
AbstractHistogramMetric
public AbstractHistogramMetric(String callType, org.qubership.profiler.agent.MetricType type, HashSet<AggregationParameter> aggregationParameters, MetricUnit metricUnit, int outputVersion, String suffix)
-
-
Method Details
-
resetValue
public void resetValue() -
initHistogram
protected void initHistogram() -
parseHistogramParameters
-
recordValue
protected void recordValue(long value) -
print
-