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