Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
bridge_metric_defs Struct Reference

Data Fields

void(*const get_value )(struct prometheus_metric *metric, struct ast_bridge_snapshot *snapshot)
 Callback function to generate a metric value for a given bridge. More...
 
const char * help
 Help text to display. More...
 
const char * name
 Name of the metric. More...
 

Detailed Description

Definition at line 51 of file bridges.c.

Field Documentation

◆ get_value

void(* const get_value) (struct prometheus_metric *metric, struct ast_bridge_snapshot *snapshot)

Callback function to generate a metric value for a given bridge.

Definition at line 63 of file bridges.c.

Referenced by bridges_scrape_cb().

◆ help

const char* help

Help text to display.

Definition at line 55 of file bridges.c.

Referenced by bridges_scrape_cb().

◆ name

const char* name

Name of the metric.

Definition at line 59 of file bridges.c.

Referenced by bridges_scrape_cb(), PathSegment::get_child(), Parameter::load(), SwaggerType::load(), and Property::load().


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