You should get rid of the _rate suffix in the dictionary as you don't use the value in the dictionary to create the metric name.