Add a metric for status codes.