Actions
Feature #5691
openExpose DAHDI statistics to prometheus
Start date:
09/27/2022
Due date:
% Done:
50%
Spec Reference:
Description
The DAHDI_SPANSTAT ioctl can be used to obtain a number of statistics for a given span (E1/T1 line).
It would be a good idea to implement some library code which would start a timer to periodically poll the DAHDI_SPANSTAT on each of the relevant spans. This could be used by osmo-bsc, osmo-gbproxy or even a stand-alone application to pull all those counters into osmocom rate_ctr infrastructure.
That in turn would allow the counters to be exported alongside all our other counters/stats via the statsd exporter.
Actions