Asterisk - The Open Source Telephony Project  18.5.0
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

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