The monitoring stack provides comprehensive observability for the Communoplus infrastructure.
Purpose: Metrics collection and alerting
Key Metrics:
Purpose: Visualization and dashboards
Access: https://grafana.cloud.communoplus.com
Dashboards:
Purpose: Log aggregation
Query Language: LogQL
Example Queries:
# API errors
{namespace="prod", app="communoplus-api"} |= "error"
# VPN connection logs
{namespace="vpn", app="gluetun-pool"} |= "connected"
Purpose: Alert routing to Slack
Channel: #infrastructure-alerts
| Alert | Severity | Description |
|---|---|---|
| CommunoPlusAPIDown | Critical | API pods unavailable |
| CommunoPlusAPIHighErrorRate | Warning | 5xx error rate > 5% |
| VPNConnectionLost | Critical | VPN has no public IP |
| CommunoPlusHighProxyRotationRate | Warning | Possible IP bans |
kubectl port-forward -n monitoring svc/loki-prometheus-alertmanager 9093:80