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
7337f4a231
TT#101150 obsolete offers/answers/deletes_ps
Change-Id: I92e1a3617e2c47deeacc0186a930da0f6247f273
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
d197a27b40
TT#101150 add graphite-specific global_stats_ax
Change-Id: I01ad26b1c6029d02c0a41216ba238c1f2c3a2f2d
4 years ago
Richard Fuchs
7dcc4473f5
TT#101150 split out "gauge" style stats
Change-Id: I52617a083bbbd41342b6413d8cacc5235cec51d9
4 years ago
Richard Fuchs
30d91ecc63
TT#101150 add test script for stats output
Change-Id: I13cc172b082e78c3d52032bd72e0a2f5158c71ed
4 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
e1dda97028
TT#14008 fix some warnings from musl
Change-Id: I99fe1185cf814232b44c078b62199e850850cb0d
5 years ago
Stefan Mititelu
eb8169868d
Fix a few more "still reachable". End all redis unused threads.
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
5744c04d0d
TT#76368 add port status to graphite output
Change-Id: I7a12d55fd2e31222964361b301c6507b4e7760a5
6 years ago
Richard Fuchs
dcce2ba1a1
TT#76368 move graphite timestamping into wrapper macro
Change-Id: Iee58d38b8746b866944535160e131021a047a920
6 years ago
Richard Fuchs
ceb6814332
TT#76368 handle connection blocking on graphite writes
Change-Id: I261bb890fa7f403061f92c1300b69a3833282f09
6 years ago
Richard Fuchs
10ab85b3e5
TT#76368 remove some graphite functions from global namespace
Change-Id: Ic24778e9d04e015012e9d7cc873203d0dfbacaa6
6 years ago
Richard Fuchs
335e3d2416
TT#76368 clean up graphite writing functions
Change-Id: I8efebe57417a9d060c4d3dd402d014df5f0feda4
6 years ago
Richard Fuchs
6fa712d0d8
implement offer-timeout option
closes #526
Change-Id: I819e1ad567c93f922461caf15482c2c55a0143d1
8 years ago
Claudiu Boriga
74cecc09a6
Use statistics locks properly
8 years ago
Claudiu Boriga
8cc4b7874e
Add statistics for requests per second
8 years ago
Richard Fuchs
75056a8dd1
eliminate the callmaster struct
Change-Id: I9151dbe8f47b3bb9ab67d6fea2fc3783bdc558da
8 years ago
Richard Fuchs
f2b93f9ef8
move config options into global struct rtpengine_config
Change-Id: Ie566efb6a1b8bedbe33f768bc4cd979b2d2b46cc
8 years ago
Richard Fuchs
d65a6bbbdc
move latest_graphite_interval_start to global scope
Change-Id: I1eb5ea8d6faafe40383d3bb92517307e47ceca9a
8 years ago
Richard Fuchs
741140341f
move "totalstats" out of callmaster into global scope
Change-Id: Ia5b95e788c1d486a86b6f916dcff5b88022f5897
8 years ago
Richard Fuchs
c969ea1e57
move stats and statsps into global scope
Change-Id: I02d16e31f8980bd0ef3ff3a190b23dc61c087018
8 years ago
Richard Fuchs
dffbddb2d6
don't use g_ prefix for global variables
Change-Id: Ifd843b01d7fccf294f97fdf48308c71268e1b8ae
8 years ago
Richard Fuchs
399e15b39a
make the callhash global
Change-Id: Ifa1fbb5d1b1f623dbc6a1bfac556342735b40161
8 years ago
Claudiu Boriga
9f2286d7bb
fix bug that makes rtpengine crash when graphite server is down
replaced select with poll because when a large number of file
descriptors are open segfaults might happen
9 years ago
Richard Fuchs
e85759a3b8
fix some errors caught by coverity
Change-Id: I3f5bfc2df00ab9b031eef5a1c71b6ff3ba25e60c
9 years ago
Lucian Balaceanu
5732121794
Beautifying previous code
10 years ago
Lucian Balaceanu
e7f63dcf2a
Report own/foreign/total sessions to Graphite
10 years ago
Richard Fuchs
133e6304b3
MT#18599 support sending RTCP stats to Homer via HEP
Change-Id: Icaf28f28c910318726e446a1a2ad4c7ee5e79f85
10 years ago
Stefan Mititelu
57aa56616d
Add offer/answer/delete processing statistics
Add graphite offer/answer/delete min/max/avg statistics.
Print new graphite statistics in rtpengine-cli list totals.
10 years ago
Stefan Mititelu
9be68a0c2f
Add FINAL_TIMEOUT parameter
The timer that will limit the duration of a call.
Add graphite statistics for calls ended this way.
10 years ago
smititelu
b38f3da45c
Redis nofitications fixes
- add --subscribe_keyspace list config parameter.
- don't delete foreign calls by timers
- fix synchronization of foreign calls (use a separate redis_notify database)
- fix statistics for control channel calls.
- fix deletion of foreign calls upon del notifications
- update rtpengine-ctl tool
10 years ago
Frederic-Philippe Metz
e376335595
Removed graphite hostname and 'totals' in graphite names
10 years ago
Frederic-Philippe Metz
8b65c18b3d
Removed also the '.' of the graphite prefix
10 years ago
Frederic-Philippe Metz
354307e609
Removed graphite hostname and 'totals' in graphite names
10 years ago
smititelu
0395a24f73
Change the graphite connection state logic
Add state of the graphite server
10 years ago
smititelu
6378a1e177
Graphite change global to local parameters
Do sanity checks.
10 years ago
Richard Fuchs
6d3865b971
Mass update - manual merge of rfuchs/socket-rework branch
This brings master up to date with branch `rfuchs/socket-rework` at
commit `b1bcc096b7`. The branches have diverged too much for a proper
merge, so this is a manual (squashed) merge.
The old master before this merge can be found in branch
`old-master-before-socket-rework` (commit `82199216b2`).
This is a complete rewrite of all socket handling routines. The most
important functional change is that sockets aren't indiscriminately
bound to INADDR_ANY (or rather in6addr_any), but instead are always
bound to their respective local interface address and with the correct
address family.
Side effects of this are that in multi-homed environments, multiple
sockets must be opened (one per interface address and family) which must
be taken into account when considering RLIMIT_NOFILE values. As a
benefit, this change allows rtpengine to utilize the full UDP port space
per interface address, instead of just one port space per machine.
The socket abstraction also makes it possible to support RTP over TCP in
the future.
Change-Id: If6cf4f42136229490186d2d2482fb4fc140c2b53
10 years ago
Lucian Balaceanu
41fa252d6b
Replacing redis hashkeys with -CALLID_IDX instead of -POINTER
10 years ago
Richard Fuchs
1a67331b9a
fix compiler warnings
Change-Id: I88f4076c2f7dd044158ecb04a1fc716fb1334397
10 years ago
Lucian Balaceanu
482b004ef5
CLI output for Graphite statistics
10 years ago
Richard Fuchs
a934fb4568
fix compiler warning
10 years ago
Lucian Balaceanu
f864da77c5
Adding per graphite interval statistics: min/max concurrent calls, total call time per interval
10 years ago
Richard Fuchs
1e4d67a10d
fix for bf5a00fd1b
11 years ago
Pawel Kuzak
bf5a00fd1b
Modified average_dur format for graphite.
It does not really make sense to separate seconds and microseconds for
the statistics. Re-Commit of 6e7a287f54
which got lost somehow.
11 years ago