provisioning-code/workspace/wuji/monitoring.ncl

29 lines
992 B
Text

# Mirador monitoring model for the libre-wuji workspace (k0s, production tenant).
#
# Load with: nickel export --import-path /path/to/provisioning workspace/wuji/monitoring.ncl
# Agent: AGENT_MONITORING_NCL=workspace/wuji/monitoring.ncl AGENT_WORKSPACE_ID=libre-wuji mirador-agent
let mk = import "templates/workspace/nickel/monitoring.ncl" in
mk.for_workspace {
workspace_id = "libre-wuji",
# Namespace that hosts all wuji workloads.
namespace = "libre-wuji",
# Services deployed in this workspace.
has_nats = true,
has_postgres = true,
has_forgejo = true,
has_woodpecker = true,
has_zot = true,
# Notification channels — add real channel definitions here.
# Example (uncomment and fill):
# notification_channels = [
# { id = "ops-webhook", kind = 'Webhook, config = { url = "https://...", method = "POST" } },
# ],
# alert_channel_ids = ["ops-webhook"],
notification_channels = [],
alert_channel_ids = [],
}