Package io.micrometer.datadog
Class DatadogMeterRegistry
java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
io.micrometer.core.instrument.step.StepMeterRegistry
io.micrometer.datadog.DatadogMeterRegistry
public class DatadogMeterRegistry
extends io.micrometer.core.instrument.step.StepMeterRegistry
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatadogMeterRegistry.Builder -
Field Summary
-
Constructor Summary
Constructors Constructor Description DatadogMeterRegistry(DatadogConfig config, io.micrometer.core.instrument.Clock clock)DatadogMeterRegistry(DatadogConfig config, io.micrometer.core.instrument.Clock clock, java.util.concurrent.ThreadFactory threadFactory)Deprecated.Usebuilder(DatadogConfig)instead. -
Method Summary
Modifier and Type Method Description static DatadogMeterRegistry.Builderbuilder(DatadogConfig config)protected java.util.concurrent.TimeUnitgetBaseTimeUnit()protected voidpublish()voidstart(java.util.concurrent.ThreadFactory threadFactory)Methods inherited from class io.micrometer.core.instrument.step.StepMeterRegistry
defaultHistogramConfig, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimerMethods inherited from class io.micrometer.core.instrument.push.PushMeterRegistry
close, start, stopMethods inherited from class io.micrometer.core.instrument.MeterRegistry
clear, config, counter, counter, find, forEachMeter, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, get, getConventionName, getConventionTags, getMeters, isClosed, more, newTimeGauge, remove, remove, summary, summary, timer, timer
-
Constructor Details
-
DatadogMeterRegistry
- Parameters:
config- Configuration options for the registry that are describable as properties.clock- The clock to use for timings.
-
DatadogMeterRegistry
@Deprecated public DatadogMeterRegistry(DatadogConfig config, io.micrometer.core.instrument.Clock clock, java.util.concurrent.ThreadFactory threadFactory)Deprecated.Usebuilder(DatadogConfig)instead.- Parameters:
config- Configuration options for the registry that are describable as properties.clock- The clock to use for timings.threadFactory- The thread factory to use to create the publishing thread.
-
-
Method Details
-
start
public void start(java.util.concurrent.ThreadFactory threadFactory)- Overrides:
startin classio.micrometer.core.instrument.push.PushMeterRegistry
-
publish
protected void publish()- Specified by:
publishin classio.micrometer.core.instrument.push.PushMeterRegistry
-
getBaseTimeUnit
protected java.util.concurrent.TimeUnit getBaseTimeUnit()- Specified by:
getBaseTimeUnitin classio.micrometer.core.instrument.MeterRegistry
-
builder
-