refactor(ansible): rename freecad_mcp env vars and rework deployment
- Drop `FREECAD_MCP_` prefix from env vars (use `FREECAD_*`) - Update freecad_mcp port from 22032 to 22061 - Document that FreeCAD bridge is required for tool calls - Replace kottos deployment with pallas deployment
This commit is contained in:
@@ -244,6 +244,23 @@ groups:
|
||||
summary: "High log ingestion rate"
|
||||
description: "Loki is receiving logs at {{ $value | humanize }}/s which may indicate excessive logging"
|
||||
|
||||
# ============================================================================
|
||||
# Django Application Alerts (generic — any Django app exporting the counter)
|
||||
# ============================================================================
|
||||
# Apps emit django_superuser_logins_total from a user_logged_in signal when
|
||||
# the authenticating user is a superuser. The job/component labels identify
|
||||
# which app fired; forensic detail (user, IP) is in the matching Loki line.
|
||||
- name: django_alerts
|
||||
rules:
|
||||
- alert: DjangoSuperuserLogin
|
||||
expr: increase(django_superuser_logins_total[5m]) > 0
|
||||
for: 0m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Superuser login on {{ $labels.job }}"
|
||||
description: "A superuser account just logged in to {{ $labels.job }} (component {{ $labels.component }}). This account is rarely used — confirm it was expected. Forensic detail (user, IP) in Loki: {service=\"{{ $labels.job }}\"} |= \"event=superuser_login\"."
|
||||
|
||||
# ============================================================================
|
||||
# Daedalus Application Alerts
|
||||
# ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user