(&self, service_name: &str, labels: &HashMap<&str, &str>)
| 307 | } |
| 308 | |
| 309 | fn get(&self, service_name: &str, labels: &HashMap<&str, &str>) -> f64 { |
| 310 | with_metrics_registry(service_name, |registry| { |
| 311 | registry |
| 312 | .counter_vec_mut(self.name(), self.labels(), self.help()) |
| 313 | .with(labels) |
| 314 | .get() |
| 315 | }) |
| 316 | } |
| 317 | |
| 318 | fn inc(&self, service_name: &str, labels: &HashMap<&str, &str>) { |
| 319 | with_metrics_registry(service_name, |registry| { |
nothing calls this directly
no test coverage detected