public interface InfluxConfig extends 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 String |
db() |
default String |
password() |
default String |
prefix() |
default String |
retentionDuration() |
default String |
retentionPolicy() |
default Integer |
retentionReplicationFactor() |
default String |
retentionShardDuration() |
default String |
uri() |
default String |
userName() |
batchSize, connectTimeout, enabled, numThreads, readTimeout, step
get
static final InfluxConfig DEFAULT
default String prefix()
prefix
in interface MeterRegistryConfig
default String db()
default InfluxConsistency consistency()
@Nullable default String userName()
null
, and the registry will not
attempt to present credentials to Influx.@Nullable default String password()
null
, and the registry will not
attempt to present credentials to Influx.@Nullable default String retentionPolicy()
@Nullable default String retentionDuration()
@Nullable default Integer retentionReplicationFactor()
@Nullable default String retentionShardDuration()
default 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.Copyright © 2019. All rights reserved.