summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/socket.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-09 11:25:12 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-09 14:49:49 +0100
commitaed7c125fdfe743a78cb3fd8123af5257a900df9 (patch)
tree90bfc4c6ce6bb9796f7335de2f89f9e3937b1679 /include/osmocom/core/socket.h
parent916423ef9585c7042730fdb17f55afc376565d32 (diff)
stats: Send all values on reporter update
Currently only counter changes and new item values are being reported. This makes it cumbersome to configure reporting clients, since there is nothing like a list of all parameters. This commit changes this behaviour such that all currently existing counters and items that would be reported eventually, are passed to the reporter when it has been reconfigured or enabled. If a counter has not been incremented, 0 is sent. If a stat item value has not been added, the last item value (or the default value if there is none) is resent again. Note that this will not catch transient counters/items that will be created later on, e.g. triggered by new peers or subscribers. To just force this kind of dump on a running reporter, it is sufficient to invoke the 'enable' command in its configuration node. Sponsored-by: On-Waves ehf
Diffstat (limited to 'include/osmocom/core/socket.h')
0 files changed, 0 insertions, 0 deletions