Class AlertRuleService
java.lang.Object
com.nmontytskyi.monitoring.server.service.AlertRuleService
Application service for managing alert rules.
Supports CRUD operations on AlertRuleEntity
records. Rules define a metric type, comparator, numeric threshold, and cooldown period.
The AlertEvaluationService consults active
rules on every metric collection cycle.
- Author:
- Nazar Montytskyi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(AlertRuleRequest request) voiddeleteById(Long id) findByServiceId(Long serviceId)
-
Constructor Details
-
AlertRuleService
public AlertRuleService()
-
-
Method Details
-
create
-
findByServiceId
-
deleteById
-