Releases: micrometer-metrics/micrometer
v1.2.2
This is the final planned release in the 1.2.x line. Upgrade to 1.3.x to continue to get patches.
This release contains all of the changes in the 1.1.7 release.
See issues included in the 1.2.2 milestone.
v1.1.7
Notable changes
An inadvertent use of slf4j in micrometer-core has been removed. Micrometer now uses an internal logging facade adopted from code in the Netty project.
See the milestone for all issues included in this release.
v1.2.1
NOTE: 1.2.x is a non-LTS release line that will not publish patch releases once 1.3.0 is released. See our support policy for more details.
See the milestone for included issues. Issues in the 1.1.6 milestone were also included in this version.
v1.1.6
See the milestone for included issues.
v1.2.0 (non-LTS)
NOTE: This is a non-LTS release. 1.2.x patches will be provided only until 1.3.0 is released. See the support policy for more details.
Notable changes
- #1254 Caffeine metrics support now requires Caffeine 2.7 or later
- #1315 Wavefront registry now ships cumulative values instead of rates; use the rate functions in Wavefront to derive rates
- #1446 InfluxDB registry will write the
metric_type
with theMeter.Id.Type
for customMeter
implementations instead ofunknown
See the 1.2.0 milestone for all included issues.
v1.1.5
Notable changes
#1421 If using the ElasticMeterRegistry
, any existing metrics_template
template needs to be deleted when upgrading so it can be recreated with the fix included in that change.
See the 1.1.5 milestone for full details on what was included in this release. All changes from the 1.0.11 release were also included in 1.1.5.
v1.0.11
NOTE: This is the last planned patch release of the 1.0.x version line. Please upgrade to a supported release line to get future patches.
See the 1.0.11 milestone for details on changes included in this release.
v1.1.4
See the 1.1.4 milestone for included changes. 1.0.10 changes are also included in this release.
Notable changes
Default PauseDetector
The default PauseDetector
has been changed to NoPauseDetector
from ClockDriftPauseDetector
(see #1324). To restore the prior behavior, configure a ClockDriftPauseDetector
on your MeterRegistry like:
registry.config().pauseDetector(new ClockDriftPauseDetector(Duration.ofMillis(100), Duration.ofMillis(100));
Fail fast on missing required configuration
MissingRequiredConfigurationException
will be thrown when instantiating MeterRegistry implementations if required configuration values are not available from the given *Config class used.
Fixes
Enhancements
v1.0.10
See the 1.0.10 milestone for included items.
Notable changes
Default PauseDetector
The default PauseDetector
has been changed to NoPauseDetector
from ClockDriftPauseDetector
(see #1324). To restore the prior behavior, configure a ClockDriftPauseDetector
on your MeterRegistry like:
registry.config().pauseDetector(new ClockDriftPauseDetector(Duration.ofMillis(100), Duration.ofMillis(100));
Fixes
- Tomcat ThreadPool metrics reporting NaN values
- Handle NaN and infinity for New Relic Insights
- Replace invalid characters in events for New Relic naming convention
- Respect mode for FunctionTimer/FunctionCounter in SimpleMeterRegistry
- Respect time unit parameter in FunctionTimer.totalTime()
- Handle null MemoryUsage in JvmMemoryMetrics
- InfluxMeterRegistry sends tags with empty values which influx then rejects
- Use nanoseconds for Dropwizard timer snapshot mean
- Start line sink only when enabled in StatsD meter registry
- Use noop processor when publishing is disabled in StatsD meter registry
- Get Timed annotation from proxy target when failed
- Handle missing exceptions in WebMvcMetricsFilter
- Custom meters' fields are written incorrectly with InfluxMeterRegistry
Enhancements
- Add Infinity Buckets to the StatsD MeterRegistry for Meters with an SLA
- Use MissingRequiredConfigurationException consistently
- Datadog: log when applicationKey is not configured
- Use system-dependent line separator for logs
- Various documentation improvements
- Various test code polish
v1.1.3
See the 1.1.3 milestone for included items.
Fixes
Includes 1.0.10 fixes up to the point of 1.1.3 release (see diff).
- Wait to publish metrics to Cloudwatch even if application is shutting down
- Handle NaN in various registries
- LoggingMeterRegistry
- HumioMeterRegistry
- KafkaConsumerMetrics' "records-lead" metric should not be a TimeGauge
- KafkaConsumerMetrics properly tagged per topic and partition
- StackdriverMeterRegistry handles publishing empty histograms
Micrometer Spring Legacy fixes
- Avoid creating meter binders before registry has been customized
Polish
- Avoid
MediaType.get
calls in OkHttpSender where possible - JavaDoc polish for Elasticsearch support
- JavaDoc for
RestTemplateExchangeTags.outcome
- Avoid potentially expensive calls when debug logging is not enabled
- Align some test class names with class under test
- Unify access modifiers on across some classes
- Fix setup for some test classes
- Properly set interrupted status for CloudWatchMeterRegistry publish thread