|
20 | 20 |
|
21 | 21 | import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryProperties;
|
22 | 22 | import org.springframework.boot.context.properties.ConfigurationProperties;
|
| 23 | +import org.springframework.boot.context.properties.DeprecatedConfigurationProperty; |
23 | 24 |
|
24 | 25 | /**
|
25 | 26 | * {@link ConfigurationProperties @ConfigurationProperties} for configuring metrics export
|
|
29 | 30 | * @author Andy Wilkinson
|
30 | 31 | * @author Stephane Nicoll
|
31 | 32 | * @since 2.0.0
|
| 33 | + * @deprecated since 3.5.0 for removal in 3.7.0 |
32 | 34 | */
|
33 | 35 | @ConfigurationProperties("management.signalfx.metrics.export")
|
| 36 | +@Deprecated(since = "3.5.0", forRemoval = true) |
34 | 37 | public class SignalFxProperties extends StepRegistryProperties {
|
35 | 38 |
|
36 | 39 | /**
|
@@ -60,47 +63,115 @@ public class SignalFxProperties extends StepRegistryProperties {
|
60 | 63 | private HistogramType publishedHistogramType = HistogramType.DEFAULT;
|
61 | 64 |
|
62 | 65 | @Override
|
| 66 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 67 | + @Deprecated(since = "3.5.0", forRemoval = true) |
63 | 68 | public Duration getStep() {
|
64 | 69 | return this.step;
|
65 | 70 | }
|
66 | 71 |
|
67 | 72 | @Override
|
| 73 | + @Deprecated(since = "3.5.0", forRemoval = true) |
68 | 74 | public void setStep(Duration step) {
|
69 | 75 | this.step = step;
|
70 | 76 | }
|
71 | 77 |
|
| 78 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 79 | + @Deprecated(since = "3.5.0", forRemoval = true) |
72 | 80 | public String getAccessToken() {
|
73 | 81 | return this.accessToken;
|
74 | 82 | }
|
75 | 83 |
|
| 84 | + @Deprecated(since = "3.5.0", forRemoval = true) |
76 | 85 | public void setAccessToken(String accessToken) {
|
77 | 86 | this.accessToken = accessToken;
|
78 | 87 | }
|
79 | 88 |
|
| 89 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 90 | + @Deprecated(since = "3.5.0", forRemoval = true) |
80 | 91 | public String getUri() {
|
81 | 92 | return this.uri;
|
82 | 93 | }
|
83 | 94 |
|
| 95 | + @Deprecated(since = "3.5.0", forRemoval = true) |
84 | 96 | public void setUri(String uri) {
|
85 | 97 | this.uri = uri;
|
86 | 98 | }
|
87 | 99 |
|
| 100 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 101 | + @Deprecated(since = "3.5.0", forRemoval = true) |
88 | 102 | public String getSource() {
|
89 | 103 | return this.source;
|
90 | 104 | }
|
91 | 105 |
|
| 106 | + @Deprecated(since = "3.5.0", forRemoval = true) |
92 | 107 | public void setSource(String source) {
|
93 | 108 | this.source = source;
|
94 | 109 | }
|
95 | 110 |
|
| 111 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 112 | + @Deprecated(since = "3.5.0", forRemoval = true) |
96 | 113 | public HistogramType getPublishedHistogramType() {
|
97 | 114 | return this.publishedHistogramType;
|
98 | 115 | }
|
99 | 116 |
|
| 117 | + @Deprecated(since = "3.5.0", forRemoval = true) |
100 | 118 | public void setPublishedHistogramType(HistogramType publishedHistogramType) {
|
101 | 119 | this.publishedHistogramType = publishedHistogramType;
|
102 | 120 | }
|
103 | 121 |
|
| 122 | + @Override |
| 123 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 124 | + @Deprecated(since = "3.5.0", forRemoval = true) |
| 125 | + public boolean isEnabled() { |
| 126 | + return super.isEnabled(); |
| 127 | + } |
| 128 | + |
| 129 | + @Override |
| 130 | + @Deprecated(since = "3.5.0", forRemoval = true) |
| 131 | + public void setEnabled(boolean enabled) { |
| 132 | + super.setEnabled(enabled); |
| 133 | + } |
| 134 | + |
| 135 | + @Override |
| 136 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 137 | + @Deprecated(since = "3.5.0", forRemoval = true) |
| 138 | + public Duration getConnectTimeout() { |
| 139 | + return super.getConnectTimeout(); |
| 140 | + } |
| 141 | + |
| 142 | + @Override |
| 143 | + @Deprecated(since = "3.5.0", forRemoval = true) |
| 144 | + public void setConnectTimeout(Duration connectTimeout) { |
| 145 | + super.setConnectTimeout(connectTimeout); |
| 146 | + } |
| 147 | + |
| 148 | + @Override |
| 149 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 150 | + @Deprecated(since = "3.5.0", forRemoval = true) |
| 151 | + public Duration getReadTimeout() { |
| 152 | + return super.getReadTimeout(); |
| 153 | + } |
| 154 | + |
| 155 | + @Override |
| 156 | + @Deprecated(since = "3.5.0", forRemoval = true) |
| 157 | + public void setReadTimeout(Duration readTimeout) { |
| 158 | + super.setReadTimeout(readTimeout); |
| 159 | + } |
| 160 | + |
| 161 | + @Override |
| 162 | + @DeprecatedConfigurationProperty(since = "3.5.0", reason = "Deprecated in Micrometer 1.15.0") |
| 163 | + @Deprecated(since = "3.5.0", forRemoval = true) |
| 164 | + public Integer getBatchSize() { |
| 165 | + return super.getBatchSize(); |
| 166 | + } |
| 167 | + |
| 168 | + @Override |
| 169 | + @Deprecated(since = "3.5.0", forRemoval = true) |
| 170 | + public void setBatchSize(Integer batchSize) { |
| 171 | + super.setBatchSize(batchSize); |
| 172 | + } |
| 173 | + |
| 174 | + @Deprecated(since = "3.5.0", forRemoval = true) |
104 | 175 | public enum HistogramType {
|
105 | 176 |
|
106 | 177 | /**
|
|
0 commit comments