Polish "Add missing configuration properties for Statsd"

See gh-30898
This commit is contained in:
Stephane Nicoll
2022-05-16 16:33:22 +02:00
parent d90ef6afb3
commit 22d187a38c
2 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -72,9 +72,8 @@ public class StatsdProperties {
private Duration pollingFrequency = Duration.ofSeconds(10); private Duration pollingFrequency = Duration.ofSeconds(10);
/** /**
* The step size to use in computing windowed statistics like max. The default is 1 * Step size to use in computing windowed statistics like max. To get the most out of
* minute. To get the most out of these statistics, align the step interval to be * these statistics, align the step interval to be close to your scrape interval.
* close to your scrape interval.
*/ */
private Duration step = Duration.ofMinutes(1); private Duration step = Duration.ofMinutes(1);

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.