diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/MetricExportProperties.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/MetricExportProperties.java index 764677e3d0b..b4aff1b066c 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/MetricExportProperties.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/MetricExportProperties.java @@ -38,8 +38,7 @@ public class MetricExportProperties extends TriggerProperties { /** * Specific trigger properties per MetricWriter bean name. */ - private Map triggers - = new LinkedHashMap(); + private Map triggers = new LinkedHashMap(); private Redis redis = new Redis(); diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DropwizardMetricWriter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DropwizardMetricWriter.java index 939d2e4b1dd..1edc6aee822 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DropwizardMetricWriter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DropwizardMetricWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,8 +47,7 @@ import com.codahale.metrics.Timer; * * * @author Dave Syer - * - * @deprecated Use {@link DropwizardMetricServices} instead + * @deprecated Since 1.3 in favor of {@link DropwizardMetricServices} */ @Deprecated public class DropwizardMetricWriter implements MetricWriter { @@ -134,6 +133,7 @@ public class DropwizardMetricWriter implements MetricWriter { public Double getValue() { return this.value; } + } } diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index fb18eedc25c..ce4bd3db3a2 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -652,7 +652,7 @@ content into your application; rather pick only the properties that you need. shell.auth.simple.user.name= shell.auth.simple.user.password= shell.auth.spring.roles= - + # METRICS EXPORT ({sc-spring-boot-actuator}/metrics/export/MetricExportProperties.{sc-ext}[MetricExportProperties]) spring.metrics.export.enabled=true # flag to disable all metric exports (assuming any MetricWriters are available) spring.metrics.export.delay-millis=5000 # delay in milliseconds between export ticks