Upgrading io.micrometer:micrometer-core 0.7 to 0.8
Review needed0.7.0.RELEASE → 0.8.0.RELEASENew2Changed1Fixed1
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.
- changed:
method Meter.measure(): Iterable → method Meter.measure(): List - added:
method AbstractMeterRegistry.withCommonTags(Iterable): Iterable
- added:
class AtlasMeterRegistry extends SpectatorMeterRegistry - added:
class AtlasUtils - added:
ctor AtlasMeterRegistry(AtlasConfig) - added:
ctor AtlasMeterRegistry(AtlasConfig, Clock) - added:
ctor AtlasUtils() - added:
static method AtlasUtils.atlasPublish(SpectatorMeterRegistry, AtlasConfig): void - added:
static method AtlasUtils.pollingConfig(String, Duration): AtlasConfig - added:
static method AtlasUtils.pushConfig(String): AtlasConfig
- changed:
ctor DatadogMeterRegistry(Clock, DatadogConfig) → ctor DatadogMeterRegistry(DatadogConfig, Clock) - added:
class DatadogTagFormatter implements TagFormatter - added:
ctor DatadogTagFormatter() - added:
method DatadogTagFormatter.formatName(String): String - added:
method DatadogTagFormatter.formatTagKey(String): String - added:
method DatadogTagFormatter.formatTagValue(String): String
- added:
abstract class AbstractDropwizardMeter implements Meter - added:
class DropwizardCounter extends AbstractDropwizardMeter implements Counter - added:
class DropwizardDistributionSummary extends AbstractDropwizardMeter implements DistributionSummary - added:
class DropwizardGauge extends AbstractDropwizardMeter implements Gauge - added:
class DropwizardMeterRegistry extends AbstractMeterRegistry - added:
class DropwizardTimer extends AbstractTimer - added:
ctor DropwizardCounter(MeterId, Meter) - added:
ctor DropwizardMeterRegistry(HierarchicalNameMapper, Clock, TagFormatter) - added:
ctor DropwizardTimer(MeterId, Timer, Clock) - added:
field AbstractDropwizardMeter.id: MeterId - added:
method AbstractDropwizardMeter.getName(): String - added:
method AbstractDropwizardMeter.getTags(): Iterable - added:
method DropwizardCounter.count(): double - added:
method DropwizardCounter.increment(): void - added:
method DropwizardCounter.increment(double): void - added:
method DropwizardCounter.measure(): List - added:
method DropwizardDistributionSummary.count(): long - added:
method DropwizardDistributionSummary.measure(): List - added:
method DropwizardDistributionSummary.record(double): void - added:
method DropwizardDistributionSummary.totalAmount(): double - added:
method DropwizardGauge.measure(): List - added:
method DropwizardGauge.value(): double - added:
method DropwizardMeterRegistry.counter(String, Iterable): Counter - added:
method DropwizardMeterRegistry.distributionSummary(String, Iterable, Quantiles, Histogram): DistributionSummary - added:
method DropwizardMeterRegistry.findMeter(Class, String, Iterable): Optional - added:
method DropwizardMeterRegistry.findMeter(Meter.Type, String, Iterable): Optional - added:
method DropwizardMeterRegistry.gauge(String, Iterable, Object, ToDoubleFunction): Object - added:
method DropwizardMeterRegistry.getDropwizardRegistry(): MetricRegistry - added:
method DropwizardMeterRegistry.getMeters(): Collection - added:
method DropwizardMeterRegistry.longTaskTimer(String, Iterable): LongTaskTimer - added:
method DropwizardMeterRegistry.register(Meter): MeterRegistry - added:
method DropwizardMeterRegistry.timer(String, Iterable, Quantiles, Histogram): Timer - added:
method DropwizardTimer.count(): long - added:
method DropwizardTimer.measure(): List - added:
method DropwizardTimer.record(long, TimeUnit): void - added:
method DropwizardTimer.totalTime(TimeUnit): double
- added:
class GangliaMeterRegistry extends DropwizardMeterRegistry - added:
ctor GangliaMeterRegistry() - added:
ctor GangliaMeterRegistry(GangliaConfig) - added:
ctor GangliaMeterRegistry(GangliaConfig, HierarchicalNameMapper, Clock) - added:
interface GangliaConfig - added:
method GangliaConfig.addressingMode(): GMetric.UDPAddressingMode - added:
method GangliaConfig.durationUnits(): TimeUnit - added:
method GangliaConfig.get(String): String - added:
method GangliaConfig.host(): String - added:
method GangliaConfig.port(): int - added:
method GangliaConfig.prefix(): String - added:
method GangliaConfig.protocolVersion(): String - added:
method GangliaConfig.rateUnits(): TimeUnit - added:
method GangliaConfig.step(): Duration - added:
method GangliaConfig.ttl(): int - added:
method GangliaMeterRegistry.start(): void - added:
method GangliaMeterRegistry.stop(): void
- added:
class GraphiteMeterRegistry extends DropwizardMeterRegistry - added:
class GraphiteTagFormatter implements TagFormatter - added:
ctor GraphiteMeterRegistry() - added:
ctor GraphiteMeterRegistry(GraphiteConfig) - added:
ctor GraphiteMeterRegistry(GraphiteConfig, HierarchicalNameMapper, Clock) - added:
ctor GraphiteTagFormatter() - added:
interface GraphiteConfig - added:
method GraphiteConfig.durationUnits(): TimeUnit - added:
method GraphiteConfig.get(String): String - added:
method GraphiteConfig.host(): String - added:
method GraphiteConfig.port(): int - added:
method GraphiteConfig.prefix(): String - added:
method GraphiteConfig.rateUnits(): TimeUnit - added:
method GraphiteConfig.step(): Duration - added:
method GraphiteMeterRegistry.start(): void - added:
method GraphiteMeterRegistry.stop(): void - added:
method GraphiteTagFormatter.formatName(String): String - added:
method GraphiteTagFormatter.formatTagKey(String): String - added:
method GraphiteTagFormatter.formatTagValue(String): String
- added:
class JmxMeterRegistry extends DropwizardMeterRegistry - added:
ctor JmxMeterRegistry() - added:
ctor JmxMeterRegistry(HierarchicalNameMapper, Clock) - added:
method JmxMeterRegistry.start(): void - added:
method JmxMeterRegistry.stop(): void
- changed:
method CustomCollectorChild.measure(): Iterable → method CustomCollectorChild.measure(): List - changed:
method PrometheusCounter.measure(): Iterable → method PrometheusCounter.measure(): List - changed:
method PrometheusDistributionSummary.measure(): Iterable → method PrometheusDistributionSummary.measure(): List - changed:
method PrometheusGauge.measure(): Iterable → method PrometheusGauge.measure(): List - changed:
method PrometheusLongTaskTimer.measure(): Iterable → method PrometheusLongTaskTimer.measure(): List - changed:
method PrometheusTimer.measure(): Iterable → method PrometheusTimer.measure(): List - added:
class PrometheusTagFormatter implements TagFormatter - added:
ctor PrometheusTagFormatter() - added:
method PrometheusTagFormatter.formatName(String): String - added:
method PrometheusTagFormatter.formatTagKey(String): String - added:
method PrometheusTagFormatter.formatTagValue(String): String
- changed:
method SimpleCounter.measure(): Iterable → method SimpleCounter.measure(): List - changed:
method SimpleDistributionSummary.measure(): Iterable → method SimpleDistributionSummary.measure(): List - changed:
method SimpleGauge.measure(): Iterable → method SimpleGauge.measure(): List - changed:
method SimpleLongTaskTimer.measure(): Iterable → method SimpleLongTaskTimer.measure(): List - changed:
method SimpleTimer.measure(): Iterable → method SimpleTimer.measure(): List
- removed:
ctor SpectatorMeterRegistry(Registry) - removed:
ctor SpectatorMeterRegistry(Registry, Clock) - changed:
ctor SpectatorMeterRegistry() → ctor SpectatorMeterRegistry(Registry, Clock, TagFormatter) - changed:
method SpectatorCounter.measure(): Iterable → method SpectatorCounter.measure(): List - changed:
method SpectatorDistributionSummary.measure(): Iterable → method SpectatorDistributionSummary.measure(): List - changed:
method SpectatorGauge.measure(): Iterable → method SpectatorGauge.measure(): List - changed:
method SpectatorLongTaskTimer.measure(): Iterable → method SpectatorLongTaskTimer.measure(): List - changed:
method SpectatorTimer.measure(): Iterable → method SpectatorTimer.measure(): List
- removed:
ctor MeterId(String, Tag[]) - added:
class HierarchicalNameMapper - added:
ctor HierarchicalNameMapper() - added:
field HierarchicalNameMapper.tagComparator: Comparator - added:
field HierarchicalNameMapper.tagSeparator: String - added:
field HierarchicalNameMapper.valueSeparator: String - added:
method HierarchicalNameMapper.setTagComparator(Comparator): HierarchicalNameMapper - added:
method HierarchicalNameMapper.setTagSeparator(String): HierarchicalNameMapper - added:
method HierarchicalNameMapper.setValueSeparator(String): HierarchicalNameMapper - added:
method HierarchicalNameMapper.toHierarchicalName(String, Collection): String - added:
method MeterId.withName(String): MeterId - added:
static field HierarchicalNameMapper.DEFAULT: HierarchicalNameMapper