add metering

Change-Id: I24cde88ffc55d3a3d7066c9c5857679e01050b6b