Project

General

Profile

Actions

Feature #5691

open

Expose DAHDI statistics to prometheus

Added by laforge over 1 year ago. Updated about 1 year ago.

Status:
Stalled
Priority:
Normal
Assignee:
Target version:
-
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 #1

Updated by laforge about 1 year ago

  • Subject changed from Expose DAHDI statistics as rate_ctr to Expose DAHDI statistics to prometheus
  • Status changed from New to Stalled
  • Assignee set to laforge
  • % Done changed from 0 to 50

After my recent gpsd2prometheus work I thought it might be better to expose the countes directly to prometheus rather than going through the osmo-e1d -> stats -> prometheus route.

Initial WIP (not working yet) is at https://gitea.osmocom.org/laforge/dahdi2prometheus

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)