Re: Question on System Alerts API

2016-12-08 Thread Sanjay Pujare
. If you want a fix to be provided, please contact DataTorrent support for the patch. Thanks Sanjay From: "Martin, Eric" Reply-To: Date: Thursday, December 8, 2016 at 7:16 AM To: "users@apex.apache.org" Subject: Re: Question on System Alerts API David,

Re: Question on System Alerts API

2016-12-08 Thread Martin, Eric
com.datatorrent.gateway.resources.ws.v2.WSResource: Caught exception in processing web service: java.io.IOException: Filesystem closed From: David Yan Reply-To: "users@apex.apache.org" Date: Wednesday, December 7, 2016 at 4:15 PM To: "users@apex.apache.org" Subject: Re: Quest

Re: Question on System Alerts API

2016-12-07 Thread David Yan
Hi Eric: Can you send us the log entries of dtgateway.log when the 500 error happens? Assuming the application id is applications.application_1480063135007_0543, the payload for setting an alert for when an application is not in RUNNING state would be something like: { "condition": "_topic['app

Question on System Alerts API

2016-12-07 Thread Martin, Eric
Hi All, I am looking to set system alerts based on different metrics of an application. The documentation on the website gives an api that can do this but I keep getting a 500 error when calling it, and I am fairly certain it is due to format of the payload that I am sending. Can someone provid