public interface InfluxConfig extends StepRegistryConfig
Modifier and Type | Method and Description |
---|---|
default boolean |
compressed() |
default java.lang.String |
consistency()
Sets the write consistency for the point.
|
default java.lang.String |
db()
The tag that will be mapped to "host" when shipping metrics to Influx, or
null if
host should be omitted on publishing. |
default java.lang.String |
password()
Authenticate requests with this password.
|
default java.lang.String |
prefix()
Property prefix to prepend to configuration names.
|
default java.lang.String |
retentionPolicy()
Influx writes to the DEFAULT retention policy if one is not specified.
|
default java.lang.String |
uri()
Returns the URI for the Influx backend.
|
default java.lang.String |
userName()
Authenticate requests with this user.
|
batchSize, connectTimeout, enabled, numThreads, readTimeout, step
default java.lang.String prefix()
StepRegistryConfig
prefix
in interface StepRegistryConfig
default java.lang.String db()
null
if
host should be omitted on publishing.default java.lang.String consistency()
default java.lang.String userName()
null
, and the registry will not
attempt to present credentials to Influx.default java.lang.String password()
null
, and the registry will not
attempt to present credentials to Influx.default java.lang.String retentionPolicy()
default java.lang.String uri()
http://localhost:8086/write
.default boolean compressed()
true
if metrics publish batches should be GZIP compressed, false
otherwise.