Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 1.12 KB

File metadata and controls

68 lines (50 loc) · 1.12 KB

Logging

IncidentRelay writes structured JSON-style logs for alert intake, notifications, scheduler activity and errors.

Where to look

Systemd installations:

journalctl -u incidentrelay -f
journalctl -u incidentrelay-scheduler -f

RPM installations use the same service names:

journalctl -u incidentrelay -f
journalctl -u incidentrelay-scheduler -f
journalctl -u incidentrelay-telegram-worker -f

Docker installations:

docker compose logs -f incidentrelay
docker compose logs -f incidentrelay-scheduler

If file logging is configured:

tail -f /var/log/incidentrelay/incidentrelay.log

Useful fields

Common fields:

timestamp
level
logger
message
module
function
line

Alert and notification fields:

alert_id
team
route_id
routing_error
channel_id
channel_name
channel_type
event_type
provider
error

Notification logs

notification sent means IncidentRelay handed the message to the downstream provider or SMTP relay without an exception. It does not guarantee final delivery.

If a user did not receive a message, check the downstream service logs as well.