Upgrading io.micrometer:micrometer-core 0.6 to 0.7
Review needed0.6.3.RELEASE → 0.7.0.RELEASENew2Changed1Fixed2
Review neededUpgrade verdict
1 changed default.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published JVM bytecode. Not mixed with prose notes.
- added:
abstract class AbstractMeterRegistry implements MeterRegistry - added:
abstract class AbstractTimer implements Timer - added:
class ImmutableTag implements Tag - added:
ctor AbstractMeterRegistry(Clock) - added:
ctor AbstractTimer(MeterId, Clock) - added:
ctor ImmutableTag(String, String) - added:
field AbstractMeterRegistry.clock: Clock - added:
field AbstractMeterRegistry.commonTags: List - added:
field AbstractTimer.clock: Clock - added:
field AbstractTimer.id: MeterId - added:
method AbstractMeterRegistry.commonTags(Iterable): void - added:
method AbstractMeterRegistry.distributionSummary(String, Iterable, Quantiles, Histogram): DistributionSummary - added:
method AbstractMeterRegistry.getClock(): Clock - added:
method AbstractMeterRegistry.summaryBuilder(String): DistributionSummary.Builder - added:
method AbstractMeterRegistry.timer(String, Iterable, Quantiles, Histogram): Timer - added:
method AbstractMeterRegistry.timerBuilder(String): Timer.Builder - added:
method AbstractTimer.getName(): String - added:
method AbstractTimer.getTags(): Iterable - added:
method AbstractTimer.record(Runnable): void - added:
method AbstractTimer.record(Supplier): Object - added:
method AbstractTimer.recordCallable(Callable): Object - added:
method AbstractTimer.wrap(Callable): Callable - added:
method Clock.wallTime(): long - added:
method ImmutableTag.equals(Object): boolean - added:
method ImmutableTag.getKey(): String - added:
method ImmutableTag.getValue(): String - added:
method ImmutableTag.hashCode(): int - added:
method ImmutableTag.toString(): String - added:
method MeterRegistry.commonTags(Iterable): void - added:
method MeterRegistry.commonTags(String[]): void
- removed:
class DatadogCounter implements Counter - removed:
ctor DatadogRegistry(Clock, DatadogConfig) - removed:
final class DatadogRegistry extends AbstractRegistry - removed:
method DatadogConfig.batchSize(): int - removed:
method DatadogConfig.connectTimeout(): Duration - removed:
method DatadogConfig.enabled(): boolean - removed:
method DatadogConfig.numThreads(): int - removed:
method DatadogConfig.readTimeout(): Duration - removed:
method DatadogConfig.step(): Duration - removed:
method DatadogCounter.count(): long - removed:
method DatadogCounter.hasExpired(): boolean - removed:
method DatadogCounter.id(): Id - removed:
method DatadogCounter.increment(): void - removed:
method DatadogCounter.increment(long): void - removed:
method DatadogCounter.measure(): Iterable - removed:
method DatadogRegistry.newCounter(Id): Counter - removed:
method DatadogRegistry.newDistributionSummary(Id): DistributionSummary - removed:
method DatadogRegistry.newGauge(Id): Gauge - removed:
method DatadogRegistry.newTimer(Id): Timer - removed:
method DatadogRegistry.start(): void - removed:
method DatadogRegistry.stop(): void - changed:
interface DatadogConfig extends RegistryConfig → interface DatadogConfig extends StepRegistryConfig - added:
class DatadogMeterRegistry extends SpectatorMeterRegistry - added:
ctor DatadogMeterRegistry(Clock, DatadogConfig) - added:
ctor DatadogMeterRegistry(DatadogConfig) - added:
method DatadogConfig.prefix(): String
- removed:
abstract class AbstractMeterRegistry implements MeterRegistry - removed:
abstract class AbstractTimer implements Timer - removed:
class AnnotationUtils - removed:
class ImmutableTag implements Tag - removed:
class MapAccess - removed:
class MeterId - removed:
class TimeUtils - removed:
ctor AbstractMeterRegistry(Clock) - removed:
ctor AbstractTimer(MeterId, Clock) - removed:
ctor AnnotationUtils() - removed:
ctor ImmutableTag(String, String) - removed:
ctor MapAccess() - removed:
ctor MeterId(String, Iterable) - removed:
ctor MeterId(String, Tag[]) - removed:
ctor TimeUtils() - removed:
field AbstractMeterRegistry.clock: Clock - removed:
field AbstractTimer.clock: Clock - removed:
field AbstractTimer.id: MeterId - removed:
method AbstractMeterRegistry.distributionSummary(String, Iterable, Quantiles, Histogram): DistributionSummary - removed:
method AbstractMeterRegistry.getClock(): Clock - removed:
method AbstractMeterRegistry.summaryBuilder(String): DistributionSummary.Builder - removed:
method AbstractMeterRegistry.timer(String, Iterable, Quantiles, Histogram): Timer - removed:
method AbstractMeterRegistry.timerBuilder(String): Timer.Builder - removed:
method AbstractTimer.getName(): String - removed:
method AbstractTimer.getTags(): Iterable - removed:
method AbstractTimer.record(Runnable): void - removed:
method AbstractTimer.record(Supplier): Object - removed:
method AbstractTimer.recordCallable(Callable): Object - removed:
method AbstractTimer.wrap(Callable): Callable - removed:
method ImmutableTag.equals(Object): boolean - removed:
method ImmutableTag.getKey(): String - removed:
method ImmutableTag.getValue(): String - removed:
method ImmutableTag.hashCode(): int - removed:
method ImmutableTag.toString(): String - removed:
method MeterId.equals(Object): boolean - removed:
method MeterId.getName(): String - removed:
method MeterId.getTags(): List - removed:
method MeterId.hashCode(): int - removed:
method MeterId.measurement(double): Measurement - removed:
method MeterId.toString(): String - removed:
method MeterId.withTags(Iterable): MeterId - removed:
method MeterId.withTags(Tag[]): MeterId - removed:
static method AnnotationUtils.findTimed(Class): Stream - removed:
static method AnnotationUtils.findTimed(Method): Stream - removed:
static method MapAccess.computeIfAbsent(ConcurrentMap, Object, Function): Object - removed:
static method TimeUtils.convert(double, TimeUnit, TimeUnit): double - removed:
static method TimeUtils.daysToUnit(double, TimeUnit): double - removed:
static method TimeUtils.hoursToUnit(double, TimeUnit): double - removed:
static method TimeUtils.microsToUnit(double, TimeUnit): double - removed:
static method TimeUtils.millisToUnit(double, TimeUnit): double - removed:
static method TimeUtils.minutesToUnit(double, TimeUnit): double - removed:
static method TimeUtils.nanosToUnit(double, TimeUnit): double - removed:
static method TimeUtils.secondsToUnit(double, TimeUnit): double
- added:
abstract class AbstractStepRegistry extends AbstractRegistry - added:
class StepClock implements Clock - added:
class StepCounter implements Counter - added:
ctor AbstractStepRegistry(Clock, StepRegistryConfig) - added:
ctor StepClock(Clock, long) - added:
ctor StepCounter(Id, Clock, long) - added:
field AbstractStepRegistry.connectTimeout: int - added:
field AbstractStepRegistry.readTimeout: int - added:
interface StepRegistryConfig extends RegistryConfig - added:
method AbstractStepRegistry.getBatches(): List - added:
method AbstractStepRegistry.newCounter(Id): Counter - added:
method AbstractStepRegistry.newDistributionSummary(Id): DistributionSummary - added:
method AbstractStepRegistry.newGauge(Id): Gauge - added:
method AbstractStepRegistry.newTimer(Id): Timer - added:
method AbstractStepRegistry.pushMetrics(): void - added:
method AbstractStepRegistry.start(): void - added:
method AbstractStepRegistry.stop(): void - added:
method StepClock.monotonicTime(): long - added:
method StepClock.wallTime(): long - added:
method StepCounter.count(): long - added:
method StepCounter.hasExpired(): boolean - added:
method StepCounter.id(): Id - added:
method StepCounter.increment(): void - added:
method StepCounter.increment(long): void - added:
method StepCounter.measure(): Iterable - added:
method StepRegistryConfig.batchSize(): int - added:
method StepRegistryConfig.connectTimeout(): Duration - added:
method StepRegistryConfig.enabled(): boolean - added:
method StepRegistryConfig.numThreads(): int - added:
method StepRegistryConfig.prefix(): String - added:
method StepRegistryConfig.readTimeout(): Duration - added:
method StepRegistryConfig.step(): Duration
- added:
class AnnotationUtils - added:
class MapAccess - added:
class MeterId - added:
class TimeUtils - added:
ctor AnnotationUtils() - added:
ctor MapAccess() - added:
ctor MeterId(String, Iterable) - added:
ctor MeterId(String, Tag[]) - added:
ctor TimeUtils() - added:
method MeterId.equals(Object): boolean - added:
method MeterId.getName(): String - added:
method MeterId.getTags(): List - added:
method MeterId.hashCode(): int - added:
method MeterId.measurement(double): Measurement - added:
method MeterId.toString(): String - added:
method MeterId.withTags(Iterable): MeterId - added:
method MeterId.withTags(Tag[]): MeterId - added:
static method AnnotationUtils.findTimed(Class): Stream - added:
static method AnnotationUtils.findTimed(Method): Stream - added:
static method MapAccess.computeIfAbsent(ConcurrentMap, Object, Function): Object - added:
static method TimeUtils.convert(double, TimeUnit, TimeUnit): double - added:
static method TimeUtils.daysToUnit(double, TimeUnit): double - added:
static method TimeUtils.hoursToUnit(double, TimeUnit): double - added:
static method TimeUtils.microsToUnit(double, TimeUnit): double - added:
static method TimeUtils.millisToUnit(double, TimeUnit): double - added:
static method TimeUtils.minutesToUnit(double, TimeUnit): double - added:
static method TimeUtils.nanosToUnit(double, TimeUnit): double - added:
static method TimeUtils.secondsToUnit(double, TimeUnit): double