java.lang.Object
org.neo4j.driver.internal.metrics.MicrometerMetricsProvider
- All Implemented Interfaces:
MetricsProvider
An adapter to bridge between driver metrics and Micrometer
meter registry
.-
Method Summary
Modifier and TypeMethodDescriptionstatic MetricsProvider
metrics()
static MetricsProvider
of
(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
Method Details
-
forGlobalRegistry
-
of
-
metrics
- Specified by:
metrics
in interfaceMetricsProvider
- Returns:
- The actual metrics type to use
-
metricsListener
- Specified by:
metricsListener
in interfaceMetricsProvider
- Returns:
- A listener that will be notified on certain events so that it can collect metrics about them.
-