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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classCustom units without builtin conversion.static enumA time duration.static enumFractions such as percentages.static enumSize of information derived from bytes. -
Field Summary
Fields -
Method Summary
-
Field Details
-
NONE
Untyped value.- See Also:
-
-
Method Details
-
name
-
apiName
Unit adhering to the API spec.
-