The SatDbState data record reports the state of the connection of the backend to the database server. The state may be queried by a GET /api/v1/dbstate API call.
Data Model
| Key | Type | Value |
|---|---|---|
| connected | Boolean | true if the backend is connected to a DB server |
| primary | Boolean | true if the backend is connected to the primary DB server |
| serverAddress | String | the IP address of the DB server the backend is actually connected to |