Files
infrastructure/monitoring/event-monitoring/setup.sh
2026-02-09 21:51:46 -08:00

20 lines
421 B
Bash
Executable File

#!/bin/bash
# Setup event monitoring
set -e
echo "📡 Setting up event monitoring..."
# Apply Prometheus rules
echo "📊 Applying Prometheus rules for event bus..."
kubectl apply -f prometheus-rules.yaml
echo "✅ Event monitoring configured!"
echo ""
echo "📝 Monitoring:"
echo " - NATS connection metrics"
echo " - Message rate metrics"
echo " - JetStream storage metrics"
echo " - Pod health metrics"