Implement vmalert Service #23

Closed
opened 2026-02-04 23:22:34 +01:00 by ilker · 0 comments
Owner

Priority: High
Estimated Time: 4 hours

Tasks:

  • Create vmalert service
  • Implement YAML generation from rules
  • File writing to shared volume
  • vmalert reload endpoint call
  • Active alerts fetching

Files to Create:

  • backend/internal/services/vmalert_service.go

Acceptance Criteria:

  • Generates valid vmalert YAML
  • Writes files to /app/rules
  • Triggers vmalert reload
  • Can fetch active alerts
**Priority:** High **Estimated Time:** 4 hours **Tasks:** - Create vmalert service - Implement YAML generation from rules - File writing to shared volume - vmalert reload endpoint call - Active alerts fetching **Files to Create:** - `backend/internal/services/vmalert_service.go` **Acceptance Criteria:** - [ ] Generates valid vmalert YAML - [ ] Writes files to /app/rules - [ ] Triggers vmalert reload - [ ] Can fetch active alerts
ilker added this to the Milestone 3: Alert Management milestone 2026-02-04 23:22:34 +01:00
ilker closed this issue 2026-02-04 23:25:33 +01:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ilker/victorialogs-manager#23