github micrometer-metrics/micrometer v1.5.2

latest releases: v1.13.0, v1.12.6, v1.11.12...
3 years ago

This patch release contains the changes from the 1.5.2 milestone, the 1.1.15 release, and the 1.3.10 release.


Known issues

micrometer-registry-statsd

  • #2177 StatsD UDP reconnect bug. We are working to get a fix for this in the next patch release.

micrometer-registry-graphite

#2069 Users wishing to use the Graphite tag support added in but broken since Micrometer 1.4, a workaround is now available. Specifically, you should upgrade your metrics-graphite dependency to 4.1.8 or later and provide a GraphiteReporter to the GraphiteMeterRegistry constructor with the new addMetricAttributesAsTags option set, such as will be done in the default GraphiteReporter in Micrometer 1.6.0:

GraphiteReporter.forRegistry(metricRegistry)
    .withClock(new DropwizardClock(clock))
    .convertRatesTo(config.rateUnits())
    .convertDurationsTo(config.durationUnits())
    .addMetricAttributesAsTags(config.graphiteTagsEnabled()) // this fixes #2069
    .build(getGraphiteSender(config));

Don't miss a new micrometer release

NewReleases is sending notifications on new releases.