- All Known Implementing Classes:
DevNullMetricsProvider
,InternalMetricsProvider
,MicrometerMetricsProvider
public interface MetricsProvider
An adapter that collects driver metrics via
MetricsListener
and publishes them via Metrics
instance.-
Method Summary
-
Method Details
-
metrics
Metrics metrics()- Returns:
- The actual metrics type to use
-
metricsListener
MetricsListener metricsListener()- Returns:
- A listener that will be notified on certain events so that it can collect metrics about them.
-