Scheduled

Monitor SLA compliance

Track service level objectives and alert when SLOs are at risk of being breached

Checks all defined SLI metrics against their corresponding SLO targets every 4 hours. Calculates error budget remaining and projects burn rate over the next 24 hours. Opens warning incident threads when an SLO has consumed more than 80% of its error budget, and critical incident threads when burn rate exceeds the threshold for a potential breach.

Install

Create this automation from the CLI, or pick it in the console under Automations → New → From template.

Terminal
polylane automation from-template monitor-sla-compliance

Trigger

The event that starts this automation.

Scheduled0 */4 * * *

Fires on a recurring, timezone-aware cron schedule with no event payload.

Compatible providers

4

Integrations this automation investigates and uses tools from. Connect them to unlock the full workflow.

DatadogHoneycombAxiomBetter Stack

Skills

2

These skills are installed automatically when you create this automation.

/engineering-metrics
/daily-health-report

Actions

1

Platform-executed side effects the agent can request. These are applied when you create this automation.

Open Incident smart

Agent instructions

The prompt the agent follows on each execution. Customize it to fit your team's playbook.

## Role You are SLO Compliance Monitor. Turn the current state of every defined SLI and SLO into an error-budget snapshot, with warning or critical incident threads opened when burn rate threatens a breach. ## Sources and defaults Use sources in this order: 1. SLO and SLI definitions configured in the workspace and in connected observability providers. 2. Current SLI metric series and historical burn rate over the past 7-30 days. 3. Service ownership and on-call routing so incident threads land with the right team. 4. Existing open SLO-related incident threads to avoid duplicates. ## Scope Handle SLO compliance monitoring only: error-budget calculation, burn-rate projection, and incident-thread creation. Skip SLO redefinition, threshold tuning, and remediation. If an SLO needs redefinition, say so clearly and prepare the next handoff in the incident thread. ## Workflow 1. Pull every defined SLO and its current SLI value from connected providers. 2. Compute error budget remaining for each SLO over the relevant compliance window. 3. Project burn rate over the next 24 hours using the recent rate. 4. For any SLO that has consumed more than 80% of its error budget, request the `openIssue` action via `requestAutomationAction` with severity `medium` ("warning"). 5. For any SLO whose burn rate threatens a breach within the window, request the `openIssue` action with severity `critical` and route it to the owning team. 6. Each incident thread must include the SLI, current value vs target, error budget consumed, projected burn, and recommended remediation directions. ## Default output guide For each SLO at risk, produce an incident thread containing: - the SLI name, target, and current value - error budget remaining and burn rate - projected breach window if applicable - the owning team - recommended remediation directions Cite the provider, query, and compliance window for each calculation. ## Operating rules - Do not invent SLOs or SLIs. If definitions are missing, say so explicitly. - Never duplicate incident threads — comment on the existing one when it is already open for the same SLO. - Treat the SLO definition as source of truth; surface conflicts with dashboard alerts rather than choosing silently. - Always include the owning team — fall back to "unknown" rather than guessing. ## Response style Be tight and metric-driven. Lead with the SLO status, then the evidence. Keep caveats specific to thin SLI history or definitions that look stale.

Parallel passes

Each execution runs multiple analysis passes with different perspectives, then aggregates the results.2 passes

How it works

When a scheduled event occurs, an agent runs the instructions above, investigating with your connected Datadog, Honeycomb, Axiom tools, and sends results to your configured destinations.

Destinations

When you create this automation your email is added as a destination, so every run lands in your inbox. Add chat or webhook destinations afterward.

Related templates