new MetricsService()
- Source:
Methods
-
getBaseName(measured) → {string}
-
Parameters:
Name Type Description measured
Measured - Source:
Returns:
- Type
- string
-
getMetricsSnapshot(o) → {Object}
-
Will return the metrics that correspond with this measured object, null if no metrics is available.
Parameters:
Name Type Description o
Measured - Source:
Returns:
the map of metrics where the key is the name of the metric (excluding the base name) and the value is the json data representing that metric- Type
- Object