2024-02-13 10:22:48 +00:00

4.0 KiB

Notifications

Zulip as official OTC communication channel supports API interface for pushing the notifications from ApiMon to various Zulip streams:

  • #Alerts Stream
  • #Alerts-Hybrid Stream
  • #Alerts-Preprod Stream

Every stream contains topics based on the service type (if represented by standalone Ansible playbook) and general apimon_endpoint_monitor topic which contains alerts of GET queries towards all services.

image

If the error has been acknowledged on Alerta, the new notification message for repeating error won't get posted again on Zulip.

Notifications contain further details which help to identify root cause faster and more effectively.

Notification parameters

The ApiMon notification consists of several fields:

Notification Field Description
APIMon Alert link Reference to alert in Alerta
Status Status of the alert in Alerta
Environment Information about affected environment/region
Severity Severity of the alarm
Origin Information about origin location from where the job has been executed
Service Information about affected service and type of monitoring
Resource Further details in which particular resource issue has happened
Error message Summary Short description of error result
Execution Log link Reference to job execution output on Swift object storage

Th EpMon notification consists of several fields:

Notification Field Description
APIMon Alert link Reference to alert in Alerta
Environment Information about affected environment/region
Curl command Interpreted request in curl format for reproducible applications
Request error response Error result of the requested API call