Attach your first alert
Once the WhaTap agent is installed, the next thing to do is make sure you know the moment something goes wrong. This guide walks you through setting up your first alert and verifying delivery in 5 minutes.
This guide is for project administrators who have just finished installing the agent.
- Automatic Slack/Email notifications when a metric crosses its threshold
- A system where the team catches incidents through alerts, not by refreshing a dashboard
Prerequisites
- The WhaTap agent is installed and connected to the project in Active state
- Project admin permission
- A Slack channel webhook URL or a recipient email address
Step 1. Register an alert channel
First, register where WhaTap will send alerts (Slack, Email, etc.).
- From the left menu, select Alert > Event reception settings.
- Click the Add button, then select Slack or Email.
- Enter the recipient:
- Slack: the channel's Incoming Webhook URL
- Email: the recipient email address
- Click the Save button.
Slack Webhook URLs are issued per channel from the Slack app's Incoming Webhooks feature. Create a dedicated team channel as an inbox to reduce noise.
Step 2. Create your first event rule
Start from the most basic: an alert when CPU usage crosses a threshold.
- Select Alert > Event settings.
- Click the Add metric event button.
- Enter the following:
- Event name field:
CPU usage threshold exceeded - Target agent dropdown: all agents in the project or a specific agent
- Metric dropdown:
cpu_usage(orsystem_cpu) - Condition field:
value exceeds 80 - Duration field:
1 minute(to exclude short spikes) - Alert level dropdown:
Warning
- Event name field:
- In the Alert channel field, select the Slack/Email you registered in Step 1.
- Click the Save button.
Step 3. Verify delivery with a test message
Confirm the rule actually works by sending a test.
- Click the Send test button on the event rule you just created.
- Check that the test message from WhaTap arrives in the registered Slack channel or email.
- Recheck the Slack Webhook URL for typos
- Check corporate email filtering / spam folder
- Verify the receiving channel is enabled
Verify
- A WhaTap test message arrived in the registered channel
- The
CPU usage threshold exceededrule is shown as Enabled in Alert > Event settings - The test delivery appears in Event history
Congratulations — your first alert is connected. From now on, the team channel will receive an automatic notification the moment CPU crosses 80%.
Next steps
- Manage multiple metrics together → Composite metrics
- Heap memory threshold alerts in depth → Heap memory metrics alert setup
- Auto-detect anomaly patterns with AI → use Anomaly Detection
- Reduce alert noise → Set up team-based alert routing
- Analyze alert history → check time-based patterns in Event history