Skip to content

Local Tutorial Add an Alert

Dinesh Chandnani edited this page Apr 15, 2019 · 2 revisions

Often, you want to be alerted based on certain conditions being met in the streaming data. Data Accelerator makes it very easy to do so, without having to write any code. In this tutorial, you'll learn to:

  • Create a an alert and an aggregated alert without writing code

Creating an alert

  • Open your Flow

  • Go to Rules tab, and click Add a "Tag Rule".
    Add

  • Set a Description for the rule and a Tag to describe the rule

  • The target table is DataXProcessedInput, which is the default table that DataX creates with the raw data. (Note, once you create new tables in the Query tab, explained in subsequent tutorial, the new tables will also be available to create rules and alerts against.) Add

  • In conditions, select the column of data to monitor and set the condition to measure against. i.e. select 'temperature' in the column, select '>' and 60. This would trigger the rule when the temperature value is above 60. Note, you can use the UI to add more conditions, and even group conditions. For this tutorial, we will have only one condition.

  • To create an alert on this condition, set "Do you want to be alerted" to 'Yes'.

  • You can select Metrics in the output to view the alerts on the Metrics dashboard.
    Add

  • Click Deploy to have the changes take effect. That's it! You have now created a pipeline that will process data and alert when the alert conditions are met!

  • You can view the alerts you have set up by going to the Metrics tab. Alerts will be displayed in a table on the metrics page. Add

You now have update your pipeline to create alerts.

Other Links

Data Accelerator

Install

Docs

Clone this wiki locally