One way is to use an external process that invokes appropriate REST API
calls and checks
results. An sample Python script to do this for the application as a whole
is at:
https://github.com/DataTorrent/examples/blob/master/tools/monitor.py

The REST API is documented at: http://docs.datatorrent.com/dtgateway_api/
The call "*GET /ws/v2/applications/{appid}/physicalPlan/operators"* gives
you a list of operators
along with a *status* field; there is also a wealth of additional fields
for each operator if you
want to do more sophisticated monitoring.

Ram

On Thu, Nov 24, 2016 at 9:53 PM, chiranjeevi vasupilli <[email protected]>
wrote:

> Hi Team,
>
> I would like to monitor my running application so as to find any
> containers getting killed while job is running.
>
> can you please suggest the best approach and reference docs.
>
> Thanks
> Chiranjeevi V
>

Reply via email to