20 lines
421 B
Bash
Executable File
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"
|
|
|