Commit 1c06c9f1 authored by David Goulet's avatar David Goulet 🆘
Browse files

doc: Initial documentation of the lib/metrics

Signed-off-by: David Goulet's avatarDavid Goulet <>
parent 04ff22dc
@dir /lib/metrics
@brief lib/metrics: Metrics collection API
This module is used for adding "metrics" support to Tor.
Metrics are a collection of counters that are defined per-subsystem and
accessed through the MetricsPort. Each subsystem is responsible for populating
metrics store(s) and providing access to them through the `.get_metrics()`
call located in the `subsys_fns_t` object.
These metrics are meant to be extremely lightweight and thus can be accessed
without too much CPU cost.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment