Class OracleCloudTimer
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.AbstractTimer
io.micrometer.core.instrument.step.StepTimer
io.micronaut.oraclecloud.monitoring.primitives.OracleCloudTimer
- All Implemented Interfaces:
io.micrometer.core.instrument.distribution.HistogramSupport
,io.micrometer.core.instrument.Meter
,io.micrometer.core.instrument.Timer
,OracleCloudDatapointProducer
public class OracleCloudTimer
extends io.micrometer.core.instrument.step.StepTimer
implements OracleCloudDatapointProducer
A
StepTimer
that tracks list of raw Datapoint
.-
Nested Class Summary
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.Type
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Timer
io.micrometer.core.instrument.Timer.Builder, io.micrometer.core.instrument.Timer.ResourceSample, io.micrometer.core.instrument.Timer.Sample
-
Field Summary
Fields inherited from class io.micrometer.core.instrument.AbstractTimer
clock, histogram
-
Constructor Summary
ConstructorDescriptionOracleCloudTimer
(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.Clock clock, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, io.micrometer.core.instrument.distribution.pause.PauseDetector pauseDetector, TimeUnit baseTimeUnit, long stepDurationMillis, boolean supportsAggregablePercentiles) -
Method Summary
Modifier and TypeMethodDescriptionList<com.oracle.bmc.monitoring.model.Datapoint>
Returns list of datapoints that will be sent.protected void
recordNonNegative
(long amount, TimeUnit unit) Methods inherited from class io.micrometer.core.instrument.step.StepTimer
_closingRollover, count, max, totalTime
Methods inherited from class io.micrometer.core.instrument.AbstractTimer
baseTimeUnit, close, defaultHistogram, record, record, record, record, record, record, record, recordCallable, takeSnapshot
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.distribution.HistogramSupport
takeSnapshot
Methods inherited from interface io.micrometer.core.instrument.Meter
close, getId, match, use
Methods inherited from interface io.micrometer.core.instrument.Timer
histogramCountAtValue, mean, measure, percentile, record, wrap, wrap, wrap
-
Constructor Details
-
OracleCloudTimer
public OracleCloudTimer(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.Clock clock, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, io.micrometer.core.instrument.distribution.pause.PauseDetector pauseDetector, TimeUnit baseTimeUnit, long stepDurationMillis, boolean supportsAggregablePercentiles)
-
-
Method Details
-
recordNonNegative
- Overrides:
recordNonNegative
in classio.micrometer.core.instrument.step.StepTimer
-
getDatapoints
Description copied from interface:OracleCloudDatapointProducer
Returns list of datapoints that will be sent.- Specified by:
getDatapoints
in interfaceOracleCloudDatapointProducer
- Returns:
- list of
Datapoint
-