Answer the question
In order to leave comments, you need to log in
Why are some fields not visible when registering a service in Consul?
There is a grafana.json file with a description of the service
{
"Name": "Grafana",
"Address": "10.233.87.165",
"Port": 5325
}
curl -XPUT -d @grafana.json 127.0.0.1:8500/v1/agent/service/register
[
{
"ID": "13d81c27-1d2a-a14e-5540-263859a1ba7f",
"Node": "dev-tools-consul-apatsev-4",
"Address": "10.233.47.168",
"Datacenter": "dc1",
"TaggedAddresses": {
"lan": "10.233.47.168",
"wan": "10.233.47.168"
},
"NodeMeta": {
"consul-network-segment": ""
},
"ServiceKind": "",
"ServiceID": "Grafana",
"ServiceName": "Grafana",
"ServiceTags": [],
"ServiceAddress": "10.233.87.165",
"ServiceWeights": {
"Passing": 1,
"Warning": 1
},
"ServiceMeta": {},
"ServicePort": 5325,
"ServiceEnableTagOverride": false,
"ServiceProxyDestination": "",
"ServiceProxy": {},
"ServiceConnect": {},
"CreateIndex": 1098,
"ModifyIndex": 41555
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question