Skip to content

Commit 22d187a

Browse files
committed
Polish "Add missing configuration properties for Statsd"
See gh-30898
1 parent d90ef6a commit 22d187a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/statsd/StatsdProperties.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -72,9 +72,8 @@ public class StatsdProperties {
7272
private Duration pollingFrequency = Duration.ofSeconds(10);
7373

7474
/**
75-
* The step size to use in computing windowed statistics like max. The default is 1
76-
* minute. To get the most out of these statistics, align the step interval to be
77-
* close to your scrape interval.
75+
* Step size to use in computing windowed statistics like max. To get the most out of
76+
* these statistics, align the step interval to be close to your scrape interval.
7877
*/
7978
private Duration step = Duration.ofMinutes(1);
8079

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/statsd/StatsdPropertiesConfigAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)