curl -X PUT -d '{"id": "redis-xxx","name": "redis-xxx","address": "127.0.0.1","port": 9121,"tags": ["test"],"checks": [{"http": "http://127.0.0.1:9121/","interval": "5s"}]}' http://127.0.0.1:8500/v1/agent/service/register
curl -X PUT -d '{"id": "exporter","name": "exporter","address": "192.168.2.133","port": 31247,"tags": ["test"],"checks": [{"http": "http://192.168.2.133:31247/","interval": "5s"}]}' http://119.3.242.247:32011/v1/agent/service/register
删除
curl -X PUT http://119.3.242.247:32011/v1/agent/service/deregister/redis-xxx
curl -X PUT http://119.3.242.247:32011/v1/agent/service/deregister/exporter