MCPcopy Create free account
hub / github.com/dfinity/orbit / inc

Method inc

libs/orbit-essentials/src/metrics.rs:338–342  ·  view source on GitHub ↗
(&mut self, service_name: &str)

Source from the content-addressed store, hash-verified

336 }
337
338 fn inc(&mut self, service_name: &str) {
339 with_metrics_registry(service_name, |registry| {
340 registry.counter_mut(self.name(), self.help()).inc();
341 });
342 }
343}
344
345pub trait ApplicationGaugeMetric<Model>: ApplicationMetric<Model>

Callers

nothing calls this directly

Implementers 1

metrics.rscore/station/impl/src/core/metrics.rs

Calls 5

with_metrics_registryFunction · 0.85
counter_mutMethod · 0.80
incMethod · 0.45
nameMethod · 0.45
helpMethod · 0.45

Tested by

no test coverage detected