Skip to main content
Paid feature. Alerts are available on Growth, Team, and Enterprise plans in the AgentMark Dashboard. They are not available on the Hobby (free) tier.
AgentMark alerts monitor key metrics and notify you when a threshold is crossed, so you hear about cost, latency, and error changes as they happen.
Webhook endpoints are configured by developers. See Webhook documentation for setup instructions.
Alerts list showing alert name, metric, threshold, status, and last-triggered columns The Alerts page lists each configured alert with its name, monitored metric, threshold, current status (triggered or resolved), and when it last fired.

Overview

Alerts help you:
  • Monitor important metrics like cost, latency, and error rates
  • Set thresholds for acceptable values
  • Define time windows for measurement
  • Receive notifications via Slack or webhooks
  • Track alert history to analyze patterns

Available metrics

MetricDescription
CostTotal cost of LLM calls within the time window
LatencyResponse times for AI requests
Error ratePercentage of failed requests
Evaluation scoresQuality of AI responses from scoring pipelines

Creating alerts

To create a new alert:
  1. Navigate to your app’s Alerts tab in the Dashboard
  2. Click Create Alert
  3. Configure the alert:
    • Name: descriptive name for the alert
    • Metric: what to monitor. Thresholds are validated per metric: error rate 0-100 (percent), latency a positive integer in milliseconds, cost greater than 0 (dollars), evaluation score between 0 and 1
    • Threshold: value that triggers the alert
    • Time window: period over which the metric is measured, between 5 and 100 minutes
    • Evaluation name (for score alerts): specific score to monitor
    • Aggregation type (for score alerts): average or individual scores
    • Threshold direction (for score alerts): alert above or below threshold
A new alert binds to the environment selected in the Dashboard header; alerts without an environment apply app-wide and appear under every environment.

Notification options

Slack integration

Receive alerts directly in Slack:
  1. Connect Slack and pick the notification channel in Settings → Integrations. The channel binding is per environment, so each environment can post to its own channel
  2. Enable the Slack Notifications toggle when creating an alert
If you enable the toggle before Slack is connected, the dialog shows a Connect Slack button that takes you to Settings → Integrations.

Webhooks

For custom integrations:
  1. Configure your webhook endpoint in Settings → Integrations (per environment)
  2. Enable the Custom Webhook toggle when creating an alert
  3. Receive alerts as HTTP POST requests with alert details
For webhook payload format and implementation details, see the Webhook documentation.

Alerts API

You can also create and manage alerts programmatically through /v1/alerts (CRUD, trigger history, and Slack channel listing). See the API reference.

Alert status

Alerts have two states:
  • Triggered: the monitored metric has crossed the threshold.
  • Resolved: the metric has returned to the acceptable side of the threshold.

Alert history

View alert history to analyze patterns:
  1. Navigate to the Alerts tab
  2. Click an alert to see when it triggered, the value that triggered it, when it resolved, and how frequently it fires

Use cases

  • Cost management: get notified when daily spending exceeds budget
  • Performance monitoring: alert when latency degrades beyond acceptable levels
  • Quality assurance: track when evaluation scores drop below quality thresholds
  • Error detection: catch error rate spikes before they impact users

Best practices

  • Set realistic thresholds based on your app’s normal behavior, not arbitrary values.
  • Choose appropriate windows to match your usage patterns and avoid alert fatigue.
  • Configure multiple channels. Use Slack plus a webhook for critical alerts.
  • Review regularly and adjust thresholds as your usage patterns evolve.
  • Start conservative. Begin with higher thresholds and tighten them once you understand your baseline.

Next steps

Traces and logs

Monitor prompt execution

Sessions

Track user interactions

Dashboards

View overall performance

Evaluations

Set up evaluation alerts

Have questions?

Reach out any time: