Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
endpoint_metric_defs Struct Reference

Data Fields

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

Detailed Description

Definition at line 65 of file res/prometheus/endpoints.c.

Field Documentation

◆ get_value

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

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

Definition at line 77 of file res/prometheus/endpoints.c.

Referenced by endpoints_scrape_cb().

◆ help

const char* help

Help text to display.

Definition at line 69 of file res/prometheus/endpoints.c.

Referenced by endpoints_scrape_cb().

◆ name

const char* name

Name of the metric.

Definition at line 73 of file res/prometheus/endpoints.c.

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


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