Observability - RCON fork

by Ziro2k

Augments programmable speakers to be able to export metrics and alerts. Fork of "fctrl - Observability" by mozzarella.foxfire that exports using RCON commands.

Utilities
8 months ago
1.1
18
Owner:
Ziro2k
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
11 months ago
Latest Version:
0.1.3 (8 months ago)
Factorio version:
1.1
Downloaded by:
18 users

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.