libosmocore.git branch jerlbeck/wip/stats updated. 0.8.0-68-g6db0815

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Tue Oct 20 17:10:31 UTC 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, jerlbeck/wip/stats has been updated
       via  6db08153f557635368e6869d9c905cb5fbd37f08 (commit)
       via  306175d38d46fe8125b9de2da2db0e7ee8b462b8 (commit)
       via  397f69b1bdf177231dbf04672e5c4e1f8986d46a (commit)
       via  1887cb3bad5c2da452915450a8e9c72062d12e2d (commit)
       via  034facebe3c2b51c9b2b8c3fd39cc7ab4d94053c (commit)
       via  21b76b289a38fc73fe338c2b6e9a11fb4489e7a3 (commit)
       via  d15fcd6d2db616b4b2123f062966bbc313261187 (commit)
       via  02906e0f1cfb1a4fb782c3badd7f598d57fab86c (commit)
       via  c94cc5c013c10f1d1d3c485d7d4e11e5d26507fd (commit)
      from  bb564f424f1b28e342a8bfb61d3280be39c0f332 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=6db08153f557635368e6869d9c905cb5fbd37f08

commit 6db08153f557635368e6869d9c905cb5fbd37f08
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Tue Oct 20 19:05:52 2015 +0200

    WIP: statistics (TODO)
    
    TODO:
      - cleanup and sort commits
      - commit messages
      - add timer based output
      - support stat items
      - add MTU support
      - remove enable/disable test hack
    
    status:
      - statsd is sent for modified counters when disabling/enabling
        the reporter
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=306175d38d46fe8125b9de2da2db0e7ee8b462b8

commit 306175d38d46fe8125b9de2da2db0e7ee8b462b8
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Oct 19 15:14:13 2015 +0200

    stats/vty: Add stats_vty.c
    
    This file will contain the VTY code related to statistics.
    
    This commit adds a minimal file with just as single VTY command:
    
    - show stats    This command shows all statistical values
    
    To enable this and future commands, the main program needs to call
    stats_vty_add_cmds().
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=397f69b1bdf177231dbf04672e5c4e1f8986d46a

commit 397f69b1bdf177231dbf04672e5c4e1f8986d46a
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Oct 19 15:11:50 2015 +0200

    stat/vty: Add vty_out_statistics_full to show all statistics
    
    This functions shows the state of all osmo_counters, stat_item
    groups, and counter groups.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=1887cb3bad5c2da452915450a8e9c72062d12e2d

commit 1887cb3bad5c2da452915450a8e9c72062d12e2d
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Oct 19 15:06:01 2015 +0200

    stat/vty: Use the iterator algorithms to show ctrg and statg
    
    Currently the groups for stat_items and counter are iterated
    manually.
    
    This commit makes use of the new iterator functions to access the
    single elements via handlers.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=034facebe3c2b51c9b2b8c3fd39cc7ab4d94053c

commit 034facebe3c2b51c9b2b8c3fd39cc7ab4d94053c
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Oct 19 15:00:59 2015 +0200

    core: Update osmo_counters_for_each doc
    
    Fix type and add a note about the semantics of the handler's return
    code.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=21b76b289a38fc73fe338c2b6e9a11fb4489e7a3

commit 21b76b289a38fc73fe338c2b6e9a11fb4489e7a3
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Oct 19 14:04:38 2015 +0200

    WIP add stat_item_for_each functions
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=d15fcd6d2db616b4b2123f062966bbc313261187

commit d15fcd6d2db616b4b2123f062966bbc313261187
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Oct 19 14:03:28 2015 +0200

    WIP update rate_ctr discard doc
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=02906e0f1cfb1a4fb782c3badd7f598d57fab86c

commit 02906e0f1cfb1a4fb782c3badd7f598d57fab86c
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Oct 19 13:45:42 2015 +0200

    core: Extend rate_ctr by helper functions
    
    For global value reporting, some additional helper functions are
    needed. The statsd protocol expects differential counter values,
    which are currently not provided by rate_ctr (except for s/m/h/d
    intervals).
    
    This commit adds several helper functions to rate_ctr:
    
    - rate_ctr_difference  returns the counter delta since the last
                           call to this function for a given counter
    - rate_ctr_for_each_counter
                           iterates through each counter of a group
    - rate_ctr_for_each_group
                           iterates through all globally registered
                           counter groups
    
    Note that the rate_ctr_difference function can only be used by a
    single backend, since it modifies the 'previous' field in the
    rate_ctr obj.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=c94cc5c013c10f1d1d3c485d7d4e11e5d26507fd

commit c94cc5c013c10f1d1d3c485d7d4e11e5d26507fd
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Oct 12 18:47:09 2015 +0200

    WIP: Use global index (TODO)
    
    Sponsored-by: On-Waves ehf

-----------------------------------------------------------------------

Summary of changes:
 include/Makefile.am               |   2 +
 include/osmocom/core/rate_ctr.h   |  19 ++
 include/osmocom/core/stat_item.h  |  44 +++--
 include/osmocom/core/statistics.h |   4 +-
 include/osmocom/core/stats.h      |  70 ++++++++
 include/osmocom/vty/command.h     |   1 +
 include/osmocom/vty/misc.h        |   2 +
 include/osmocom/vty/stats.h       |   4 +
 src/Makefile.am                   |   2 +-
 src/rate_ctr.c                    |  41 +++++
 src/stat_item.c                   | 101 ++++++++---
 src/stats.c                       | 369 ++++++++++++++++++++++++++++++++++++++
 src/vty/Makefile.am               |   2 +-
 src/vty/stats_vty.c               | 311 ++++++++++++++++++++++++++++++++
 src/vty/utils.c                   | 121 ++++++++++---
 tests/stats/stats_test.c          |  43 +++--
 tests/vty/vty_test.ok             |   6 +-
 17 files changed, 1067 insertions(+), 75 deletions(-)
 create mode 100644 include/osmocom/core/stats.h
 create mode 100644 include/osmocom/vty/stats.h
 create mode 100644 src/stats.c
 create mode 100644 src/vty/stats_vty.c


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list