Alert Setup
Murnitur AI enables you to receive alerts whenever unexpected events occur, such as costs exceeding your expectations. Here’s how to set up and manage alerts to stay informed when things go wrong.
Pre-requisites
Before setting up alerts, ensure you have:
Set-Up
To set up your alerts, follow these steps:
-
Define Who Should Be Alerted and How:
- Specify the recipients of the alerts.
- Configure your Slack notifications.
-
Define What They Should Be Alerted On:
- Identify the specific conditions or thresholds that will trigger an alert (e.g., cost exceeding a certain amount, unusual model behavior).
Your alerting settings can be found and configured under your Project Settings page. This centralized location allows you to manage and adjust your alerts as needed, ensuring you stay informed about the performance and costs of your LLM applications.
Email Alerts
If you want to receive alerts via email, go to the Email Recipients page in the settings page. Add the email addresses of the recipients in the provided textbox to ensure they receive the necessary notifications.
Note: If no recipients are specified, alerts will be sent to the project owner’s email address by default.
Slack Alerts
To receive alerts via Slack, configure your Slack settings under the Slack section in the settings. Follow the following instructions to setup:
- Initialization
- Allow Connection
- Join Channel
Configure Alerts
-
Navigate to Configure Alerts
- In the Settings page, click on Configure Alerts in the sidebar under the Notifications section.
-
Create a New Alert Configuration
- Click on the Add new configuration button to start setting up a new alert.
-
Define Alert Parameters
- Metric and Threshold:
- Select the metric you want to monitor from the dropdown (e.g.,
Costs ($)
). - Define the threshold value that will trigger the alert.
- Choose the comparison operation (e.g.,
Greater than or Equal to
).
- Select the metric you want to monitor from the dropdown (e.g.,
- Aggregation and Time Frame:
- Choose how to aggregate the metric data (e.g.,
Total value
). - Define the time frame for evaluation (e.g.,
10
in the last30 minutes
).
- Choose how to aggregate the metric data (e.g.,
- Metric and Threshold:
-
Save the Configuration
- After defining the parameters, click the Save button to create the alert.
-
Edit or Delete Configurations
- You can edit or delete existing alert configurations by clicking the corresponding buttons next to each configuration.
Example Configuration
Here’s an example of setting up an alert configuration to notify you if the total cost exceeds $10 in the last 30 minutes:
- Metric: Costs ($)
- Threshold: 10
- Comparison: Greater than or Equal to
- Aggregation: Total value
- Time Frame: 10 in the last 30 minutes
Triggering Alerts
Once your Alerts are configured, we will periodically check the specified metrics against the defined criteria at the specified time frame. When the criteria are met, we will send notifications to the configured channels to alert you of the detected issues or anomalies.