This section contains the typical application tasks you can perform with Oracle CEP Visualizer.
Visualizer is fairly self-explanatory and intuitive, so not all tasks are discussed here, but rather, just those that are most common and typical and from which other similar tasks can be deduced.
This section describes how to:
You can use Visualizer to monitor a stage or a path in the event processing network (EPN) of an application. Oracle CEP defines the following metrics that you can monitor for each stage or path:
The Visualizer monitoring feature is itself implement as an Oracle CEP application; this means that the diagnostic information can be viewed as an event, and the application uses EPL rules to process these diagnostic events. This means that you can update these EPL rules to customize the behavior of the monitoring feature, in particular to detect patterns and trends in the diagnostic events.
To use Visualizer to monitor a stage or path of the EPN, follow these steps:
See Create a Diagnostic Profile.
Max Latency Metric
—Specifies that you want to monitor the maximum amount of time it takes for events to flow through a stage or a subset of the event processing network (path).Average Latency Metric
—Specifies that you want to monitor the average amount of time it takes for events to flow through a stage or a subset of the event processing network (path).Threshold
—Specifies threshold for the average latency monitoring. This value is enabled only if you specify Average Latency Metric.Time Unit
—Specifies the time units for the threshhold and average interval fields.Average Interval
—Specifies the time interval for which you want to gather diagnostic data.Update the Path Information section as follows:
Average Throughput Metric
—Specifies that you want to monitor the average throughput of events flowing through the stage.Time Unit
—Specifies the time units for the average interval fields.Throughput Interval
—Specifies the time interval for which you want to gather metrics.Average Interval
—Specifies the interval for gathering the average throughput.No documentation available for Beta.
The event repository feature of Oracle CEP allows you to record events flowing through an event processing network (EPN) and store them so you can later play back the events. The event repository is configured per stage, such as a processor or stream.
You cannot dynamically create the record and playback configuration in Visualizer. Instead, you must manually add the initial parameters to the configuration file of the stage you want to record using an IDE or your favorite XML editor. After that you can use Visualizer to modify the record and playback operations.
You can add only one entry per stage for the record and playback operations.
<record-parameters>
child element of the stage (<processor>
, <stream>
, or <adapter>
) to configure a record operation and a <playback-parameters>
child element to configure a playback operation. The following example shows how to add record and playback to the helloworldProcessor
of the HelloWorld sample application; relevant sections shown in bold:<processor>
<name>helloworldProcessor</name>
<record-parameters>
<dataset-name>test1data</dataset-name>
<event-type-list>
<event-type>HelloWorldEvent</event-type>
</event-type-list>
<provider-name>test-rdbms-provider</provider-name>
<time-range>
<start>2008-03-03T17:32:02.000-05:00</start>
<end>2008-03-03T17:33:02.000-05:00</end>
</time-range>
<batch-size>1</batch-size>
<batch-time-out>10</batch-time-out>
</record-parameters>
<playback-parameters>
<dataset-name>test1data</dataset-name>
<event-type-list>
<event-type>HelloWorldEvent</event-type>
</event-type-list>
<provider-name>test-rdbms-provider</provider-name>
<time-range>
<start>2008-03-03T17:32:02.000-05:00</start>
<end>2008-03-03T17:33:02.000-05:00</end>
</time-range>
<playback-speed>1.0</playback-speed>
<loopback>false</loopback>
</playback-parameters>
<rules>
<rule id="helloworldRule"> select * from HelloWorldEvent retain 1 event </rule>
</rules>
<bindings/>
</processor>
Note: | You cannot change an existing rule using Visualizer. |
Note: | Not all stage’s configuration can be updated by Visualizer. A Modify button will appear if the configuration can be updated. |
Deploying an application refers to uploading to the server the JAR file that contains the application and then installing it, which makes it available to clients.
Your application is deployed and ready for clients to use.
When you uninstall an application, you completely remove it from the server so that clients can no longer access it.