This section outlines the procedure for setting up the notifications about database values exceeding preset limits. Such notifications can be received in one of the following ways—by email or via a Slack channel. Additionally, you can configure alerts in Grafana.
Visualizing the outcomes of the analytics as alerts
Configuring email notifications
To configure email notifications, proceed as follows:
- Specify the credentials (email address, host) of the SMTP server
- Change the alertFrom value in the index.js file to a required limit value
Once you have completed this configuration, you will start getting emails, whenever some of the values exceed a specified limit:

An alert displayed in a mail client