Integrating this into prod now, running into an issue where registering services kind of sucks or is really jank. I understand that for some services they can use a Consul lib at some point to register. But, for example, things like Statsite, what I want to do is add the registration as part of the init script.
Right now, I have to use curl which works but is jank. I'd love to see something like this:
$ consul service-register service.json
...
$ cat service.json | consul service-register -
And so on.