doc: add traffic metering API walk-through