ScalerStatusMessage¶
Model of Scaler's Status Heartbeat Message
Field | Type | Description | Required | Default |
---|---|---|---|---|
msg | Heartbeat | Heartbeat message | Yes |
None |
msg_loader | Enum | Loader class for message Supported values are: "assemblyline.odm.messages.scaler_status_heartbeat.ScalerStatusMessage" |
Yes |
assemblyline.odm.messages.scaler_status_heartbeat.ScalerStatusMessage |
msg_type | Enum | Type of message Supported values are: "ScalerStatusHeartbeat" |
Yes |
ScalerStatusHeartbeat |
sender | Keyword | Sender of message | Yes |
None |
Heartbeat¶
Hearbeat Model
Field | Type | Description | Required | Default |
---|---|---|---|---|
service_name | Keyword | Name of service | Yes |
None |
metrics | Status | Status of service | Yes |
None |
Status¶
Service Status Model
Field | Type | Description | Required | Default |
---|---|---|---|---|
running | Integer | Number of instances running | Yes |
None |
target | Integer | Target scaling for service | Yes |
None |
minimum | Integer | Minimum number of instances | Yes |
None |
maximum | Integer | Maximum number of instances | Yes |
None |
dynamic_maximum | Integer | Dynamic maximum number of instances | Yes |
None |
queue | Integer | Service queue | Yes |
None |
pressure | Float | Service pressure | Yes |
None |
duty_cycle | Float | Duty Cycle | Yes |
None |