Alert on specific error message occurrences
Get notified when the count of specific error messages exceeds a set threshold, allowing for targeted troubleshooting of recurring issues.
How it works
Read-onlyOperations and infrastructure
The agent writes an APL query to count error messages by type over a specified time interval (e.g., 5 minutes). It then configures a threshold monitor to trigger when the count for any individual message type exceeds a defined value (e.g., 10). The agent can also enable 'Notify by group' to alert separately for each distinct error message.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for Alert on specific error message occurrences
Set up a monitor that alerts when the count of error messages in sample_dataset exceeds 10 per 5-minute interval, notifying separately for each message type.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
To receive a notification when the number of error message of a given type exceeds a threshold, create a threshold monitor with an APL query that counts the different error messages.Monitor examples | Axiom Docs