Create Alert Rule Models #21

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

Priority: High
Estimated Time: 2 hours

Tasks:

  • Create AlertRule model
  • Define YAML structure
  • Add validation functions
  • Create alert severity levels

Files to Create:

  • backend/internal/models/alert.go

Acceptance Criteria:

  • AlertRule model matches vmalert YAML format
  • Severity levels defined (info, warning, critical)
  • Validation functions work correctly
**Priority:** High **Estimated Time:** 2 hours **Tasks:** - Create AlertRule model - Define YAML structure - Add validation functions - Create alert severity levels **Files to Create:** - `backend/internal/models/alert.go` **Acceptance Criteria:** - [ ] AlertRule model matches vmalert YAML format - [ ] Severity levels defined (info, warning, critical) - [ ] Validation functions work correctly
ilker added this to the Milestone 3: Alert Management milestone 2026-02-04 23:22:33 +01:00
ilker closed this issue 2026-02-04 23:24:05 +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#21