Initial API checkin for compass metrics

Change-Id: If914a69f3c98d0bf4a58f5d19eafd2149caf8084