19 #ifndef PROMETHEUS_INTERNAL_H__ 20 #define PROMETHEUS_INTERNAL_H__ int endpoint_metrics_init(void)
Initialize endpoint metrics.
int channel_metrics_init(void)
Initialize channel metrics.
int64_t prometheus_last_scrape_duration_get(void)
Retrieve the amount of time it took to perform the last scrape.
struct timeval prometheus_last_scrape_time_get(void)
Retrieve the timestamp when the last scrape occurred.
int cli_init(void)
Initialize CLI command.
The descriptor of a dynamic string XXX storage will be optimized later if needed We use the ts field ...
struct ast_str * prometheus_scrape_to_string(void)
Get the raw output of what a scrape would produce.
int bridge_metrics_init(void)
Initialize bridge metrics.
int pjsip_outbound_registration_metrics_init(void)
Initialize PJSIP outbound registration metrics.