This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
Coordinate
Chris Aubuchon edited this page Feb 5, 2016
·
2 revisions
Subcommand | Synopsis |
---|---|
datacenters | Queries for WAN coordinates of Consul servers |
nodes | Queries for LAN coordinates of Consul servers |
Queries for WAN coordinates of Consul servers
Usage: consul-cli coordinate datacenters [options]
$ consul-cli coordinate datacenters
[
{
"Datacenter": "mi",
"Coordinates": [
{
"Node": "chris-control-01",
"Coord": {
"Vec": [
0,
0,
0,
0,
0,
0,
0,
0
],
"Error": 1.5,
"Adjustment": 0,
"Height": 1e-05
}
}
]
}
]
Queries for LAN coordinates of Consul servers
Usage: consul-cli coordinate [options] nodes
$ consul-cli coordinate nodes
[
{
"Node": "chris-control-01",
"Coord": {
"Vec": [
-0.0003549886539566775,
-0.00042239351073984567,
0.00010262360136981942,
-0.0007240747254471578,
0.00046913347851390395,
-0.00018551274174647482,
-0.0013684162143394012,
0.004328730267756389
],
"Error": 0.34830905212026386,
"Adjustment": -0.0009088180299761647,
"Height": 0.0007229180326183593
}
},
...
]