This is an introduction to alerts in Moesif.
You may set up alerts to monitor your APIs for issues impacting customers. These can be functional or performance issues, but you can also get alerted on things like customers having a drop in usage which could be a leading indicator of churn.
If you’re not already familiar with API Analytics, you should first What does API Monitoring Mean for API Product Managers
Instead of manually creating a bunch of rules, alerts and monitors can be simply added to any Time Series chart you are already viewing with the Create Alert button. Creating Alerts to read more on how to create alerts. Any of the filter criteria you used to create the chart will carry over into the alert rule.
Alert rules are scoped to the Moesif application, so you can have different rules for a Development vs a Production app.
There are two parts to alerts: Alert Channels and Alert Rules
A channel is the medium you would like the alert to be sent to. At the moment, Moesif supports Slack, SMS, Email, and PagerDuty as a channel. You can add many channels even for the same alert (i.e. you can send both a SMS and a Slack notification for the same alert).
Alert Rules specify the conditions to trigger an alert such as the threshold, the interval, and whether to create a break out alert (such as to monitor for each company or for each API endpoint).
I am not receiving any alerts
A: Moesif looks at both current and historical data when deciding to send alerts. If you deployed a new endpoint, there may not be enough historical data to make a decision. Give it a day running in production first. If you still are having issues, feel free to email us or adjust the detection sensitivity in dynamic alerts. Also, ensure you have an active channel under Alert Settings.
I am receiving too many alerts
A: If a particular endpoint like
GET /probe is noisy and generates many false alerts, you can add an explicit alert rule with 24 hrs as the maintenance window (i.e. always quiet) or increase the alert interval which will silence the route completely.