Tor 0.4.9.0-alpha-dev
Data Fields
metrics_store_t Struct Reference

Data Fields

strmap_t * entries
 

Detailed Description

A metric store which contains a map of entries.

Definition at line 25 of file metrics_store.c.

Field Documentation

◆ entries

strmap_t* entries

Indexed by metrics entry name. An entry is a smartlist_t of one or more metrics_store_entry_t allowing for multiple metrics of the same name.

The reason we allow multiple entries is because there are cases where one metrics can be used twice by the same entity but with different labels. One example is an onion service with multiple ports, the port specific metrics will have a port value as a label.

Definition at line 33 of file metrics_store.c.

Referenced by metrics_store_get_all().


The documentation for this struct was generated from the following file: