Class AlertEventService

java.lang.Object
com.nmontytskyi.monitoring.server.service.AlertEventService

@Service public class AlertEventService extends Object
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 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)