@Configuration
@ConditionalOnProperty(name="ontrack.metrics.influxdb.host")
public class InfluxdbMetricsConfig
extends java.lang.Object
| Constructor and Description |
|---|
InfluxdbMetricsConfig(InfluxdbMetricsConfigProperties config,
com.codahale.metrics.MetricRegistry registry,
java.util.Collection<net.nemerosa.ontrack.model.metrics.OntrackTaggedMetrics> taggedMetrics) |
| Modifier and Type | Method and Description |
|---|---|
InfluxDbSender |
influxdb() |
InfluxDbReporter |
influxdbReporter() |
@Autowired public InfluxdbMetricsConfig(InfluxdbMetricsConfigProperties config, com.codahale.metrics.MetricRegistry registry, java.util.Collection<net.nemerosa.ontrack.model.metrics.OntrackTaggedMetrics> taggedMetrics)
@Bean public InfluxDbSender influxdb() throws java.lang.Exception
java.lang.Exception@Bean public InfluxDbReporter influxdbReporter() throws java.lang.Exception
java.lang.Exception