Skip to content

Commit 5765ed0

Browse files
committed
Polish
1 parent 1977995 commit 5765ed0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/elastic/ElasticProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ public class ElasticProperties extends StepRegistryProperties {
5555
private boolean autoCreateIndex = true;
5656

5757
/**
58-
* Username for basic authentication.
58+
* Login user of the Elastic server.
5959
*/
6060
private String userName = "";
6161

6262
/**
63-
* Password for basic authentication.
63+
* Login password of the Elastic server.
6464
*/
6565
private String password = "";
6666

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,15 +1420,15 @@ content into your application. Rather, pick only the properties that you need.
14201420
management.metrics.export.elastic.batch-size=10000 # Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.
14211421
management.metrics.export.elastic.connect-timeout=1s # Connection timeout for requests to this backend.
14221422
management.metrics.export.elastic.enabled=true # Whether exporting of metrics to this backend is enabled.
1423-
management.metrics.export.elastic.hosts= # Hosts to export metrics to.
1424-
management.metrics.export.elastic.index= # Index to export metrics to.
1425-
management.metrics.export.elastic.index-date-format= # Index date format used for rolling indices. Appended to the index name, preceded by a '-'.
1423+
management.metrics.export.elastic.hosts=http://localhost:9200 # Hosts to export metrics to.
1424+
management.metrics.export.elastic.index=metrics # Index to export metrics to.
1425+
management.metrics.export.elastic.index-date-format=yyyy-MM # Index date format used for rolling indices. Appended to the index name, preceded by a '-'.
14261426
management.metrics.export.elastic.num-threads=2 # Number of threads to use with the metrics publishing scheduler.
1427-
management.metrics.export.elastic.password= # Password for basic authentication.
1427+
management.metrics.export.elastic.password= # Login password of the Elastic server.
14281428
management.metrics.export.elastic.read-timeout=10s # Read timeout for requests to this backend.
14291429
management.metrics.export.elastic.step=1m # Step size (i.e. reporting frequency) to use.
14301430
management.metrics.export.elastic.timestamp-field-name=@timestamp # Name of the timestamp field.
1431-
management.metrics.export.elastic.user-name= # User name for basic authentication.
1431+
management.metrics.export.elastic.user-name= # Login user of the Elastic server.
14321432
management.metrics.export.ganglia.addressing-mode=multicast # UDP addressing mode, either unicast or multicast.
14331433
management.metrics.export.ganglia.duration-units=milliseconds # Base time unit used to report durations.
14341434
management.metrics.export.ganglia.enabled=true # Whether exporting of metrics to Ganglia is enabled.

0 commit comments

Comments
 (0)