Uses of Class
io.prometheus.metrics.model.snapshots.Unit
Packages that use Unit
Package
Description
-
Uses of Unit in io.prometheus.metrics.core.metrics
Fields in io.prometheus.metrics.core.metrics declared as UnitMethods in io.prometheus.metrics.core.metrics with parameters of type Unit -
Uses of Unit in io.prometheus.metrics.model.registry
Fields in io.prometheus.metrics.model.registry declared as UnitMethods in io.prometheus.metrics.model.registry with parameters of type UnitModifier and TypeMethodDescription(package private) static PrometheusRegistry.RegistrationInfoPrometheusRegistry.RegistrationInfo.of(MetricType type, Set<String> labelNames, String help, Unit unit) (package private) voidPrometheusRegistry.RegistrationInfo.validateMetadata(String newHelp, Unit newUnit) Validates that the given help and unit are exactly equal to this registration.private voidPrometheusRegistry.validateRegistration(String prometheusName, MetricType metricType, Set<String> normalizedLabels, String help, Unit unit) Validates the registration of a metric with the given parameters.Constructors in io.prometheus.metrics.model.registry with parameters of type UnitModifierConstructorDescriptionprivateRegistrationInfo(MetricType type, Set<Set<String>> labelSchemas, String help, Unit 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.SECONDSprivate final UnitMetricMetadata.unitprivate UnitMetricSnapshot.Builder.unitstatic 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