Interface for Metric types.
Implementations
- Source:
Methods
-
getType()
-
The type of the Metric Impl. MetricTypes.
- Source:
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.- Source:
Returns:
Returns the data from the Metric
- Type
- any