registrator icon indicating copy to clipboard operation
registrator copied to clipboard

Adds registrator managed TTL and supports multiple checks in the consul backend

Open pierredavidbelanger opened this issue 8 years ago • 1 comments

I know I am not the first to submit a PR for this.

I submit it anyways in case it can be useful.

Also, the reason I made this is first because I needed the TTL feature, then to learn a little about go (indeed those are my first lines of go code).

Do not hesitate to make me change things.

pierredavidbelanger avatar May 14 '17 01:05 pierredavidbelanger

From what I can see, my past self just added a way to register multiple checks, one of each kind (so zero or one HTTP, zero or one TTL, etc..).

In retrospective I am not sure this was the right way to do this.

In fact, what I really needed from this PR was the managed TTL check.

Since then I have coded my own very limited Consul only clone of this tool that I use in production.

pierredavidbelanger avatar Oct 10 '17 12:10 pierredavidbelanger