spring-cloud-consul icon indicating copy to clipboard operation
spring-cloud-consul copied to clipboard

Make Health Check Name Configurable

Open jdeex opened this issue 4 years ago • 1 comments

New configuration option: spring.cloud.consul.discovery.health-check-name

Checks are being named as: Service 'your-project-name' check and this cannot be set by configuration. In the discovery configuration options you may set health-check path, url, ... why not adding the name? This can be useful when using the Consul REST API to query services' status or when you want to distinguish your own created Check from others. Also, the the current name could be tricky due to the quotes in it.

jdeex avatar Apr 16 '21 18:04 jdeex

PRs welcome

spencergibb avatar Jun 03 '21 17:06 spencergibb