Crate metriki_jemalloc

Crate metriki_jemalloc 

Source
Expand description

§Metriki Jemalloc Instrumentation

This library provide metrics of jemalloc memory allocator. The data is fetched from a library called jemalloc-ctl, and we are using the tikv maintained version of it. It is recommended to use that version of jemallocator too.

The instrumentation is provided as a MetricsSet. Use MetricsRegistry::register_metrics_set to add it to your metriki registry.

An example can be found in our github repo.

Structs§

JemallocMetricsSet
The MetricsSet that provides gauges of jemalloc data.