Returns all the metrics keyed by the full metric name
Returns all the metrics, grouped by the class name
Returns all the metrics, grouped by the class name
default registry if not specified
only return metrics of this type
Map(className -> (metricName -> MetricMap))
Serializes all the Metrics objects into JSON string