Send alerts to Slack
Connect Slack once, then choose the channels each environment's alerts go to. Get a daily digest and a message when an issue forms at High or above.
Connect Slack to Amiril and send one environment's alerts to a channel. The channel gets a daily digest and a message when an issue forms at High or above. It also gets a message when an agent is granted a tool that can change or delete data, or a tool server needs reconnecting. You need the admin role to connect Slack and set up alerts.
Connect Slack and add a channel
- Pick the environment in the web app's environment switcher. Alerts are set per environment.
- In Settings, open Alerts under Issues.
- Select Add to Slack. Slack asks you to let the Amiril app into your Slack workspace.
- Select Allow. Slack sends you back to the Alerts page with a dialog open.
- Pick the channel under Channel, then select Add destination in the dialog.
Amiril says "Alerts now go to #agent-alerts." with the name of your channel.
Slack is now connected for every environment. This channel gets only this environment's alerts. To add another channel, select Add destination on the Alerts page.
The Channel list shows every public channel. A private channel shows only once Amiril is in it. Type /invite @Amiril in that channel in Slack, then select Add destination again.
To disconnect Slack later, open Integrations under Workspace in Settings.
Send a test
Open the menu at the end of the channel's row and select Send a test. A test message arrives in the channel, and Amiril says "Test message sent to #agent-alerts."
Choose which alerts a channel gets
Each channel has a switch for each of the four alerts below. They start on, and a switch saves as soon as you flip it. The switches are per channel, so one channel can take the digest while another takes only new issues.
| Alert | When it posts |
|---|---|
| Daily digest | Every day at 08:00 UTC, when an open issue came back, grew or is rising |
| New issues | At once, when an issue forms at High or above |
| Tool grants | At once, when an agent is granted a tool that can change or delete data |
| Tool servers | At once, when a tool server stops working because its sign-in was refused and it needs reconnecting |
An issue came back if it returned after you resolved it, and grew if it returned after you ignored it. It is rising when its last 7 days had more runs than the 7 days before. The jump must be one that chance would give less than 5% of the time.
Rarity issues never send an alert, and the digest leaves them out. Your review budget already sets how many of those runs reach you, and the issues wait on the Issues page.
What a message says
A new issue message names the agent and the issue, with its severity, its runs and the environment. An Open issue button takes you to the issue's page:
payments has a new issue. Stated a phone number the user did not give.
Severity Critical
Runs 3
Environment production
[Open issue]The digest is a short list, most severe first. Each line has the issue's severity and title, the agent, why it is there and how many runs it had this week. The title links to the issue. An issue is listed once for each reason, so one that keeps rising is not listed again the next day. It is listed again if the reason goes away and later returns. A day with nothing new posts no digest.
Acknowledge or snooze an issue
To keep an open issue out of the digest, open its page and use the Alerts menu:
- Acknowledge keeps it out until the issue is resolved or ignored and later returns to Open.
- Snooze for a day, Snooze for 7 days or Snooze for 30 days keeps it out until then.
- Wake turns its alerts back on before a snooze ends.
The issue's page notes the choice, and its history records who made it.
Next steps
Triage issues
An issue groups the runs that share one problem, with a severity and a state. Read what the runs share, then resolve or ignore it.
Create a dashboard
Build a grid of widgets over your runs and share it with your workspace. You can also edit the dashboard Amiril builds for each agent it finds.
Last updated on