(&self, service_name: &str, labels: &HashMap<&str, &str>)
| 316 | } |
| 317 | |
| 318 | fn inc(&self, service_name: &str, labels: &HashMap<&str, &str>) { |
| 319 | with_metrics_registry(service_name, |registry| { |
| 320 | registry |
| 321 | .counter_vec_mut(self.name(), self.labels(), self.help()) |
| 322 | .with(labels) |
| 323 | .inc(); |
| 324 | }); |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | pub trait ApplicationCounterMetric<Model>: ApplicationMetric<Model> |
nothing calls this directly
no test coverage detected