Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
markheger committed Apr 9, 2019
1 parent baaea26 commit 2a462ca
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,20 @@ This sample SPL application demonstrates the use of JobStatusMonitor operator to

### Use

#### Launch with python script

````
cd ..
python3 launch_job_status_monitor_sample.py
````

#### Launch with Streams Console

Build **Monitor** and **SampleJob** applications:

`make`

### Run Monitor application
##### Run Monitor application

Launch the **Monitor** application first.

Expand All @@ -17,12 +26,10 @@ Update `user` and `password` submission parameters for your Streams environment.
Alternative you can specify the `instanceId`, `connectionURL`, `user`, `password`, and `filterDocument` properties in an [application configuration](https://www.ibm.com/support/knowledgecenter/en/SSCRJU_4.2.0/com.ibm.streams.admin.doc/doc/creating-secure-app-configs.html).
Advantage of the use of an application configuration is, that you can update the `filterDocument` at runtime.

### Run sample application to be monitored
##### Run sample application to be monitored

Afterwards launch the **SampleJob** application to be monitored in distributed mode.



### Result

Verify the notification events in the console output.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,20 @@ This sample SPL application demonstrates the use of MetricsSource operator.

### Use

#### Launch with python script

````
cd ..
python3 launch_metrics_monitor_sample.py
````

#### Launch with Streams Console

Build **Monitor** and **SampleJob** applications:

`make`

### Run Monitor application
###### Run Monitor application

Launch the **Monitor** application first.

Expand All @@ -17,7 +26,7 @@ Update `user` and `password` submission parameters for your Streams environment.
Alternative you can specify the `instanceId`, `connectionURL`, `user`, `password`, and `filterDocument` properties in an [application configuration](https://www.ibm.com/support/knowledgecenter/en/SSCRJU_4.2.0/com.ibm.streams.admin.doc/doc/creating-secure-app-configs.html).
Advantage of the use of an application configuration is, that you can update the `filterDocument` at runtime.

### Run sample application to be monitored
##### Run sample application to be monitored

Afterwards launch the **SampleJob** application to be monitored in distributed mode.

Expand Down

0 comments on commit 2a462ca

Please sign in to comment.