The next step in adding performance monitoring to your gateway is deciding which counters you want to publish. While the exact choices depend on the type of gateway you are writing, certain counters are useful for most gateways. These include the number of messages and bytes waiting to be processed in MTS_OUT, the number of messages and bytes transferred in or out, and the number of nondeliverable receipts. This example uses the following counters: