Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
prometheus_metric_wrapper Struct Reference
Collaboration diagram for prometheus_metric_wrapper:
Collaboration graph
[legend]

Data Fields

char key [128]
 Unique key to look up the metric. More...
 
struct prometheus_metricmetric
 The actual metric. Worth noting that we do NOT own the metric, as it is registered with res_prometheus. Luckily, that module doesn't destroy metrics unless we tell it to or if the module unloads. More...
 

Detailed Description

Definition at line 53 of file pjsip_outbound_registrations.c.

Field Documentation

◆ key

char key[128]

Unique key to look up the metric.

Definition at line 64 of file pjsip_outbound_registrations.c.

Referenced by AST_VECTOR(), get_wrapper(), registration_deleted_observer(), and registration_loaded_observer().

◆ metric

struct prometheus_metric* metric

The actual metric. Worth noting that we do NOT own the metric, as it is registered with res_prometheus. Luckily, that module doesn't destroy metrics unless we tell it to or if the module unloads.

Definition at line 60 of file pjsip_outbound_registrations.c.

Referenced by registration_deleted_observer(), registration_loaded_observer(), and registry_message_cb().


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