message_protocol¶
HeartbeatPayload¶
Payload for heartbeat messages indicating system health status. Heartbeat messages are used to monitor the health and availability of system components. They include a status indicator and optional context information.
|
|||
type |
object |
||
properties |
|||
|
Payload Type |
||
type |
string |
||
default |
HeartbeatPayload |
||
const |
HeartbeatPayload |
||
|
Context |
||
Additional context for the heartbeat message. |
|||
default |
null |
||
oneOf |
type |
null |
|
|
The status of the heartbeat message |
||
HeartbeatStatus¶
Enumeration of possible heartbeat status values. Represents the health status of a system component, with higher values indicating more severe issues.
|
|
type |
integer |
enum |
0, 1, 2, 3 |
LogLevel¶
Enumeration of log levels for the logging system. Follows standard Python logging levels with integer values that allow for easy comparison and filtering.
|
|
type |
integer |
enum |
50, 40, 30, 20, 10, 0 |
LogPayload¶
Payload for log messages containing logging information. This payload carries log data including the message content, severity level, optional context, and application version.
|
|||
type |
object |
||
properties |
|||
|
Payload Type |
||
type |
string |
||
default |
LogPayload |
||
const |
LogPayload |
||
|
Message |
||
The message of the log |
|||
type |
string |
||
|
The level of the log message |
||
default |
10 |
||
|
Context |
||
Additional context for the log message |
|||
default |
null |
||
oneOf |
type |
null |
|
|
Application Version |
||
The version of the application |
|||
default |
null |
||
oneOf |
type |
string |
|
type |
null |
Message¶
MessageType¶
Enumeration of possible message types in the protocol.
|
|
type |
string |
enum |
request, reply, event |
RegisteredMessages¶
type |
object |
||
properties |
|||
|
|||
|
Protocol Version |
||
type |
string |
||
default |
0 |
||
const |
0 |
||
|
Timestamp |
||
The timestamp of the message |
|||
oneOf |
type |
string |
|
format |
date-time |
||
type |
null |
||
|
The payload of the message |
||
|
Process Id |
||
Process that created the message |
|||
oneOf |
type |
string |
|
type |
null |
||
|
Hostname |
||
Hostname that created the message |
|||
oneOf |
type |
string |
|
type |
null |
||
|
Rig Name |
||
Rig name that created the message |
|||
oneOf |
type |
string |
|
type |
null |
RegisteredPayload¶
oneOf |
|
_Message[Any]¶
type |
object |
||
properties |
|||
|
|||
|
Protocol Version |
||
type |
string |
||
default |
0 |
||
const |
0 |
||
|
Timestamp |
||
The timestamp of the message |
|||
oneOf |
type |
string |
|
format |
date-time |
||
type |
null |
||
|
Payload |
||
The payload of the message |
|||
|
Process Id |
||
Process that created the message |
|||
oneOf |
type |
string |
|
type |
null |
||
|
Hostname |
||
Hostname that created the message |
|||
oneOf |
type |
string |
|
type |
null |
||
|
Rig Name |
||
Rig name that created the message |
|||
oneOf |
type |
string |
|
type |
null |