Overview
Monitors continuously watch your payment processing health in real time, tracking approval rates, latency, and error rates across providers. When metrics breach configured thresholds, monitors trigger alerts and can automatically redirect traffic to fallback providers to minimize payment disruption. Navigate to Dashboard > Routing > Monitors to create and manage monitors.What Monitors Track
| Metric | Description | Default Window |
|---|---|---|
| Approval Rate | Percentage of successful transactions over a rolling window | 15 minutes |
| Response Time | Average provider response latency in milliseconds | 5 minutes |
| Error Rate | Percentage of transactions returning provider or network errors | 10 minutes |
| Timeout Rate | Percentage of transactions exceeding the configured timeout threshold | 5 minutes |
Monitors require a minimum transaction volume within the evaluation window to produce statistically meaningful results. Yuno recommends at least 50 transactions per window for reliable anomaly detection.
Monitor Types
| Type | Scope | Use Case |
|---|---|---|
| Per-Provider | Single provider connection | Detect degradation on a specific processor |
| Per-Country | All transactions for a country | Identify regional issues (e.g., bank outages) |
| Per-Payment-Method | Specific payment method | Catch method-specific failures (e.g., PIX downtime) |
| Composite | Provider + Country + Method | Granular monitoring for critical routes |
Creating a Monitor
Select monitor scope
Choose the monitor type and the specific resources to watch:
- Provider: Select one or more provider connections
- Country: Select target countries (or all)
- Payment Method: Select payment methods (or all)
Configure thresholds
Define the conditions that trigger an alert. Each threshold specifies a metric, operator, and value:
You can combine multiple thresholds with AND/OR logic:
| Threshold | Example | Meaning |
|---|---|---|
| Approval rate below | < 70% | Alert when approval rate drops below 70% |
| Response time above | > 5000ms | Alert when average latency exceeds 5 seconds |
| Error rate above | > 15% | Alert when error rate exceeds 15% |
Configure automatic actions (optional)
Enable traffic redirection to automatically reroute payments when the monitor triggers. See Automatic Traffic Redirection.
Alert Channels
Configure one or more channels for each monitor under the Alerts tab:| Channel | Setup | Details |
|---|---|---|
| Enter recipient email addresses | Supports multiple recipients; sends once per trigger event | |
| Slack | Connect via Settings > Integrations > Slack | Sends to a selected Slack channel with metric details |
| Opsgenie | Provide Opsgenie API key and team | Creates an Opsgenie alert with severity mapped to monitor threshold |
| Webhook | Enter a webhook URL | Sends a JSON payload with monitor event details |
Webhook Payload Example
Alert Cooldown
To avoid alert fatigue, monitors enforce a cooldown period after firing. During cooldown, the monitor continues evaluating but does not send duplicate alerts.| Setting | Default | Range |
|---|---|---|
| Alert cooldown | 15 minutes | 5 to 60 minutes |
Automatic Traffic Redirection
When a monitor detects anomalies, it can automatically redirect payment traffic from the degraded provider to a fallback provider. This reduces failed transactions without manual intervention.Select fallback providers
Choose one or more fallback providers from your active connections. Fallback providers are used in the order specified.
Route Recovery
When the degraded provider recovers, Yuno can automatically restore the original routing configuration.| Recovery Setting | Description |
|---|---|
| Automatic recovery | Restore original routing when metrics return above thresholds for a sustained period |
| Manual recovery | Require a team member to manually re-enable the original route in the Dashboard |
| Recovery evaluation window | Duration metrics must stay healthy before restoring (default: 30 minutes) |
Automatic recovery evaluates the same thresholds that triggered the redirect. The provider must maintain healthy metrics for the full recovery window before traffic is restored.
Monitors Within Routing Rules
You can attach a monitor directly to a routing rule to tie monitoring and failover to a specific route:- Navigate to Dashboard > Routing Rules
- Edit an existing rule or create a new one
- In the rule configuration, expand the Monitor section
- Configure thresholds and fallback behavior specific to that rule
Example Configuration
A complete monitor setup for a critical Brazil card processing route:Best Practices
- Set thresholds based on baseline data. Review historical approval rates and latency in Dashboard > Insights before defining thresholds. Setting thresholds too tight causes false positives; too loose delays detection.
- Use composite monitors for critical routes. Combine provider, country, and payment method scopes for high-value routes to avoid masking issues behind aggregate metrics.
- Configure multiple alert channels. Use Opsgenie or PagerDuty for critical monitors and Slack for informational ones.
- Prefer automatic recovery with a conservative window. A 30-minute recovery window prevents flapping between providers due to transient issues.
- Test monitors in sandbox first. Simulate provider failures in sandbox to validate that alerts fire and redirection works before deploying to production.
- Review monitor performance weekly. Check for false positives and adjust thresholds as your transaction patterns evolve.