public class DatadogMeterRegistry
extends io.micrometer.core.instrument.step.StepMeterRegistry
| Modifier and Type | Class and Description |
|---|---|
static class |
DatadogMeterRegistry.Builder |
| Constructor and 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.
Use
builder(DatadogConfig) instead. |
| Modifier and Type | Method and Description |
|---|---|
static DatadogMeterRegistry.Builder |
builder(DatadogConfig config) |
protected java.util.concurrent.TimeUnit |
getBaseTimeUnit() |
protected void |
publish() |
void |
start(java.util.concurrent.ThreadFactory threadFactory) |
defaultHistogramConfig, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimerclose, start, stopconfig, counter, counter, find, forEachMeter, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, get, getConventionName, getConventionTags, getMeters, isClosed, more, newTimeGauge, remove, remove, summary, summary, timer, timerpublic DatadogMeterRegistry(DatadogConfig config, io.micrometer.core.instrument.Clock clock)
config - Configuration options for the registry that are describable as properties.clock - The clock to use for timings.@Deprecated public DatadogMeterRegistry(DatadogConfig config, io.micrometer.core.instrument.Clock clock, java.util.concurrent.ThreadFactory threadFactory)
builder(DatadogConfig) instead.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.public void start(java.util.concurrent.ThreadFactory threadFactory)
start in class io.micrometer.core.instrument.push.PushMeterRegistryprotected void publish()
publish in class io.micrometer.core.instrument.push.PushMeterRegistryprotected java.util.concurrent.TimeUnit getBaseTimeUnit()
getBaseTimeUnit in class io.micrometer.core.instrument.MeterRegistrypublic static DatadogMeterRegistry.Builder builder(DatadogConfig config)