Class AlertEventService
java.lang.Object
com.nmontytskyi.monitoring.server.service.AlertEventService
Application service for querying persisted alert events.
Alert events are created automatically by
AlertEvaluationService whenever a rule
threshold is breached. This service exposes paginated read access to the event log
for the web dashboard and the REST API.
- Author:
- Nazar Montytskyi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<AlertEventResponse> findByServiceId(Long serviceId, org.springframework.data.domain.Pageable pageable)
-
Constructor Details
-
AlertEventService
public AlertEventService()
-
-
Method Details
-
findByServiceId
@Transactional(readOnly=true) public org.springframework.data.domain.Page<AlertEventResponse> findByServiceId(Long serviceId, org.springframework.data.domain.Pageable pageable)
-