|
|
|
|
@ -63,8 +63,7 @@ public class InfluxMetricsExportAutoConfiguration {
@@ -63,8 +63,7 @@ public class InfluxMetricsExportAutoConfiguration {
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
|
@ConditionalOnMissingBean |
|
|
|
|
public InfluxMeterRegistry influxMeterRegistry(InfluxConfig influxConfig, Clock clock, |
|
|
|
|
InfluxProperties influxProperties) { |
|
|
|
|
public InfluxMeterRegistry influxMeterRegistry(InfluxConfig influxConfig, Clock clock) { |
|
|
|
|
return InfluxMeterRegistry.builder(influxConfig).clock(clock).httpClient( |
|
|
|
|
new HttpUrlConnectionSender(this.properties.getConnectTimeout(), this.properties.getReadTimeout())) |
|
|
|
|
.build(); |
|
|
|
|
|