Adapt to latest change in Micrometer 1.1
This commit is contained in:
@@ -1422,7 +1422,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
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.
|
||||
management.metrics.export.elastic.connect-timeout=1s # Connection timeout for requests to this backend.
|
||||
management.metrics.export.elastic.enabled=true # Whether exporting of metrics to this backend is enabled.
|
||||
management.metrics.export.elastic.hosts=http://localhost:9200 # Hosts to export metrics to.
|
||||
management.metrics.export.elastic.host=http://localhost:9200 # Host to export metrics to.
|
||||
management.metrics.export.elastic.index=metrics # Index to export metrics to.
|
||||
management.metrics.export.elastic.index-date-format=yyyy-MM # Index date format used for rolling indices. Appended to the index name, preceded by a '-'.
|
||||
management.metrics.export.elastic.num-threads=2 # Number of threads to use with the metrics publishing scheduler.
|
||||
|
||||
@@ -1490,7 +1490,7 @@ using the following property:
|
||||
|
||||
[source,properties,indent=0]
|
||||
----
|
||||
management.metrics.export.elastic.hosts=http://elastic.example.com:8086
|
||||
management.metrics.export.elastic.host=http://elastic.example.com:8086
|
||||
----
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user