Package io.micrometer.dynatrace.types
Class DynatraceDistributionSummary
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.AbstractDistributionSummary
io.micrometer.dynatrace.types.DynatraceDistributionSummary
- All Implemented Interfaces:
io.micrometer.core.instrument.distribution.HistogramSupport,io.micrometer.core.instrument.DistributionSummary,io.micrometer.core.instrument.Meter,DynatraceSummarySnapshotSupport
public final class DynatraceDistributionSummary
extends io.micrometer.core.instrument.AbstractDistributionSummary
implements DynatraceSummarySnapshotSupport
Resettable
DistributionSummary implementation for Dynatrace exporters.- Since:
- 1.9.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.DistributionSummary
io.micrometer.core.instrument.DistributionSummary.BuilderNested 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 -
Field Summary
Fields inherited from class io.micrometer.core.instrument.AbstractDistributionSummary
histogram -
Constructor Summary
ConstructorsConstructorDescriptionDynatraceDistributionSummary(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.Clock clock, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, double scale) -
Method Summary
Modifier and TypeMethodDescriptionlongcount()Using this method is not synchronized and might give inconsistent results when multiple getters are called sequentially.booleanDeprecated.doublemax()Using this method is not synchronized and might give inconsistent results when multiple getters are called sequentially.doublemin()Deprecated.since 1.9.10.protected voidrecordNonNegative(double amount) io.micrometer.core.instrument.distribution.HistogramSnapshottakeSummarySnapshot(TimeUnit timeUnit) doubleUsing this method is not synchronized and might give inconsistent results when multiple getters are called sequentially.Methods inherited from class io.micrometer.core.instrument.AbstractDistributionSummary
recordMethods inherited from class io.micrometer.core.instrument.AbstractMeter
equals, getId, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micrometer.core.instrument.DistributionSummary
histogramCountAtValue, mean, measure, percentileMethods inherited from interface io.micrometer.core.instrument.distribution.HistogramSupport
takeSnapshotMethods inherited from interface io.micrometer.core.instrument.Meter
close, getId, match, use
-
Constructor Details
-
DynatraceDistributionSummary
public DynatraceDistributionSummary(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.Clock clock, io.micrometer.core.instrument.distribution.DistributionStatisticConfig distributionStatisticConfig, double scale)
-
-
Method Details
-
recordNonNegative
protected void recordNonNegative(double amount) - Specified by:
recordNonNegativein classio.micrometer.core.instrument.AbstractDistributionSummary
-
count
public long count()Using this method is not synchronized and might give inconsistent results when multiple getters are called sequentially. It is recommended totake a snapshotand use the getters on theDynatraceSummarySnapshotinstead.- Specified by:
countin interfaceio.micrometer.core.instrument.DistributionSummary
-
totalAmount
public double totalAmount()Using this method is not synchronized and might give inconsistent results when multiple getters are called sequentially. It is recommended totake a snapshotand use the getters on theDynatraceSummarySnapshotinstead.- Specified by:
totalAmountin interfaceio.micrometer.core.instrument.DistributionSummary
-
max
public double max()Using this method is not synchronized and might give inconsistent results when multiple getters are called sequentially. It is recommended totake a snapshotand use the getters on theDynatraceSummarySnapshotinstead.- Specified by:
maxin interfaceio.micrometer.core.instrument.DistributionSummary
-
min
Deprecated.since 1.9.10. Using this method is not synchronized and might give inconsistent results when multiple getters are called sequentially. It is recommended totake a snapshotand use the getters on theDynatraceSummarySnapshotinstead. -
hasValues
Deprecated.- Specified by:
hasValuesin interfaceDynatraceSummarySnapshotSupport
-
takeSummarySnapshot
- Specified by:
takeSummarySnapshotin interfaceDynatraceSummarySnapshotSupport
-
takeSummarySnapshot
- Specified by:
takeSummarySnapshotin interfaceDynatraceSummarySnapshotSupport
-
takeSummarySnapshotAndReset
- Specified by:
takeSummarySnapshotAndResetin interfaceDynatraceSummarySnapshotSupport
-
takeSummarySnapshotAndReset
- Specified by:
takeSummarySnapshotAndResetin interfaceDynatraceSummarySnapshotSupport
-
takeSnapshot
public io.micrometer.core.instrument.distribution.HistogramSnapshot takeSnapshot()- Specified by:
takeSnapshotin interfaceio.micrometer.core.instrument.distribution.HistogramSupport- Overrides:
takeSnapshotin classio.micrometer.core.instrument.AbstractDistributionSummary
-
DynatraceSummarySnapshotSupport.hasValues().