Adds metrics logging for UAA and CC external requests

[#78075608]