diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-10-01 20:43:53 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-10-28 23:51:04 +0100 |
commit | 9732cb4a92a883c7e9f7dcd928b6e22976a797ca (patch) | |
tree | 0e38004cfe089f3fbe6a602f1257df754c9a6b26 /src/vty/utils.c | |
parent | c84851bccc2e5e60536afa474a5f13134a3b79c9 (diff) |
stats: Add stat_item for value monitoring
This commit adds instrumentation function to gather measurement
and statistical values similar to counter groups.
Multiple values can be stored per item, which can be retrieved in
FIFO order. Getting values from the item does not modify its state to
allow for multiple independant backends (e.g. VTY and statd).
When a new value is set, the oldest value gets silently overwritten.
Lost values are skipped when getting values from the item.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/vty/utils.c')
0 files changed, 0 insertions, 0 deletions