Richard Fuchs
6c1fbc5706
MT#55283 move stats variables into sensible units
Change-Id: I40e6223adc6be5cc770ae3f27dea9aeb85b5f66c
3 years ago
Richard Fuchs
dddaa60afb
MT#55283 simplify/clarify stats gathering
Perform accumulation of stats only once (i.e. increasing an actual
counter) and report stats based on differences to previous values,
instead of carrying multiple stats counters for each metric and
resetting each counter to zero whenever stats are reported.
`rtpe_stats` is the global master accumulator.
`_intv` variables are intermediate and local storage for values sampled
from `rtpe_stats` at regular intervals.
`_rate` and `_diff` variables hold stats calculated from `rtpe_stats`
and the respective `_intv` variable whenever the sampling and reporting
occurs.
`stats_counters_calc_diff` is used to calculate stats as differences
between `rtpe_stats` and the last sampled `_intv`
`stats_counters_calc_rate` does the same but calculates a per-second
rate, based on a microsecond duration.
Eliminate now-useless struct global_stats_ax
Change-Id: Ic4ca630161787025219b67e49b41995204d60573
3 years ago
Richard Fuchs
b5a20bdb91
MT#55283 properly output stat strings
Change-Id: Icbbd7963c51af999bf4f2f043eb04c5aa8e59cf0
3 years ago
Richard Fuchs
c9e38ebe9a
MT#55283 properly support double value stats
Change-Id: Ibabccb95d7dde410018e85f515c3b46733af6a35
3 years ago
Richard Fuchs
6b5a8f5560
TT#178352 generalise metrics gathering and printing
Keep a running lifetime total of all "gauge" type metrics. Also track
the square of the sums of all "gauge" type metrics in order to determine
the standard deviation.
Change-Id: I23f60774a6421636f1a913674c7d1b54a1c5f702
4 years ago
Richard Fuchs
7b5b52e932
TT#156052 add MOS stats to stats output
Change-Id: I9dd3847ae772ba0851239c3f230de72a2ed207ee
4 years ago
Richard Fuchs
06006df6fb
TT#101150 obsolete 'totalstats'
Change-Id: I744222b313f50fcf08d421309c329256f78869aa
4 years ago
Richard Fuchs
b0ebe9ba1b
TT#101150 move start timestamp to global var
Change-Id: I03efdbf02b5fbf16616d26010cb79b0932cd4e00
4 years ago
Richard Fuchs
2ae5cc79ba
TT#101150 obsolete more fields from struct totalstats
total_managed_sess, total_average_call_dur, total_average_lock,
managed_sess_max, managed_sess_min, managed_sess_lock
Change-Id: Ibe3f619ec6d2f21270fc81901dde55b5242b0daa
4 years ago
Richard Fuchs
3fa16c6ab1
TT#101150 generalise ng command stats into array/list
Change-Id: I43c7074237ae70d9bcb12b4946ce2c751d135bc8
4 years ago
Richard Fuchs
d4102280b2
TT#101150 obsolete struct request_time stats
Change-Id: Icf3e0648a0ba821bc66c6dd0e8f5ebc30576fb70
4 years ago
Richard Fuchs
f5f29e1c59
TT#101150 add min/max/avg tracking for gauge stats
Change-Id: I6a682f2bb98673361a8454f419f8a0fb7d37ef75
4 years ago
Richard Fuchs
b4295684a5
TT#101150 convert stats gauge handling to macros
Change-Id: I583bb1a09196d055710ee5e1d379541f23c54117
4 years ago
Richard Fuchs
7337f4a231
TT#101150 obsolete offers/answers/deletes_ps
Change-Id: I92e1a3617e2c47deeacc0186a930da0f6247f273
4 years ago
Richard Fuchs
899d95791f
TT#101150 add stats_counters_min_max()
Change-Id: I9c3104718696a8e1fc69faee132f960209e80c15
4 years ago
Richard Fuchs
facb4b54db
TT#101150 obsolete redundant fields in struct totalstats
Change-Id: I75d8bb1890ce35faac271550a1f9aff0f24ce624
4 years ago
Richard Fuchs
3608d9b070
TT#101150 obsolete total_relayed_* fields
Change-Id: I2340daba8f8088af81b3ed6b5dfc6f5fb8621a9a
4 years ago
Richard Fuchs
f8c3f93f57
TT#101150 add support for local copy-out of stats
Change-Id: I1752fa8fe94799eedbac7f3fb674a61a0b6de162
4 years ago
Richard Fuchs
181dfe6b1c
TT#101150 update runtime averaging to microseconds
Change-Id: I2c83dfb5ca128331662058a045daf8d59397777b
4 years ago
Richard Fuchs
01263d644c
TT#101150 refactor counter stats into macro list
Change-Id: Ic23fd457bfd5a9cae08f2d48b6ab8054480cd070
4 years ago
Richard Fuchs
ad64f4fa00
TT#101150 introduce proper struct for "counter" style stats
Change-Id: Ifd06c54b25126426fe21723b8fb7a21d9bd03cba
4 years ago
Richard Fuchs
7dcc4473f5
TT#101150 split out "gauge" style stats
Change-Id: I52617a083bbbd41342b6413d8cacc5235cec51d9
4 years ago
Richard Fuchs
a1f3530292
TT#101150 separate out `struct stream_stats`
Change-Id: I709060d9e805175bd99173df03e581b593506e15
4 years ago
Richard Fuchs
406f2dc36d
TT#101150 remove in_tos_tclass from struct stats
Change-Id: I000f19f3eade23085952c86f6f730ab954f81b95
4 years ago
Guillem Jover
07695d2abb
TT#111150 Use modern <stdint.h> uint<bits>_t types
The u_int<bits>_t are BSD legacy types, while the new ones are specified
by C99 and SUSv3.
Change-Id: Ia748cabc33a7e5adc2c7a6049ad1e55be0c788a8
5 years ago
Stefan Mititelu
482e2d0d2b
Add stats for ipv4/ipv6/mixed media calls
Also Send stats for ipv4/ipv6/mixed media calls to graphite
5 years ago
Richard Fuchs
5d895fb7be
TT#82405 add Prometheus stats exporter
Change-Id: Ic55b42a707e430a61c0422c65827ed2145511586
5 years ago
Stefan Mititelu
8ba5d162dd
Fix Valgrind "still reachable" for a few others
log, ice, media_player, jitter_buffer,
statistics, codeclib, call_interfaces
6 years ago
Richard Fuchs
cdcf80c2c1
TT#82401 add statistics NG command
closes #992
Change-Id: I73284b8da6bc64c6e801f47cf6e00e52235b65ba
6 years ago
Richard Fuchs
6d2aeccda6
TT#82401 amend stats gather to keep track of braces
Change-Id: I042179fe26118aef34e84412c3790059b7f6e1a6
6 years ago
Richard Fuchs
1015cead8b
TT#82401 amend stats gathering to detect ints
Change-Id: I892144bbf549952858a1f3cf967673198a0457d4
6 years ago
Richard Fuchs
ac765d1b54
TT#82410 unify stats gathering functions
Change-Id: I5be2f728a40d69e76b7fcdd04b9d7cb62e34665e
6 years ago
Richard Fuchs
64e6bf440b
TT#82203 add detailed transcoding stats
Change-Id: Ib04767c38b00b17ef5844a9f6649e009270f8f82
6 years ago
Richard Fuchs
5f3f203fb8
TT#82203 add stats for transcoded sessions
Change-Id: Ie9bef31f62d489fccf52b02a8935f9c9dc2575b5
6 years ago
Richard Fuchs
3032443f87
TT#50652 remove unnecessary and circular include
Change-Id: I731c2a7586e878e4c756ab1a789f2e43418b0c46
7 years ago
Richard Fuchs
db2882ca78
integrate AES unit test into main build framework
Required addition of include/ directory for headers shared between
daemon and tests
Change-Id: Ib25504f4d7f4baa917efcdc0ef78b6cc89439827
8 years ago
Richard Fuchs
6fa712d0d8
implement offer-timeout option
closes #526
Change-Id: I819e1ad567c93f922461caf15482c2c55a0143d1
8 years ago
Claudiu Boriga
8cc4b7874e
Add statistics for requests per second
8 years ago
Richard Fuchs
741140341f
move "totalstats" out of callmaster into global scope
Change-Id: Ia5b95e788c1d486a86b6f916dcff5b88022f5897
8 years ago
Frederic-Philippe Metz
8f01e780a8
First attempt to seperate more stats and cdr away from the core running code
9 years ago