From 9543ab1ca990e6353ea680b89a614fd7431138f8 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sat, 4 Apr 2020 15:15:16 +0200 Subject: [PATCH] Update default value for Wavefront's step size See gh-20833 --- .../export/wavefront/WavefrontProperties.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/wavefront/WavefrontProperties.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/wavefront/WavefrontProperties.java index 3546d20ccf..0c4f09ded9 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/wavefront/WavefrontProperties.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/wavefront/WavefrontProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-2020 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. @@ -17,7 +17,6 @@ package org.springframework.boot.actuate.autoconfigure.metrics.export.wavefront; import java.net.URI; -import java.time.Duration; import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryProperties; import org.springframework.boot.context.properties.ConfigurationProperties; @@ -32,11 +31,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties("management.metrics.export.wavefront") public class WavefrontProperties extends PushRegistryProperties { - /** - * Step size (i.e. reporting frequency) to use. - */ - private Duration step = Duration.ofSeconds(10); - /** * URI to ship metrics to. */ @@ -68,16 +62,6 @@ public class WavefrontProperties extends PushRegistryProperties { this.uri = uri; } - @Override - public Duration getStep() { - return this.step; - } - - @Override - public void setStep(Duration step) { - this.step = step; - } - public String getSource() { return this.source; }