monitor_replica_metrics.sh #1