spring-cloud-consul
spring-cloud-consul copied to clipboard
Make Health Check Name Configurable
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.
PRs welcome