Skip to content

Commit 9543ab1

Browse files
committed
Update default value for Wavefront's step size
See gh-20833
1 parent a8c026a commit 9543ab1

File tree

1 file changed

+1
-17
lines changed
  • spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/wavefront

1 file changed

+1
-17
lines changed

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

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 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.
@@ -17,7 +17,6 @@
1717
package org.springframework.boot.actuate.autoconfigure.metrics.export.wavefront;
1818

1919
import java.net.URI;
20-
import java.time.Duration;
2120

2221
import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryProperties;
2322
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -32,11 +31,6 @@
3231
@ConfigurationProperties("management.metrics.export.wavefront")
3332
public class WavefrontProperties extends PushRegistryProperties {
3433

35-
/**
36-
* Step size (i.e. reporting frequency) to use.
37-
*/
38-
private Duration step = Duration.ofSeconds(10);
39-
4034
/**
4135
* URI to ship metrics to.
4236
*/
@@ -68,16 +62,6 @@ public void setUri(URI uri) {
6862
this.uri = uri;
6963
}
7064

71-
@Override
72-
public Duration getStep() {
73-
return this.step;
74-
}
75-
76-
@Override
77-
public void setStep(Duration step) {
78-
this.step = step;
79-
}
80-
8165
public String getSource() {
8266
return this.source;
8367
}

0 commit comments

Comments
 (0)