Update server_info/state w/ reporting mode details

- Add reporting mode specific fields
- Mark peers field as omitted from reporting mode
- Fix "external" gRPC link in server modes page
- Update "Configure gRPC" tutorial to better reflect current status of
  gRPC in rippled

This commit fixes #1446.
This commit is contained in:
mDuo13
2022-11-16 15:38:42 -08:00
parent 0ab974f0e9
commit 3ed5d90519
6 changed files with 133 additions and 101 deletions

View File

@@ -0,0 +1,13 @@
### ETL Source Object
<!-- This nested object definition is identical across server_state and server_info -->
On a reporting mode server, each member of the `etl_sources` field is an object with the following fields:
| Field | Type | Description |
|-----------------------------|---------|-------------|
| `connected` | Boolean | If `true`, the reporting mode server is connected to this p2p mode server. If `false`, that may indicate a network outage or that the p2p mode server is down. |
| `grpc_port` | String | The port number on the p2p mode server where this reporting mode server is configured to connect and retrieve ledger data via gRPC. |
| `ip` | String | The IP address (IPv4 or IPv6) of the p2p mode server. |
| `last_message_arrival_time` | String | An ISO 8601 timestamp indicating the most recent time the reporting mode server received a message from this p2p server. |
| `validated_ledgers_range` | String | The range of validated ledger versions this p2p mode server reports that it has available, in the same format as `complete_ledgers`. |
| `websocket_port` | String | The port number on the p2p server where this reporting mode server is configured to forward WebSocket requests that cannot be served directly from reporting mode. |