- * -
- * Construct a {@code MetricsInspector} from a {@code PinotMetricsRegistry}:
- * final MetricsInspector inspector = new MetricsInspector(pinotMetricsRegistry);
- *
- * -
- * Every time a metric is added to the registry this MetricsInspector will record it. The most recently added
- * metric can be accessed with:
- * final MetricName metricName = inspector.lastMetric();
- *
- * -
- * Use the {@code MetricName} returned by {@link #_lastMetric} to query the properties of the corresponding
- * metric, for example:
- *
inspector.getTimer(metricName)
- * It's the caller's responsibility to know the type of the metric (Timer, Meter, etc.) and call the appropriate
- * getter.
- *
- *
+ * A helper for accessing metric values from tests in an implementation-agnostic way. Concrete subclasses are provided
+ * by each metrics plugin (yammer, dropwizard) and by the in-memory fake registry used by pinot-common's own tests.
*
+ *