Trait engine_traits::perf_context::PerfContext [−][src]
Reports metrics to prometheus
For alternate engines, it is reasonable to make start_observe
and report_metrics
no-ops.
Required methods
fn start_observe(&mut self)
[src]
Reinitializes statistics and the perf level
fn report_metrics(&mut self)
[src]
Reports the current collected metrics to prometheus