public interface InfluxConfig
extends io.micrometer.core.instrument.step.StepRegistryConfig
InfluxMeterRegistry.| Modifier and Type | Field and Description |
|---|---|
static InfluxConfig |
DEFAULT
Accept configuration defaults
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
autoCreateDb() |
default boolean |
compressed() |
default InfluxConsistency |
consistency() |
default java.lang.String |
db() |
default java.lang.String |
password() |
default java.lang.String |
prefix() |
default java.lang.String |
retentionDuration() |
default java.lang.String |
retentionPolicy() |
default java.lang.Integer |
retentionReplicationFactor() |
default java.lang.String |
retentionShardDuration() |
default java.lang.String |
uri() |
default java.lang.String |
userName() |
static final InfluxConfig DEFAULT
default java.lang.String prefix()
prefix in interface io.micrometer.core.instrument.config.MeterRegistryConfigdefault java.lang.String db()
default InfluxConsistency consistency()
@Nullable default java.lang.String userName()
null, and the registry will not
attempt to present credentials to Influx.@Nullable default java.lang.String password()
null, and the registry will not
attempt to present credentials to Influx.@Nullable default java.lang.String retentionPolicy()
@Nullable default java.lang.String retentionDuration()
@Nullable default java.lang.Integer retentionReplicationFactor()
@Nullable default java.lang.String retentionShardDuration()
default java.lang.String uri()
http://localhost:8086.default boolean compressed()
true if metrics publish batches should be GZIP compressed, false otherwise.default boolean autoCreateDb()
true if Micrometer should check if db() exists before attempting to publish
metrics to it, creating it if it does not exist.