twinformatics / eureka-consul-adapter

This project contains a Spring Boot Starter that registers HTTP endpoints on a Spring Cloud Eureka server to support Prometheus's service discovery mechanism for Consul (<consul_sd_config>)
MIT License
102 stars 35 forks source link

spring.mvc.async.request-timeout time out should be more than 120s #30

Open rmie opened 3 years ago

rmie commented 3 years ago

Not sure why and since when, but latest prometheus is using "...&wait=120000ms" instead of 30000ms. The recommended setting for spring.mvc.async.request-timeout is therefor too low.

e.g: http://myhost:8761/v1/health/service/myservice?index=1607944730158&stale=&wait=120000ms"