Package io.sentry
Interface MeasurementUnit
- All Known Implementing Classes:
MeasurementUnit.Custom
,MeasurementUnit.Duration
,MeasurementUnit.Fraction
,MeasurementUnit.Information
public interface MeasurementUnit
The unit of measurement of a metric value.
Units augment metric values by giving them a magnitude and semantics. There are certain types
of units that are subdivided in their precision, such as the MeasurementUnit.Duration
for
time measurements.
When using the units to custom measurements, Sentry will apply formatting to display measurement values in the UI.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Custom units without builtin conversion.static enum
A time duration.static enum
Fractions such as percentages.static enum
Size of information derived from bytes. -
Field Summary
-
Method Summary
-
Field Details
-
NONE
Untyped value.- See Also:
-
-
Method Details
-
name
-
apiName
Unit adhering to the API spec.
-