Uses of Class
io.prometheus.metrics.model.snapshots.Unit
Packages that use Unit
-
Uses of Unit in io.prometheus.metrics.core.metrics
Methods in io.prometheus.metrics.core.metrics with parameters of type UnitModifier and TypeMethodDescriptionThrows anUnsupportedOperationExceptionbecause Info metrics cannot have a unit. -
Uses of Unit in io.prometheus.metrics.model.snapshots
Fields in io.prometheus.metrics.model.snapshots declared as UnitModifier and TypeFieldDescriptionstatic final UnitUnit.AMPERESstatic final UnitUnit.BYTESstatic final UnitUnit.CELSIUSstatic final UnitUnit.GRAMSstatic final UnitUnit.JOULESstatic final UnitUnit.METERSstatic final UnitUnit.RATIOstatic final UnitUnit.SECONDSstatic final UnitUnit.VOLTSMethods in io.prometheus.metrics.model.snapshots that return UnitMethods in io.prometheus.metrics.model.snapshots with parameters of type UnitModifier and TypeMethodDescriptionstatic StringPrometheusNaming.sanitizeMetricName(String metricName, Unit unit) LikePrometheusNaming.sanitizeMetricName(String), but also makes sure that the unit is appended as a suffix if the unit is notnull.Constructors in io.prometheus.metrics.model.snapshots with parameters of type Unit