Interface for Metric types.
Implementations
Methods
-
getType()
-
The type of the Metric Impl. MetricTypes.
Returns:
The type of the Metric Impl.
- Type
- string
-
toJSON()
-
Please note that dispite its name, this method can return raw numbers on
certain implementations such as counters and gauges.Returns:
Returns the data from the Metric
- Type
- any