You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/elastic/ElasticProperties.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,12 +55,12 @@ public class ElasticProperties extends StepRegistryProperties {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1420,15 +1420,15 @@ content into your application. Rather, pick only the properties that you need.
1420
1420
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.
1421
1421
management.metrics.export.elastic.connect-timeout=1s # Connection timeout for requests to this backend.
1422
1422
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 '-'.
1426
1426
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.
1428
1428
management.metrics.export.elastic.read-timeout=10s # Read timeout for requests to this backend.
1429
1429
management.metrics.export.elastic.step=1m # Step size (i.e. reporting frequency) to use.
1430
1430
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.
1432
1432
management.metrics.export.ganglia.addressing-mode=multicast # UDP addressing mode, either unicast or multicast.
1433
1433
management.metrics.export.ganglia.duration-units=milliseconds # Base time unit used to report durations.
1434
1434
management.metrics.export.ganglia.enabled=true # Whether exporting of metrics to Ganglia is enabled.
0 commit comments