Interface DescriptiveMetric
- All Known Implementing Classes:
- DescriptiveCounter,- DescriptiveGauge,- DescriptiveHistogram,- DescriptiveMeter,- DescriptiveRatioGauge,- DescriptiveTimer
public interface DescriptiveMetric
An interface for Metrics that know how to describe themselves and their units.
- 
Method SummaryModifier and TypeMethodDescriptiondefault StringgetDescription(Locale locale) A short description of what this metric represents.default StringgetUnits()A short string representing the units of this metric.
- 
Method Details- 
getDescription
- 
getDescriptionA short description of what this metric represents. For example "JVM Heap Size" or "Thread Count" or "Subsystem X script executions"
- 
getUnits
- 
getUnitsA short string representing the units of this metric. For example "MB" or "threads" or "executions"
 
-