Aller au contenu

ServiceTimingMessage

Model of Service Timing 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.service_heartbeat.ServiceTimingMessage"
Yes
assemblyline.odm.messages.service_heartbeat.ServiceTimingMessage
msg_type Enum Type of message
Supported values are:
"ServiceTimingHeartbeat"
Yes
ServiceTimingHeartbeat
sender Keyword Sender of message
Yes
None

Heartbeat

Hearbeat Model

Field Type Description Required Default
instances Integer Number of instances
Yes
None
metrics Metrics Metrics
Yes
None
queue Integer Queue size
Yes
None
service_name Keyword Name of service
Yes
None

Metrics

Timing Metrics

Field Type Description Required Default
execution PerformanceTimer Excution time
Yes
None
execution_count Integer Number of executes
Yes
None
idle PerformanceTimer Idle time
Yes
None
idle_count Integer Number of idles
Yes
None