Class DropwizardReportersImpl
java.lang.Object
services.moleculer.metrics.DropwizardReportersImpl
- All Implemented Interfaces:
DropwizardReporters
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AtomicBooleanprotected com.codahale.metrics.MetricRegistryprotected static final org.slf4j.Loggerprotected io.micrometer.core.instrument.MeterRegistryFields inherited from interface DropwizardReporters
TYPE_CONSOLE, TYPE_CSV, TYPE_JMX, TYPE_SLF4J -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcloseReporter(Closeable reporter) voidstarted(DefaultMetrics metrics, int type, long period, TimeUnit periodUnit, String param) protected voidstartReporter(Closeable reporter, long period, TimeUnit unit) voidstopped()
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
reporters
-
micrometerRegistry
protected io.micrometer.core.instrument.MeterRegistry micrometerRegistry -
dropwizardRegistry
protected com.codahale.metrics.MetricRegistry dropwizardRegistry -
dropwizardInstalled
-
-
Constructor Details
-
DropwizardReportersImpl
public DropwizardReportersImpl()
-
-
Method Details
-
started
public void started(DefaultMetrics metrics, int type, long period, TimeUnit periodUnit, String param) - Specified by:
startedin interfaceDropwizardReporters
-
startReporter
-
closeReporter
-
stopped
public void stopped()- Specified by:
stoppedin interfaceDropwizardReporters
-