Add internal metrics.

This commit adds internal metrics so that we can assess how well the
bridge performs in production.