Enum MetricDataType
- All Implemented Interfaces:
Serializable
,Comparable<MetricDataType>
,java.lang.constant.Constable
The type of metric
PointData
.- Since:
- 1.14.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA Gauge represents a measurement of a double value at a moment in time.A Sum of double values.An Exponential Histogram represents an approximate representation of the distribution of measurements recorded.A Histogram represents an approximate representation of the distribution of measurements recorded.A Gauge represents a measurement of a long value at a moment in time.A Sum of long (int64) values.A Summary of measurements of numeric values, the sum of all measurements and the total number of measurements recorded, and quantiles describing the distribution of measurements (often including minimum "0.0" and maximum "1.0" quantiles). -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricDataType
Returns the enum constant of this type with the specified name.static MetricDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LONG_GAUGE
A Gauge represents a measurement of a long value at a moment in time. -
DOUBLE_GAUGE
A Gauge represents a measurement of a double value at a moment in time. Generally only one instance of a given Gauge metric will be reported per reporting interval. -
LONG_SUM
A Sum of long (int64) values. -
DOUBLE_SUM
A Sum of double values. -
SUMMARY
A Summary of measurements of numeric values, the sum of all measurements and the total number of measurements recorded, and quantiles describing the distribution of measurements (often including minimum "0.0" and maximum "1.0" quantiles). -
HISTOGRAM
A Histogram represents an approximate representation of the distribution of measurements recorded. -
EXPONENTIAL_HISTOGRAM
An Exponential Histogram represents an approximate representation of the distribution of measurements recorded. The bucket boundaries follow a pre-determined exponential formula.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-