changed metrics to support multiple relay calls.