Package io.micrometer.cloudwatch2
Class CloudWatchMeterRegistry
java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
io.micrometer.core.instrument.step.StepMeterRegistry
io.micrometer.cloudwatch2.CloudWatchMeterRegistry
public class CloudWatchMeterRegistry
extends io.micrometer.core.instrument.step.StepMeterRegistry
StepMeterRegistry
for Amazon CloudWatch.- Since:
- 1.2.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
Constructors Constructor Description CloudWatchMeterRegistry(CloudWatchConfig config, io.micrometer.core.instrument.Clock clock, software.amazon.awssdk.services.cloudwatch.CloudWatchAsyncClient cloudWatchAsyncClient)
CloudWatchMeterRegistry(CloudWatchConfig config, io.micrometer.core.instrument.Clock clock, software.amazon.awssdk.services.cloudwatch.CloudWatchAsyncClient cloudWatchAsyncClient, java.util.concurrent.ThreadFactory threadFactory)
-
Method Summary
Modifier and Type Method Description protected java.util.concurrent.TimeUnit
getBaseTimeUnit()
protected void
publish()
Methods inherited from class io.micrometer.core.instrument.step.StepMeterRegistry
defaultHistogramConfig, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimer
Methods inherited from class io.micrometer.core.instrument.push.PushMeterRegistry
close, start, start, stop
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CloudWatchMeterRegistry
public CloudWatchMeterRegistry(CloudWatchConfig config, io.micrometer.core.instrument.Clock clock, software.amazon.awssdk.services.cloudwatch.CloudWatchAsyncClient cloudWatchAsyncClient) -
CloudWatchMeterRegistry
public CloudWatchMeterRegistry(CloudWatchConfig config, io.micrometer.core.instrument.Clock clock, software.amazon.awssdk.services.cloudwatch.CloudWatchAsyncClient cloudWatchAsyncClient, java.util.concurrent.ThreadFactory threadFactory)
-
-
Method Details
-
publish
protected void publish()- Specified by:
publish
in classio.micrometer.core.instrument.push.PushMeterRegistry
-
getBaseTimeUnit
protected java.util.concurrent.TimeUnit getBaseTimeUnit()- Specified by:
getBaseTimeUnit
in classio.micrometer.core.instrument.MeterRegistry
-