Augments programmable speakers to be able to export metrics and alerts. Fork of fctrl - Observability by mozzarella.foxfire that exports alerts using RCON commands."
After configuring a speaker to alert, send the RCON command "/fetch_cached_alerts" to return a JSON string containing a list of any new alerts with the configured message in a "message" field for each alert.
Send a list of Discord users with the RCON command "/set_discord_users list" where list is a JSON list of users in "userID:displayname" format. These users will appear in the alert configuration menu. When an alert with a notification triggers, the alerts in the returned JSON string will include a "notif_target_id".
Streaming metrics is currently disabled while I figure out a decent way to stream them using RCON.