add branch and az to internal metric logs