1. An event-based system configured for self-monitoring, comprising: processing resources including at least one processor and a memory; and a complex event processing (CEP) engine configured to cooperate with the processing resources to consume events published to an event bus and produce events in accordance with at least one continuous query; wherein the CEP engine comprises a first continuous query configured to produce events of a first event type, publish the produced events of the first event type to the event bus, and to consume the events of the first event type published to the event bus by the first continuous query; and wherein the CEP engine is configured to detect performance issues based on the first continuous query.
19. The event-based system of claim 1 , wherein the first continuous query is configured to calculate a sequence number and include the calculated sequence number in the produced events of the first event type, such that each new produced event of the first event type includes a subsequent sequence number; and wherein the CEP engine further comprises a second continuous query configured to consume only events of the first event type published to the event bus by the first continuous query and produce events of a second event type indicating a performance issue when, based on the sequence numbers included in the consumed events of the first event type, the received events of the first event type are received out of sequence.