Package io.micrometer.influx
Class InfluxMeterRegistry
java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
io.micrometer.core.instrument.step.StepMeterRegistry
io.micrometer.influx.InfluxMeterRegistry
public class InfluxMeterRegistry
extends io.micrometer.core.instrument.step.StepMeterRegistry
MeterRegistry for InfluxDB. Since Micrometer 1.7, this supports InfluxDB v2 and
v1.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.MeterRegistry.Config, io.micrometer.core.instrument.MeterRegistry.More -
Field Summary
Fields inherited from class io.micrometer.core.instrument.MeterRegistry
clock -
Constructor Summary
ConstructorsConstructorDescriptionInfluxMeterRegistry(InfluxConfig config, io.micrometer.core.instrument.Clock clock) InfluxMeterRegistry(InfluxConfig config, io.micrometer.core.instrument.Clock clock, ThreadFactory threadFactory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic InfluxMeterRegistry.Builderbuilder(InfluxConfig config) protected final TimeUnitprotected voidpublish()voidstart(ThreadFactory threadFactory) Methods inherited from class io.micrometer.core.instrument.step.StepMeterRegistry
close, defaultHistogramConfig, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimer, stopMethods inherited from class io.micrometer.core.instrument.push.PushMeterRegistry
getLastScheduledPublishStartTime, isPublishing, startMethods 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, meterRegistrationFailed, more, newLongTaskTimer, newTimeGauge, remove, remove, removeByPreFilterId, summary, summary, timer, timer
-
Constructor Details
-
InfluxMeterRegistry
-
InfluxMeterRegistry
@Deprecated public InfluxMeterRegistry(InfluxConfig config, io.micrometer.core.instrument.Clock clock, ThreadFactory threadFactory) Deprecated.Usebuilder(InfluxConfig)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
- Overrides:
startin classio.micrometer.core.instrument.step.StepMeterRegistry
-
builder
-
publish
protected void publish()- Specified by:
publishin classio.micrometer.core.instrument.push.PushMeterRegistry
-
getBaseTimeUnit
- Specified by:
getBaseTimeUnitin classio.micrometer.core.instrument.MeterRegistry
-
builder(InfluxConfig)instead.