Skip to content

Commit

Permalink
backport of commit a785cbf
Browse files Browse the repository at this point in the history
  • Loading branch information
tauhid621 committed Dec 13, 2023
1 parent a1b8cad commit fb1b135
Showing 1 changed file with 51 additions and 3 deletions.
54 changes: 51 additions & 3 deletions website/content/api-docs/peering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,25 @@ $ curl --header "X-Consul-Token: b23b3cad-5ea1-4413-919e-c76884b9ad60" \
"PeerServerAddresses": [
"10.0.0.1:8300"
],
"StreamStatus": {
"ImportedServices": [
"db",
],
"ExportedServices": [
"backend",
"frontend",
"web"
],
"LastHeartbeat": "2023-12-13T06:31:28.227392Z",
"LastReceive": "2023-12-13T06:31:28.227392Z",
"LastSend": "2023-12-05T11:02:57.528676Z"
},
"CreateIndex": 89,
"ModifyIndex": 89
"ModifyIndex": 89,
"Remote": {
"Partition": "",
"Datacenter": "east"
}
}
```

Expand Down Expand Up @@ -293,8 +310,25 @@ $ curl --header "X-Consul-Token: 0137db51-5895-4c25-b6cd-d9ed992f4a52" \
"PeerServerAddresses": [
"10.0.0.1:8300"
],
"StreamStatus": {
"ImportedServices": [
"db",
],
"ExportedServices": [
"backend",
"frontend",
"web"
],
"LastHeartbeat": "2023-12-13T06:31:28.227392Z",
"LastReceive": "2023-12-13T06:31:28.227392Z",
"LastSend": "2023-12-05T11:02:57.528676Z"
},
"CreateIndex": 89,
"ModifyIndex": 89
"ModifyIndex": 89,
"Remote": {
"Partition": "",
"Datacenter": "east"
}
},
{
"ID": "1460ada9-26d2-f30d-3359-2968aa7dc47d",
Expand All @@ -304,8 +338,22 @@ $ curl --header "X-Consul-Token: 0137db51-5895-4c25-b6cd-d9ed992f4a52" \
"Meta": {
"env": "production"
},
"StreamStatus": {
"ImportedServices": null,
"ExportedServices": [
"backend",
"frontend",
],
"LastHeartbeat": "2023-12-13T06:31:28.227392Z",
"LastReceive": "2023-12-13T06:31:28.227392Z",
"LastSend": "2023-12-05T11:02:57.528676Z"
},
"CreateIndex": 109,
"ModifyIndex": 119
"ModifyIndex": 119,
"Remote": {
"Partition": "",
"Datacenter": "east"
}
}
]
```

0 comments on commit fb1b135

Please sign in to comment.