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 boot expose endpoints by using a different HTTP port #21

Closed huahouye closed 4 years ago

huahouye commented 4 years ago

When spring boot expose endpoints by using a different HTTP port --management.server.port, The __address__label should be relabeled.

tine2k commented 4 years ago

@huahouye thanks for this!