@ -461,10 +461,10 @@ The following example `scrape_config` adds to `prometheus.yml`:
[source,yaml,indent=0,subs="verbatim"]
[source,yaml,indent=0,subs="verbatim"]
----
----
scrape_configs:
scrape_configs:
- job_name: 'spring'
- job_name: "spring"
metrics_path: '/actuator/prometheus'
metrics_path: "/actuator/prometheus"
static_configs:
static_configs:
- targets: ['HOST:PORT']
- targets: ["HOST:PORT"]
----
----
For ephemeral or batch jobs that may not exist long enough to be scraped, you can use https://github.com/prometheus/pushgateway[Prometheus Pushgateway] support to expose the metrics to Prometheus.
For ephemeral or batch jobs that may not exist long enough to be scraped, you can use https://github.com/prometheus/pushgateway[Prometheus Pushgateway] support to expose the metrics to Prometheus.
@ -308,8 +308,8 @@ You can further tune how `Sniffer` is configured, as shown in the following exam
elasticsearch:
elasticsearch:
restclient:
restclient:
sniffer:
sniffer:
interval: 10m
interval: "10m"
delay-after-failure: 30s
delay-after-failure: "30s"
----
----
@ -327,7 +327,7 @@ In addition to the properties described previously, the `spring.elasticsearch.we
spring:
spring:
elasticsearch:
elasticsearch:
webclient:
webclient:
max-in-memory-size: 1MB
max-in-memory-size: "1MB"
----
----
If the `spring.elasticsearch.*` and `spring.elasticsearch.webclient.*` configuration properties are not enough and you'd like to fully control the client configuration, you can register a custom `ClientConfiguration` bean.
If the `spring.elasticsearch.*` and `spring.elasticsearch.webclient.*` configuration properties are not enough and you'd like to fully control the client configuration, you can register a custom `ClientConfiguration` bean.
@ -604,8 +604,8 @@ In yaml files, you can use the yaml list notation. In properties files, you must