Event Types
The event types are a controlled set, defined by Supervisor itself.There is no way to add an event type without changingsupervisord itself. This is typically not a problem,though, because metadata is attached to events that can be used byevent listeners as additional filter criterion, in conjunction withits type.
Event types that may be subscribed to by event listeners arepredefined by supervisor and fall into several major categories,including “process state change”, “process communication”, and“supervisor state change” events. Below are tables describingthese event types.
In the below list, we indicate that some event types have a “body”which is a a token set. A token set consists of a set of charaterswith space-separated tokens. Each token represents a key-value pair.The key and value are separated by a colon. For example:
- processname:cat groupname:cat from_state:STOPPED
Token sets do not have a linefeed or carriage return character attheir end.