背景 I have a forever-running scrape-script that I monitor with Newrelic.
目標 I want to get an email when the script is not reporting to Newrelic.
我該怎麼辦呢?
我只是使用NewRelic錯誤捕獲爲我的coldbox應用程序。從OnException方法,我只是發送錯誤結構來記錄錯誤。 我在onException的方法 public function onException(event,rc,prc){
NewRelic.logError(prc.exception.getExceptionStruct());
}
的LOGERROR()方法位於N
運行我試圖讓新的遺蹟到我的DNN內運行它運行在Azure中的Web應用程序7安裝。 我從Azure的門戶網站創建NewRelic的帳戶,然後我跟着the directions here 下面的應用程序設置是在我的web應用程序的配置選項卡創建: NEWRELIC_LICENSEKEY : ****I used the one from my account*-*****
NEWRELIC_HOM