add messages sent and received metrics