An OTP application for auto-discovering services with Consul