Commit 63d2e944 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Add influx property to govern whether db is auto-created or not"

Closes gh-11922
parent 9b215df4
......@@ -68,7 +68,8 @@ public class InfluxProperties extends StepRegistryProperties {
private Boolean compressed;
/**
* Check if Influx database exists before attempting to publish metrics to it, creating it if it does not exist.
* Whether to create the Influx database if it does not exist before attempting to
* publish metrics to it.
*/
private Boolean autoCreateDb;
......
......@@ -74,4 +74,5 @@ class InfluxPropertiesConfigAdapter extends
public boolean autoCreateDb() {
return get(InfluxProperties::getAutoCreateDb, InfluxConfig.super::autoCreateDb);
}
}
......@@ -1340,6 +1340,7 @@ content into your application. Rather, pick only the properties that you need.
management.metrics.export.graphite.rate-units= # Base time unit used to report rates.
management.metrics.export.graphite.step= # Step size (i.e. reporting frequency) to use.
management.metrics.export.graphite.tags-as-prefix= # For the default naming convention, turn the specified tag keys into part of the metric prefix.
management.metrics.export.influx.auto-create-db= # Whether to create the Influx database if it does not exist before attempting to publish metrics to it.
management.metrics.export.influx.batch-size= # Number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made.
management.metrics.export.influx.compressed= # Enable GZIP compression of metrics batches published to Influx.
management.metrics.export.influx.connect-timeout= # Connection timeout for requests to the backend.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment