Harness SLO Integration
Configure Harness SLO integration for Harness AI SRE to receive service level objective violation alerts.
Configure Harness SLO integration to receive service level objective violation alerts in Harness AI SRE.
Overview
Harness SLO provides:
Error budget alerts: Automated notifications when error budgets are depleted
SLO violation tracking: Monitor error budget remaining percentage and minutes
Burn rate monitoring: Track error budget consumption rate
Service correlation: Link alerts to monitored services and SLOs
Cross-module integration: Connect Service Reliability Management with AI SRE
Set up Harness SLO integration
Step 1: Create webhook integration in AI SRE
Create the webhook endpoint in Harness AI SRE:
Navigate to Integrations in the main menu.
Click New Integration.
Select Harness SLO from the template options under Alert type.
Enter a name for the integration.
Click Save to generate the webhook endpoint.
Copy the generated webhook URL from the integration configuration page.
Step 2: Configure SLO notification rule in SRM
Configure the notification rule in Service Reliability Management to send alerts to the webhook:
In your Harness account, navigate to Service Reliability > SLOs.
Select the SLO for which you want to send alerts to AI SRE.
In the Error Budget Policy section, click + New Notification Rule.
Enter a name for the notification rule, then click Continue.
Configure the condition that should trigger the alert:
Error Budget remaining percentage: Alert when remaining budget reaches a threshold
Error Budget remaining minutes: Alert when remaining minutes depletes to a specific value
Error budget Burn rate is above: Alert when burn rate exceeds a threshold
In the Notification Method dropdown, select Webhook.
Paste the webhook URL copied from AI SRE in Step 1.
Click Test to verify the integration.
Click Save, then enable the notification rule.
Example alert payload
Mapped alert fields
The following fields are extracted from Harness SLO alerts:
Title: Alert summary from the SLO notification
Description: Detailed message about the error budget status
SLO Status: Current state of the error budget
Account Information: Account ID and name
Organization and Project: Context for the SLO
SLO URL: Direct link to the SLO details in Harness
SLO Identifier: Unique identifier and name for the SLO
Timestamp: Unix timestamp and human-readable time of detection
Use cases
Error budget depletion
Configure alerts when error budgets reach critical thresholds to proactively address service reliability issues before SLO violations occur.
Burn rate detection
Set up alerts based on error budget burn rate to detect anomalies in service health and respond before budgets are exhausted.
Multi-service correlation
Combine SLO violation alerts with other monitoring data in AI SRE to identify cascading failures across dependent services.
Next steps
Go to Composite SLO to create SLOs based on user journeys.
Go to Route Alerts to route Harness SLO alerts.
Go to Ingest Alerts Overview to view other integrations.
Last updated
Was this helpful?