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
103 stars 35 forks source link

Added health endpoint, in order to make it work for latest prometheus versions #31

Closed daniel-alonso-sanchez closed 5 months ago

daniel-alonso-sanchez commented 5 months ago

Hi buddies. I was in the need to use the eureka-consul-adapter in one of my apps. Unfortunately, the prometheus version that was deployed a while ago was replaced with a newer one, making the adapter useless.

I have added a new endpoint, with the service that is currently being called from the consul.go class in prometheus.

Feel free to merge it, suggest me any changes or whatever you think it might be neccesary.

Than you!

tine2k commented 5 months ago

Hi Daniel, thank you for your contribution. Unfortunately, this project is no longer maintained as all people who were ever working on this project have left the company 😩 It's probably best to create a fork and build/deploy on your own infrastructure.

daniel-alonso-sanchez commented 5 months ago

Hey! No worries! Thank you so much for the update! Then, feel free to reject the pr. May I suggest marking the repo as archived or something like that. I mean: announcing that it has been abandoned or something like that...

Thanks a ton!