Class OracleCloudCounter
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.step.StepCounter
io.micronaut.oraclecloud.monitoring.primitives.OracleCloudCounter
- All Implemented Interfaces:
io.micrometer.core.instrument.Counter
,io.micrometer.core.instrument.Meter
,OracleCloudDatapointProducer
@Internal
public final class OracleCloudCounter
extends io.micrometer.core.instrument.step.StepCounter
implements OracleCloudDatapointProducer
A
StepCounter
that tracks list of raw Datapoint
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Counter
io.micrometer.core.instrument.Counter.Builder
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
io.micrometer.core.instrument.Meter.Builder, io.micrometer.core.instrument.Meter.Id, io.micrometer.core.instrument.Meter.MeterProvider<T extends io.micrometer.core.instrument.Meter>, io.micrometer.core.instrument.Meter.Type
-
Constructor Summary
ConstructorDescriptionOracleCloudCounter
(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.Clock clock, long stepMillis) -
Method Summary
Methods inherited from class io.micrometer.core.instrument.step.StepCounter
_closingRollover, count
Methods inherited from class io.micrometer.core.instrument.AbstractMeter
equals, getId, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micrometer.core.instrument.Counter
increment, measure
Methods inherited from interface io.micrometer.core.instrument.Meter
close, getId, match, use
-
Constructor Details
-
OracleCloudCounter
public OracleCloudCounter(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.Clock clock, long stepMillis)
-
-
Method Details
-
increment
public void increment(double amount) - Specified by:
increment
in interfaceio.micrometer.core.instrument.Counter
- Overrides:
increment
in classio.micrometer.core.instrument.step.StepCounter
-
getDatapoints
Description copied from interface:OracleCloudDatapointProducer
Returns list of datapoints that will be sent.- Specified by:
getDatapoints
in interfaceOracleCloudDatapointProducer
- Returns:
- list of
Datapoint
-