Package io.micrometer.stackdriver
Class StackdriverMeterRegistry
java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
io.micrometer.core.instrument.step.StepMeterRegistry
io.micrometer.stackdriver.StackdriverMeterRegistry
public class StackdriverMeterRegistry
extends io.micrometer.core.instrument.step.StepMeterRegistry
StepMeterRegistry
for Stackdriver.- Since:
- 1.1.0
-
Nested Class Summary
Nested 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
ConstructorDescriptionStackdriverMeterRegistry
(StackdriverConfig config, io.micrometer.core.instrument.Clock clock) -
Method Summary
Modifier and TypeMethodDescriptionbuilder
(StackdriverConfig config) protected TimeUnit
protected io.micrometer.core.instrument.DistributionSummary
newDistributionSummary
(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, double scale) protected io.micrometer.core.instrument.Timer
newTimer
(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, io.micrometer.core.instrument.distribution.pause.PauseDetector pauseDetector) protected void
publish()
void
start
(ThreadFactory threadFactory) void
stop()
Methods inherited from class io.micrometer.core.instrument.step.StepMeterRegistry
close, defaultHistogramConfig, newCounter, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter
Methods inherited from class io.micrometer.core.instrument.push.PushMeterRegistry
getLastScheduledPublishStartTime, isPublishing, start, waitForInProgressScheduledPublish
Methods 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
-
StackdriverMeterRegistry
public StackdriverMeterRegistry(StackdriverConfig config, io.micrometer.core.instrument.Clock clock)
-
-
Method Details
-
builder
-
start
- Overrides:
start
in classio.micrometer.core.instrument.step.StepMeterRegistry
-
stop
public void stop()- Overrides:
stop
in classio.micrometer.core.instrument.step.StepMeterRegistry
-
publish
protected void publish()- Specified by:
publish
in classio.micrometer.core.instrument.push.PushMeterRegistry
-
newDistributionSummary
protected io.micrometer.core.instrument.DistributionSummary newDistributionSummary(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, double scale) - Overrides:
newDistributionSummary
in classio.micrometer.core.instrument.step.StepMeterRegistry
-
newTimer
protected io.micrometer.core.instrument.Timer newTimer(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, io.micrometer.core.instrument.distribution.pause.PauseDetector pauseDetector) - Overrides:
newTimer
in classio.micrometer.core.instrument.step.StepMeterRegistry
-
getBaseTimeUnit
- Specified by:
getBaseTimeUnit
in classio.micrometer.core.instrument.MeterRegistry
-