Project

General

Profile

Actions

Feature #4591

open

Export FSM states and statistics with counters

Added by ipse almost 4 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
libosmocore
Target version:
-
Start date:
06/07/2020
Due date:
% Done:

0%

Spec Reference:

Description

Working on borken stats export and thinking about adding monitoring to OsmoSTP and MGCP code, I realized that a lot of useful information can be acquired from FSMs if they supported generic statistics export.

This export can be made configurable through VTY on a per-FSM class level to tweak it to specific monitoring needs.

Examples of generic counters/gauges I can think of immediately:
  1. Number of instances of a given FSM (gauge for current and counter for allocation/deallocation). Useful for short living FSMs like SCCP connections.
  2. Current FSM instance state (gauge). Useful for long-living FSMs like A-interface connections.
  3. Counters for transitions to/from states (per state) and received events (per event). Useful for long-living FSMs like lchan's.
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)