SetScrapeAlertRule
Create or update an alert rule for a specific scrape target
POST
/api/v1/monitoring/scrape-health/targets/{targetId}/alert-rulesOperation ID
SetScrapeAlertRuleSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
targetIdStringRequiredUUID of the scrape target to configure the alert rule for
Body Fields
consecutiveFailsIntegerRequiredConsecutive failure threshold before alert fires
Example: 3
severityStringRequiredSeverity of the generated alert (critical, warning)
Example: critical
autoEscalateBooleanRequiredWhether the alert escalates automatically after continued downtime
Example: true
