asterisk/res/prometheus
Holger Hans Peter Freyther 986c71953c res_prometheus: Do not generate broken metrics
In 8d6fdf9c3a invisible bridges were
skipped but that lead to producing metrics with no name and no help.

Keep track of the number of metrics configured and then only emit these.
Add a basic testcase that verifies that there is no '(NULL)' in the
output.

ASTERISK-30474

(cherry picked from commit a10de8bc72)
2023-09-06 16:55:59 +00:00
..
bridges.c res_prometheus: Do not generate broken metrics 2023-09-06 16:55:59 +00:00
channels.c res: Fix for Doxygen. 2021-12-03 10:38:39 -06:00
cli.c res_prometheus: Add CLI commands 2019-05-22 08:24:39 -05:00
endpoints.c res: Fix for Doxygen. 2021-12-03 10:38:39 -06:00
pjsip_outbound_registrations.c res: Fix for Doxygen. 2021-12-03 10:38:39 -06:00
prometheus_internal.h progdocs: Avoid 'name' with Doxygen \file. 2021-11-18 08:17:56 -06:00