Initialize observability stack with local monitoring and server134 deployment
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
groups:
|
||||
- name: local-application
|
||||
interval: 15s
|
||||
rules:
|
||||
- alert: NewApiUnavailable
|
||||
expr: probe_success{job="new-api-health"} == 0
|
||||
for: 2m
|
||||
labels:
|
||||
severity: P1
|
||||
annotations:
|
||||
summary: "Local new-api status check failed for two minutes"
|
||||
description: "This checks /api/status only; it does not measure model-call success."
|
||||
- alert: LocalMonitoringTargetDown
|
||||
expr: up == 0
|
||||
for: 2m
|
||||
labels:
|
||||
severity: P2
|
||||
annotations:
|
||||
summary: "Monitoring scrape failed: {{ $labels.instance }}"
|
||||
Reference in New Issue
Block a user